orchestration 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e616b4dfec44e2d9522c17c1266ab1c015ef785aae4e2769182fc15cd47f5ff8
4
- data.tar.gz: d56b80e6dd8a97d6c613a3b1a4ce759af8a8292e04a029ce6160c54a103b18af
3
+ metadata.gz: 2ff1c3b4c173fb4bdd92d38381a95fcf9888211de8ca845f2826e8c49a6516ec
4
+ data.tar.gz: 8ddc5990c8ff9b2cec9a746645bbc6173855557500d3832353b8cad0df02e434
5
5
  SHA512:
6
- metadata.gz: b2cab3f16aebc2c7a8041d37bffcc96bebbbe3ae03f216dcf0e4689d3f31291c4ba8ac9d8097e242a34810085f414ea3e7bd781d3d0221dc3b191a79ebb53bd5
7
- data.tar.gz: abaf1ff0f6591561075348f285280d160dad843fede4d354f4283d93ff1c2ae7df053550ed04cb66d118808a0903f920d9a9e17c98d6da6e85dfc6c1a67ec086
6
+ metadata.gz: 5b234ee03b47a92596b1d5669da20543e335f2c8b168dafeecbe09a5bfa06f744bce990b3bb1c729880449c4eeac26b536c2b21f39035f6a75ccc320254fde75
7
+ data.tar.gz: 747f587b8f1911a8ff5b0cbc3b3dd1e8e4a88c1bb2849016e93f1f65fc0e476bc2ffe3fd84250b9584dfe3f763a1356ade4bf98c26a72042131fbb70abee8118
data/README.md CHANGED
@@ -11,7 +11,7 @@ _Orchestration_ is a toolkit for testing, building, and deploying _Ruby_ (includ
11
11
  Add _Orchestration_ to your Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'orchestration', '~> 0.3.10'
14
+ gem 'orchestration', '~> 0.3.11'
15
15
  ```
16
16
 
17
17
  Install:
@@ -34,6 +34,7 @@ module Orchestration
34
34
  @settings = merged_settings
35
35
  return if @adapter.name == 'sqlite3'
36
36
  return unless %w[test development].include?(@env.environment)
37
+ return if @settings.key?('port')
37
38
 
38
39
  @settings.merge!('port' => local_port) if @env.docker_compose_config?
39
40
  end
@@ -77,6 +78,7 @@ module Orchestration
77
78
 
78
79
  def host
79
80
  return nil if @adapter && @adapter.name == 'sqlite3'
81
+ return url_config['host'] if url_config['host']
80
82
  return environment['host'] if environment.key?('host')
81
83
 
82
84
  super
@@ -43,6 +43,7 @@ start:
43
43
  @echo "Starting containers..."
44
44
  ifeq (${env},$(filter ${env},test development))
45
45
  @${compose} up -d
46
+ @docker network connect $${hostname} || :
46
47
  else
47
48
  @${compose} up -d --scale app=$${instances:-1}
48
49
  endif
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.3.10'
4
+ VERSION = '0.3.11'
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.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell