orchestration 0.5.5 → 0.5.6

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: e312ede29eb601b4e9413df1b711881997f81629b6f208c0ea7e62102d4a6b44
4
- data.tar.gz: 4483fd3532b1bf27bb9a6b76e38c996a02f046164ed23ce85d5df5720e933ff3
3
+ metadata.gz: de4a4ad1a3d892e6177e6a4397ed5daafbc2ea14d2183600a39103624b40f5c6
4
+ data.tar.gz: 38c8b982edd2468d9fc034eedaf841b7074d5775483aa5d5761ee58eef646ac7
5
5
  SHA512:
6
- metadata.gz: 6539ea72eabd6683691749179cb4bd08c9f9e3f334ced7348236058a2926a6e25f6a09176c47efb1f40a0b22f57f96c9d1fb9ba4274c25036a4cd03e3d3f6ead
7
- data.tar.gz: caed0598c1dc565457e0437943a0c031b78c3bef1ab99d5ae313368af6a4e0a84e7451bc46560e454457a5fa5c8e83c5ff6019fc114c3fd22e0a0dfac00d9c61
6
+ metadata.gz: e5054562d388aec2a51995729db9b5e291ebfddbc490e2d030e5f9de5a6a4642bcf97cfa274d20ec77289f8a350c467872a8046f69adcf11728962192b95e2ef
7
+ data.tar.gz: 7142310c047fdef7c19b210a0a4139cfdd751e6a2f23584135bf01adabb23cacf4f1d53daa8021ad52c803a16ea8453c5f383b8236870feaf758d5b8dda00827
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.5'
30
+ gem 'orchestration', '~> 0.5.6'
31
31
  ```
32
32
 
33
33
  Install:
@@ -18,11 +18,9 @@ module Orchestration
18
18
  def run
19
19
  return unless @service.configuration.configured?
20
20
 
21
- @service.modify_environment
22
21
  echo_start
23
22
  success = attempt_connection
24
23
  echo_ready if success
25
- @service.unmodify_environment
26
24
  success
27
25
  end
28
26
 
@@ -19,18 +19,6 @@ module Orchestration
19
19
  [ActiveRecord::ConnectionNotEstablished].concat(adapter_errors)
20
20
  end
21
21
 
22
- def modify_environment
23
- @database_url = ENV.delete('DATABASE_URL')
24
- @development_database_url = ENV.delete('DEVELOPMENT_DATABASE_URL')
25
- @test_database_url = ENV.delete('TEST_DATABASE_URL')
26
- end
27
-
28
- def unmodify_environment
29
- ENV['DATABASE_URL'] = @database_url
30
- ENV['DEVELOPMENT_DATABASE_URL'] = @development_database_url
31
- ENV['TEST_DATABASE_URL'] = @test_database_url
32
- end
33
-
34
22
  private
35
23
 
36
24
  def adapter_errors
@@ -26,10 +26,6 @@ module Orchestration
26
26
  @dependencies = args
27
27
  end
28
28
 
29
- def modify_environment; end
30
-
31
- def unmodify_environment; end
32
-
33
29
  private
34
30
 
35
31
  def load_dependencies
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.5.5'
4
+ VERSION = '0.5.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-04 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_url