story_branch 0.2.10 → 0.2.11
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 +4 -4
- data/lib/story_branch.rb +4 -2
- 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: 87dd3ed376746ad1ef5041b8163ca121b6c0e465
|
|
4
|
+
data.tar.gz: 76a8b44ef9a1d240c39f84c0a6f7ce8cbca7b561
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a20f1ef3bb406a75c1c590765ce45802a9ce29adec86366132fcd69e29950c77110f1b762126c8fbca98751a201fad549535ceb5acfcef8e776490148e799b0d
|
|
7
|
+
data.tar.gz: 0af67bc5bc79e81e16b206ef799b643181aaea897797cf2e93bd96b097bfb3392c586f692f37789b8469c591a1762f3cfe73aa480338801a3d84b35cf88e25e0
|
data/lib/story_branch.rb
CHANGED
|
@@ -203,8 +203,10 @@ module StoryBranch
|
|
|
203
203
|
|
|
204
204
|
def config_value key, env
|
|
205
205
|
PIVOTAL_CONFIG_FILES.each do |config_file|
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
if File.exists? config_file
|
|
207
|
+
pivotal_info = YAML.load_file config_file
|
|
208
|
+
return pivotal_info[key] if pivotal_info[key]
|
|
209
|
+
end
|
|
208
210
|
end
|
|
209
211
|
value ||= env_required env
|
|
210
212
|
value
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: story_branch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Milkins
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2016-03
|
|
15
|
+
date: 2016-04-03 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: blanket_wrapper
|