orchestration 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a68a281672878086f5ebc086998c3e37aba04dabaff40b6d677144e59ee6ca4a
4
- data.tar.gz: f601425345ad35f9b0e5478e62901fbddf91261b3f2f36071d07e365664ec794
3
+ metadata.gz: 5509fae5c79bb804de588e7e15e254c0b460cc35acca4495e9d76006d4f8ba26
4
+ data.tar.gz: 7dd08a1cd7ccc2a9153062105330f59db5cf669f4c15dfa98cbfb13c438410d5
5
5
  SHA512:
6
- metadata.gz: f33f122d8098d2eae2157e94e6c65b2b548d752d1339ab1f83170913264e09b01b2db8e835b5fbee8c48a1cad346622ca4875d0d253f5f0d946801164288a8f2
7
- data.tar.gz: a34869f47a254f369ca41d487bc13186e367f4671c22d02d503f0a1b8f86557ce26faa712c7dff9db5f44ff7ab01cadbbc579b04670366fc17b986d8f2458d5f
6
+ metadata.gz: 1e89b322c9462c740d6300c1b37d66f4e50b9501f5b570b5d9e369e5b72a031014e728c547891783f181fa15b46846c0a0241ad43a87f5ecdf7cc0acea8b383d
7
+ data.tar.gz: 3d3846f9d09263614f950a4f1eb1d47b3c52b19ccce2e0522c198b693f352935e26116446307aeea1354c268e32bc7cd82049317961b10053adbc62b587c99b5
data/README.md CHANGED
@@ -27,7 +27,7 @@ The below screenshot demonstrates _Orchestration_ being installed in a brand new
27
27
  Add _Orchestration_ to your Gemfile:
28
28
 
29
29
  ```ruby
30
- gem 'orchestration', '~> 0.5.8'
30
+ gem 'orchestration', '~> 0.5.9'
31
31
  ```
32
32
 
33
33
  Install:
@@ -62,6 +62,7 @@ module Orchestration
62
62
  .fetch(service)
63
63
  .new(config, @environment)
64
64
  .definition
65
+ &.merge('networks' => { 'local' => {} })
65
66
  end
66
67
  end
67
68
  end
@@ -42,7 +42,7 @@ module Orchestration
42
42
  'version' => compose_config(environment).version,
43
43
  'services' => services(environment),
44
44
  'volumes' => volumes(environment),
45
- 'networks' => networks(environment)
45
+ 'networks' => compose_config(environment).networks
46
46
  }
47
47
  end
48
48
 
@@ -56,12 +56,6 @@ module Orchestration
56
56
  compose_config(environment).volumes
57
57
  end
58
58
 
59
- def networks(environment)
60
- return {} unless environment == :production
61
-
62
- compose_config(environment).networks
63
- end
64
-
65
59
  def compose_config(environment)
66
60
  DockerCompose::Configuration.new(
67
61
  @env,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.5.8'
4
+ VERSION = '0.5.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell