Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-waleed shihadeh committed Jul 21, 2019
1 parent d83867f commit 105855b
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 19 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ set :mysql,
{application}_docker_image: Docker image name
{application}_docker_image_tag: Docker image tag.



## Application Seeds

- Define your application seeds
Expand Down
1 change: 0 additions & 1 deletion lib/swarm_orca/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def execute
capistrano/Capfile
nginx/Dockerfile
nginx/nginx.conf
nginx/htpasswd
redis/Dockerfile
redis/redis.conf
capistrano/config/deploy/template_stage.rb
Expand Down
4 changes: 2 additions & 2 deletions lib/swarm_orca/orca_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class OrcaCli < Thor

def new(orca_directory_name, git_fork, docker_network)
New.new(root_dir: Dir.pwd,
orca_directory_name: orca_directory_name,
orca_dir_name: orca_directory_name,
git_fork: git_fork,
docker_network: docker_network).execute
network: docker_network).execute
end

desc 'gen_enc_key', 'This Command will generate new encryption key'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -19,4 +19,4 @@ services:
deploy:
replicas: 1
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -13,7 +13,7 @@ services:
deploy:
replicas: 1
networks:
- <%= NETWORK %>
- <%%= NETWORK %>

errbit_web:
image: ${ERRBIT_DOCKER_IMAGE}:${ERRBIT_DOCKER_IMAGE_TAG}
Expand All @@ -40,4 +40,4 @@ services:
test: "curl --fail http://localhost:8080/users/sign_in || exit 1"
interval: 5s
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -14,4 +14,4 @@ services:
- MYSQL_ROOT_PASSWORD=dummy
deploy:
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -19,4 +19,4 @@ services:
parallelism: 1
delay: 3s
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -16,4 +16,4 @@ services:
deploy:
replicas: 1
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'

networks:
<%= NETWORK %>:
<%%= NETWORK %>:
external: true

services:
Expand All @@ -16,4 +16,4 @@ services:
deploy:
replicas: 1
networks:
- <%= NETWORK %>
- <%%= NETWORK %>
2 changes: 1 addition & 1 deletion lib/swarm_orca/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module SwarmOrca
VERSION = '0.1.0'
VERSION = '0.1.1'
end

0 comments on commit 105855b

Please sign in to comment.