cnf 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cnf.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d275c2be28059a3601bd3b7c633d62b91fce62b
|
4
|
+
data.tar.gz: ab62c4e65af21b2a76079d774504031235e15e4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c0ee3450f10345ae9067a61e1f23215327d06a541cf0f890b906bbf1d08983a8c9c36a54afe4d7c885b721053d8361a68cb25b1d6904b0f35ab250df3015e1
|
7
|
+
data.tar.gz: '058e30d2bce3d3eb301df2590e5d458aa3e0691ca72aa8c672269773b93e74491a721329380a63fed9c664f1715f9ce0e4855bb47d2e16c66389c9ea65faf8e0'
|
data/lib/cnf.rb
CHANGED
@@ -14,9 +14,12 @@ module Cnf
|
|
14
14
|
end
|
15
15
|
alias_method :all, :fetch_data
|
16
16
|
|
17
|
+
def parsed_fetched_data
|
18
|
+
@parsed_fetched_data ||= RecursiveOpenStruct.new(fetch_data, recurse_over_arrays: true)
|
19
|
+
end
|
20
|
+
|
17
21
|
def method_missing(m, *args, &block)
|
18
|
-
|
19
|
-
data.send(m)
|
22
|
+
parsed_fetched_data.send(m)
|
20
23
|
end
|
21
24
|
|
22
25
|
def markups
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacek Jakubik
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-
|
14
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: excon
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.5.
|
129
|
+
rubygems_version: 2.5.2
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Fetches stack configuration
|