attributor-flatpack 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfa95aba88b552db938fedcd58bc656ca87645d5
4
- data.tar.gz: 3cb60abcd8018d7c735594e6c601a7f216c612c3
3
+ metadata.gz: 4da3d2d76d0c3e0d7404e2c682fd9ae17ab4865b
4
+ data.tar.gz: 75e65dc5638d3a01053b40ba50c310c995c0149a
5
5
  SHA512:
6
- metadata.gz: 610af5bba5249851351a9630395f28402dbf166d149307765998edd30e5cca0f7213614b3e08c5cd74474de7cb3fb95d63da6bd7a7a93dab2502586f71aaa8f8
7
- data.tar.gz: b1787f66e0ddace0d2786b9164fd00fded495faff70eaa1565c5ddf294d6342ff5906a8586b16efb71980a8b9b98b5b0c2b6aaacdced1db152fbc2d054aa5151
6
+ metadata.gz: 125fe14b5ce534c5864e0907d4c3f7b30058341cb2445883abeb72d059708783027dc4ae16bce96e3c3ec2f62d363ef7b7314c7995f91a6c8fe4a9bdd4a74bdc
7
+ data.tar.gz: 172b676460ca771e621f6c68672e8223cf8da6df0cf5be08b2578731b78dfddbcb5dd7b9f97d0ebd12ab5696a558345c1802952d607ae7738ea8546ea24d0b2b
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.3
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
- _found_key, found_value = @raw.find do |(k, _v)|
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 found_value
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
@@ -1,5 +1,5 @@
1
1
  module Attributor
2
2
  module Flatpack
3
- VERSION = '1.2.3'.freeze
3
+ VERSION = '1.2.4'.freeze
4
4
  end
5
5
  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.3
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-10-22 00:00:00.000000000 Z
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