attributor-flatpack 1.2.3 → 1.2.4
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/.ruby-version +1 -1
- data/lib/attributor/flatpack/config.rb +8 -2
- data/lib/attributor/flatpack/version.rb +1 -1
- 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: 4da3d2d76d0c3e0d7404e2c682fd9ae17ab4865b
|
4
|
+
data.tar.gz: 75e65dc5638d3a01053b40ba50c310c995c0149a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 125fe14b5ce534c5864e0907d4c3f7b30058341cb2445883abeb72d059708783027dc4ae16bce96e3c3ec2f62d363ef7b7314c7995f91a6c8fe4a9bdd4a74bdc
|
7
|
+
data.tar.gz: 172b676460ca771e621f6c68672e8223cf8da6df0cf5be08b2578731b78dfddbcb5dd7b9f97d0ebd12ab5696a558345c1802952d607ae7738ea8546ea24d0b2b
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.5
|
@@ -108,11 +108,11 @@ module Attributor
|
|
108
108
|
def fetch(key)
|
109
109
|
return @raw[key] if @raw.key?(key)
|
110
110
|
|
111
|
-
|
111
|
+
found_key, found_value = @raw.find do |(k, _v)|
|
112
112
|
k.to_s.casecmp(key.to_s).zero?
|
113
113
|
end
|
114
114
|
|
115
|
-
return found_value if
|
115
|
+
return found_value if found_key
|
116
116
|
|
117
117
|
yield if block_given?
|
118
118
|
end
|
@@ -176,6 +176,12 @@ module Attributor
|
|
176
176
|
end
|
177
177
|
end.flatten
|
178
178
|
end
|
179
|
+
|
180
|
+
def dump(**opts)
|
181
|
+
# quick hack to ensure we load all the values into @contents
|
182
|
+
self.validate
|
183
|
+
super
|
184
|
+
end
|
179
185
|
end
|
180
186
|
end
|
181
187
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attributor-flatpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dane Jensen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attributor
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: '0'
|
244
244
|
requirements: []
|
245
245
|
rubyforge_project:
|
246
|
-
rubygems_version: 2.6.14
|
246
|
+
rubygems_version: 2.6.14.3
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Attributor type for loading configuration data
|