rb-konfig 0.1.3 → 0.1.4
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/README.md +0 -1
- data/lib/konfig/directory_provider.rb +0 -1
- data/lib/konfig/utils.rb +0 -1
- data/lib/konfig/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e89ed135a36c5a070a8e02df06a30aea4f3dc3e24582b276a634a485968b30da
|
4
|
+
data.tar.gz: c2a805cc1c9265ed33200ef6f2e0f31fd087db940125d83569c095886d865bc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d1ea060492c8066e02671471b8bd6075601dfe99aa04a25b14eda9c4b7356d8ab88eda3bd8481b345f5ac6592c4b7e73f36cdf658ab7fa60ba8b849775f5fb
|
7
|
+
data.tar.gz: 40a42dad3ab16867caf1bd1f85d3ff86620710c64b3e76e864d68c777c1dada0d29b4879b12ae0fa74f23cd5b721837ba60af7df6d2d50de0689a1a3c1b211e3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/konfig/utils.rb
CHANGED
@@ -10,7 +10,6 @@ module Konfig
|
|
10
10
|
lambda { |value| Integer(value) rescue NIL_VALUE }, # integer
|
11
11
|
lambda { |value| Float(value) rescue NIL_VALUE }, # float
|
12
12
|
lambda { |value| (["true", "false"].include?(value)) ? (value == "true") : NIL_VALUE }, # boolean
|
13
|
-
lambda { |value| DateTime.iso8601(value) rescue NIL_VALUE }, # date time
|
14
13
|
lambda { |value| (value == Konfig.configuration.nil_word && Konfig.configuration.allow_nil) ? nil : NIL_VALUE }, # nil value
|
15
14
|
lambda do |value|
|
16
15
|
result = JSON.parse(value, { symbolize_names: true })
|
data/lib/konfig/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb-konfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Khash Sajadi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|