simple_features 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_features/features.rb +2 -2
- data/lib/simple_features/version.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: 9bca0036204ceb2a504f5a0c067eb38288ee754f
|
4
|
+
data.tar.gz: 00232eeeffb85cd3c0ac203fcd297aeb6bf0936a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f6a95298bfccc4584352a2287c2731ecb9dbece3713538ba3ff0fe4fecf98944cf9e70c176356c082344e9bb2351b49066b17d9203c33899cfc8eefd44cdf5
|
7
|
+
data.tar.gz: ad8c8b5e8ff4a96c2360dcb632db45431e7d6f44b8d1dc5fcd7cc13fbff689ae1d1df8cf4c3eaac3e3514afe327af8b1c45d7ded30838cd17ebd6df9ad886ab5
|
@@ -12,7 +12,7 @@ module SimpleFeatures
|
|
12
12
|
#returns Feature object
|
13
13
|
def self.load_config(config_file = nil)
|
14
14
|
if defined? 'Rails'
|
15
|
-
features = YAML.load_file(Rails.root.join('config', '
|
15
|
+
features = YAML.load_file(Rails.root.join('config', 'simple_features.yml'))[environment]
|
16
16
|
else
|
17
17
|
features = YAML.load_file(config_file)
|
18
18
|
end
|
@@ -52,4 +52,4 @@ module SimpleFeatures
|
|
52
52
|
['true', 'false'].include? value
|
53
53
|
end
|
54
54
|
end
|
55
|
-
end
|
55
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_features
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Freibuis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|