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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/consult/version.rb +1 -1
- data/lib/consult.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 614875922bc42337f48b9c42f3e54eaa7c823e5a
|
4
|
+
data.tar.gz: a1997b5aef4a7db4971cc1d6b7253a209e244895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/consult/version.rb
CHANGED
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.
|
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.
|
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-
|
11
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|