orchestration 0.4.9 → 0.4.10

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: 512e1996cb5b673af217cfa7442d7e8e52053de71c86f39babe43986227377a3
4
- data.tar.gz: cdd316060790c5ab246f33710673417f5bec82fed16d1ea6a88f2232a3283021
3
+ metadata.gz: 23e3a1c23b6511daf4d79650fb8cbae39b697f7f70ae9924ac69c69cc58f5f39
4
+ data.tar.gz: b41de78b238b8663070651b20e36f40c8d430a89c5173ce28042c434ddcf6898
5
5
  SHA512:
6
- metadata.gz: 51e4fc3b1e5931f0089502f71d27c21d3801ee802c23c86e9e8876fd129f838f6f39fa0fd868c05ae22d682132265b16b99023f9ba7b38381ee512c8c5ac1dbc
7
- data.tar.gz: 3ff522982f74050813537a629aafd15b1dbc45783d47b5ecb44dc17774e856646512d5c9a79fef881b8888e07ffe2987c38b138513804c2c1d953e0d2f291d81
6
+ metadata.gz: 5facd62ea505866177a36e837e93244e3314909b71091f6bca63aed73d37f8bb1b7f4837ee7824bad659da660cb5ec862750ff84550769025a868f35bf2fd338
7
+ data.tar.gz: e8da0ea3bd75f817735e67604299ee93058bc7900f37bceb17b2f25b9228cd5e77c8a5503239ad6105bbf8dc097341ecef086448e16e5ba36975ea461116f875
data/README.md CHANGED
@@ -35,7 +35,7 @@ The below screenshot demonstrates _Orchestration_ being installed in a brand new
35
35
  Add _Orchestration_ to your Gemfile:
36
36
 
37
37
  ```ruby
38
- gem 'orchestration', '~> 0.4.9'
38
+ gem 'orchestration', '~> 0.4.10'
39
39
  ```
40
40
 
41
41
  Install:
@@ -64,9 +64,10 @@ module Orchestration
64
64
  end
65
65
 
66
66
  def url_config
67
- return {} if env.database_url.nil?
67
+ url = file_config['url'] || env.database_url
68
+ return {} if url.nil?
68
69
 
69
- config = DatabaseUrl.to_active_record_hash(env.database_url)
70
+ config = DatabaseUrl.to_active_record_hash(url)
70
71
  &.transform_keys(&:to_s)
71
72
 
72
73
  # A quirk of DatabaseUrl is that if no "/path" is present then the
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.4.9'
4
+ VERSION = '0.4.10'
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.4.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-02 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_url