hash_kit 0.4.2 → 0.4.3
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/lib/hash_kit/helper.rb +1 -1
- data/lib/hash_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94533207bd8740cc887bf22529955cfd1b543e5d
|
|
4
|
+
data.tar.gz: ea7f6730405555bd5407057d50341d470379614e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4043b7b5d7a0fc7d2717248c231541d8dbcc8786ac91716e60326661934e47eff6c935257eb61b77ba45c3250b67df0d39f54a046376e20218e593404447694d
|
|
7
|
+
data.tar.gz: 3c84f60541976da77e9b5ad1543601e5885b0b89abe75169bf4a988780612db2578c42252915123d2fa0a7a55ab4c3c5313ba45ec977a8b87f2b9b0b7bf5a7d0
|
data/lib/hash_kit/helper.rb
CHANGED
|
@@ -73,7 +73,7 @@ module HashKit
|
|
|
73
73
|
return convert_hash_values(val)
|
|
74
74
|
elsif val.is_a?(Array)
|
|
75
75
|
return convert_array_values(val)
|
|
76
|
-
elsif [String, Fixnum, Numeric, Date, DateTime, Time, Integer].include?(val.class)
|
|
76
|
+
elsif [String, Fixnum, Numeric, Date, DateTime, Time, Integer, TrueClass, FalseClass].include?(val.class)
|
|
77
77
|
val
|
|
78
78
|
else
|
|
79
79
|
return to_hash(val)
|
data/lib/hash_kit/version.rb
CHANGED