consult 0.7.1 → 0.7.2

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
  SHA1:
3
- metadata.gz: 1e1427b4b6792bfd9723be2d22edacda36e0349e
4
- data.tar.gz: a993feb5698c03865b75ce377ea0c8222d256672
3
+ metadata.gz: 614875922bc42337f48b9c42f3e54eaa7c823e5a
4
+ data.tar.gz: a1997b5aef4a7db4971cc1d6b7253a209e244895
5
5
  SHA512:
6
- metadata.gz: b9e9b8cef692b5713baaa1cbd0267c00041ac17e2499c3a5b217d816abdb869ff14e05f36ad218c10ca23cb6cf28ab66c0a33244ab095a976591262e8de777d4
7
- data.tar.gz: 5488c26112399997e8818345aad315a711b5cd09759bbbeaba2e076846bae36a0795def1af07293c4e6616a15a501e5023e3494713f346158e1439c490186362
6
+ metadata.gz: 9ffcf05fbf45881e90aa6c0364ee592f4b3adc0478140d455a1f078b972721d0162b892595eedf632e040e6ec8aef429780452d3ac397d8715824ea70cad5a9f
7
+ data.tar.gz: 01ac13460ee4da8ad8da1e083f8db34edf0841ffdc5f4ea34f77d3efe0b9681cdbd62f1bd5720f06b603e2f897c6102ac858a7b11c9bf9cdc90f4e9d9a5af140
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ #### 0.7.2
2
+
3
+ * fix reading Rails.env
4
+
5
+ #### 0.7.1
6
+
7
+ * redeploy while diagnosing gem installation problem
8
+
1
9
  #### 0.7.0
2
10
 
3
11
  * consult.yml configuration structure has changed, to enable environment specific configuration blocks (see readme for example)
@@ -1,3 +1,3 @@
1
1
  module Consult
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
data/lib/consult.rb CHANGED
@@ -65,7 +65,7 @@ module Consult
65
65
  end
66
66
 
67
67
  def env
68
- @all_config[:env] || ENV['RAILS_ENV'] || (defined?(::Rails) && ::Rails.root)
68
+ @all_config[:env] || ENV['RAILS_ENV'] || (defined?(::Rails) && ::Rails.env)
69
69
  end
70
70
 
71
71
  # Return only the templates that are relevant for the current environment
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consult
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Fraser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-13 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport