decanter 4.0.0 → 4.0.1
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/decanter/parser/boolean_parser.rb +1 -1
- data/lib/decanter/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: 2a55957ce81334f115e619cd8e91ac413f40a79cf9e97eafebdd7ab3ac2d509a
|
4
|
+
data.tar.gz: 5521342e2df4c17bdcaabf85857242a9e6325015c95277f08ae86f9cf03bb480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70428d492aec632b0dac3d69892a202226d014c2ad35f301726d6181002d86e2d45723faf9d43cfd12690fbec6bed8b9e8577a2e0c4fe432fe1dddd3ce18020a
|
7
|
+
data.tar.gz: 7dbd303fd548964ed61e48ddd27cb8b9f3578eb3abc87beef83bae231917c613c9619e92e2085c962821651daf57e47e3c7dfef39f60c7519204546a0fbc25ff
|
data/Gemfile.lock
CHANGED
@@ -7,7 +7,7 @@ module Decanter
|
|
7
7
|
parser do |val, options|
|
8
8
|
raise Decanter::ParseError.new 'Expects a single value' if val.is_a? Array
|
9
9
|
next if (val.nil? || val === '')
|
10
|
-
[1, '1'].include?(val) ||
|
10
|
+
[1, '1'].include?(val) || !!/^true$/i.match?(val.to_s)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/lib/decanter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decanter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Francis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|