escape_escape_escape 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/escape_escape_escape.rb +1 -1
- data/specs/as_ruby/0051-json_encode.rb +5 -0
- 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: b3f2670b659a6e2db5264b09fa0867aebb759c87
|
4
|
+
data.tar.gz: 7e6dcb8be999b12eca501b4a11ed9b07190cc7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc29c74e9cbc84fd4d6675c254ddbc5cd1eb4a007d2c428670e504fa58235609879632ee6a4ca0b4646cda5ff18b846131dbeb52b900975ecdee5612710a3a3
|
7
|
+
data.tar.gz: 9beb6a73c47e598a09eeb421055ae31891a70588734ec9cf9a13723a28ca6b3d8a5743365e22f3e536ea15d65abfe878f49046f05152f0476cf82a0fc3e31fe8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.1
|
data/lib/escape_escape_escape.rb
CHANGED
@@ -327,7 +327,7 @@ class Escape_Escape_Escape
|
|
327
327
|
o.map { |v| clean_for_json v }
|
328
328
|
when Symbol
|
329
329
|
o.to_s
|
330
|
-
when String, Numeric, NilClass
|
330
|
+
when String, Numeric, NilClass, TrueClass, FalseClass
|
331
331
|
o
|
332
332
|
else
|
333
333
|
fail ArgumentError, "Unknown Class for json: #{o.inspect}"
|