fedux_org-stdlib 0.10.8 → 0.10.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fedux_org_stdlib/app_config.rb +6 -2
- data/lib/fedux_org_stdlib/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: c44cab08056c229bf8535d4994846ca07d7a0362
|
4
|
+
data.tar.gz: ab0ec728021b15f9618ab70d536626699e0fe75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4af40e686018d96dae9d10b4bb05a3d83faed1a69246d517c06a82d752977b363fb8b191221bb2540f03d5a3defbf881cc9875853425034e5f1ae1b718199af
|
7
|
+
data.tar.gz: b6a748aa6768e39770996a2f1843add05cab929a48f0f4db2628df1c22bbaeefdef5d8bb6bdcfb27a9ae34bd6591e09a46003187d39574602cb878615781530c
|
data/Gemfile.lock
CHANGED
@@ -277,9 +277,13 @@ module FeduxOrgStdlib
|
|
277
277
|
end
|
278
278
|
|
279
279
|
def to_h(keys: [], remove_blank: false)
|
280
|
-
|
280
|
+
options_to_return = if keys.blank?
|
281
|
+
known_options.to_a
|
282
|
+
else
|
283
|
+
known_options.to_a & keys.map(&:to_sym)
|
284
|
+
end
|
281
285
|
|
282
|
-
|
286
|
+
options_to_return.sort.each_with_object({}) do |e, a|
|
283
287
|
next if remove_blank && public_send(e).blank?
|
284
288
|
a[e] = public_send(e)
|
285
289
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fedux_org-stdlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Meyer
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.
|
256
|
+
rubygems_version: 2.2.2
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: Collection of useful libraries. It maybe depend on external libraries.
|