jsog 1.0.0 → 1.0.1
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 +7 -0
- data/lib/jsog.rb +3 -3
- metadata +8 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 17816432cb643302d1e89cd773a9dd8863f5c941
|
4
|
+
data.tar.gz: a060cf40f0223ed97aa3df72c4cf253191e1b8b0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0e58ca0f2f24aab14ea21b75f99eb8aa137aaa6983d8b07dbfa6f4ee86fcea4fd0584431cf06441864ee1c1b9e11b68801900505a0da237a2844c09ab976c459
|
7
|
+
data.tar.gz: 5b1353dfd08bd2e3f5c38c0851617a41fc9dfc68de5f1d732ea19e8418a1151110cba62b481e566192415962985388fd0fe4dd5a0fe11c16ee16bc0369d68dd0
|
data/lib/jsog.rb
CHANGED
@@ -62,7 +62,7 @@ class JSOG
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def encode_array(original, sofar)
|
65
|
-
return original.map { |val|
|
65
|
+
return original.map { |val| do_encode(val, sofar) }
|
66
66
|
end
|
67
67
|
|
68
68
|
#
|
@@ -94,8 +94,8 @@ class JSOG
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def decode_array(encoded, found)
|
97
|
-
return encoded.map { |value|
|
97
|
+
return encoded.map { |value| do_decode(value, found) }
|
98
98
|
end
|
99
99
|
|
100
100
|
end
|
101
|
-
end
|
101
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jeff Schnitzer
|
@@ -19,27 +18,27 @@ extra_rdoc_files: []
|
|
19
18
|
files:
|
20
19
|
- lib/jsog.rb
|
21
20
|
homepage: https://github.com/stickfigure/jsog-ruby
|
22
|
-
licenses:
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
23
24
|
post_install_message:
|
24
25
|
rdoc_options: []
|
25
26
|
require_paths:
|
26
27
|
- lib
|
27
28
|
required_ruby_version: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
34
|
requirements:
|
36
|
-
- -
|
35
|
+
- - ">="
|
37
36
|
- !ruby/object:Gem::Version
|
38
37
|
version: '0'
|
39
38
|
requirements: []
|
40
39
|
rubyforge_project:
|
41
|
-
rubygems_version:
|
40
|
+
rubygems_version: 2.4.5.1
|
42
41
|
signing_key:
|
43
|
-
specification_version:
|
42
|
+
specification_version: 4
|
44
43
|
summary: JSOG serializer and deserializer
|
45
44
|
test_files: []
|