transit-ruby 0.8.602 → 0.8.606
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.yardopts +0 -2
- data/README.md +3 -7
- data/lib/transit/read_handlers.rb +1 -1
- data/spec/transit/round_trip_spec.rb +1 -1
- metadata +7 -59
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 825a0e64521643297d8bc41c52c333c516908eff2a2913c986a8bd03324deb0b
|
4
|
+
data.tar.gz: c152f2f11a9097ca77dc727457d16d5fddd053532fcefff6d27ab6f2fdff5122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37b421208dd768de9d7a8dfffac8b99daa94b6336aae075b5be6ed67b4939154ded63dabdd17cfaf4e7755ce51196cae50e5de19209afbd4db17b6a58085b56a
|
7
|
+
data.tar.gz: 3b121eed1697402f960a56861e1585065fba8a4d4313e7ca92dbfc66c4c6e322d24d3df19407fa8aa9413afd6b5558c9942d4e1125e5c4565dbbafba07786064
|
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -12,11 +12,7 @@ library provides support for marshalling Transit data to/from Ruby.
|
|
12
12
|
This implementation's major.minor version number corresponds to the
|
13
13
|
version of the Transit specification it supports.
|
14
14
|
|
15
|
-
_NOTE: Transit is a
|
16
|
-
As a result, while Transit is a great option for transferring data
|
17
|
-
between applications, it should not yet be used for storing data
|
18
|
-
durably over time. This recommendation will change when the
|
19
|
-
specification is complete._
|
15
|
+
_NOTE: Transit is intended primarily as a wire protocol for transferring data between applications. If storing Transit data durably, readers and writers are expected to use the same version of Transit and you are responsible for migrating/transforming/re-storing that data when and if the transit format changes._
|
20
16
|
|
21
17
|
## Contributing
|
22
18
|
|
@@ -37,7 +33,7 @@ gem install transit-ruby
|
|
37
33
|
```ruby
|
38
34
|
# io can be any Ruby IO
|
39
35
|
|
40
|
-
writer = Transit::Writer.new(:json, io) # or :
|
36
|
+
writer = Transit::Writer.new(:json, io) # or :json_verbose, :msgpack
|
41
37
|
writer.write(value)
|
42
38
|
|
43
39
|
reader = Transit::Reader.new(:json, io) # or :msgpack
|
@@ -130,7 +126,7 @@ for more info.
|
|
130
126
|
|decimal|Float|Float|123.456|123.456|
|
131
127
|
|keyword|Symbol|Symbol|:abc|:abc|
|
132
128
|
|symbol|Transit::Symbol|Transit::Symbol|Transit::Symbol.new("foo")|`#<Transit::Symbol "foo">`|
|
133
|
-
|big decimal|BigDecimal|BigDecimal|BigDecimal
|
129
|
+
|big decimal|BigDecimal|BigDecimal|BigDecimal("2**64")|`#<BigDecimal:7f9e6d33c558>`|
|
134
130
|
|big integer|Integer|Integer|2**128|340282366920938463463374607431768211456|
|
135
131
|
|time|DateTime, Date, Time|DateTime|DateTime.now|`#<DateTime: 2014-07-15T15:52:27+00:00 ((2456854j,57147s,23000000n),+0s,2299161j)>`|
|
136
132
|
|uri|Addressable::URI, URI|Addressable::URI|Addressable::URI.parse("http://example.com")|`#<Addressable::URI:0x3fc0e20390d4 URI:http://example.com>`|
|
@@ -110,7 +110,7 @@ module Transit
|
|
110
110
|
round_trips("NaN", Float::NAN, type)
|
111
111
|
round_trips("Infinity", Float::INFINITY, type)
|
112
112
|
round_trips("-Infinity", -Float::INFINITY, type)
|
113
|
-
round_trips("a bigdec", BigDecimal
|
113
|
+
round_trips("a bigdec", BigDecimal("123.45"), type)
|
114
114
|
round_trips("an instant (DateTime local)", DateTime.new(2014,1,2,3,4,5, "-5"), type,
|
115
115
|
:expected => DateTime.new(2014,1,2, (3+5) ,4,5, "+00:00"))
|
116
116
|
round_trips("an instant (DateTime gmt)", DateTime.new(2014,1,2,3,4,5), type)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transit-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.606
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russ Olsen
|
@@ -9,30 +9,8 @@ authors:
|
|
9
9
|
- Yoko Harada
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
|
-
cert_chain:
|
13
|
-
-
|
14
|
-
-----BEGIN CERTIFICATE-----
|
15
|
-
MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMRAwDgYDVQQDDAdhbnli
|
16
|
-
b2R5MRkwFwYKCZImiZPyLGQBGRYJY29nbml0ZWN0MRMwEQYKCZImiZPyLGQBGRYD
|
17
|
-
Y29tMB4XDTE2MTEwNDE0Mjk1NloXDTE3MTEwNDE0Mjk1NlowQjEQMA4GA1UEAwwH
|
18
|
-
YW55Ym9keTEZMBcGCgmSJomT8ixkARkWCWNvZ25pdGVjdDETMBEGCgmSJomT8ixk
|
19
|
-
ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALGCPh24AveN
|
20
|
-
ZpeG2FnBrz/kVv+xhtQf4fUTQmJFwSC+3HLJ42xSRq1S5dYu+97q0+eJYErMLOfF
|
21
|
-
UkeNNgJxaXzoFjnAX5wHCu6iFE7N5SrGxh6JsQ0Xm7EDcizadw/Fq2JqxhwnyvGV
|
22
|
-
53QXXjfYWItEc/+lNaYVMpeaH9t5eXPptNzVl9CTzU+032o6ajsVh1IX3gb1bBp8
|
23
|
-
RqBsG3O00XigcoWa8Tx2FeoNm54bZaCDee2/BdHFgzz2A1qi+uGnzo341ll53iZu
|
24
|
-
j/b2mAAp++b8bAj1sYtFalac9zv+qopzKdx5YzhIfBx/5Vmiz5T9L+eIZiYvM84n
|
25
|
-
OWLzEt5FGHECAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
26
|
-
BBYEFLy9GdRHpvfnUB0Mgh0+liT0YNIAMCAGA1UdEQQZMBeBFWFueWJvZHlAY29n
|
27
|
-
bml0ZWN0LmNvbTAgBgNVHRIEGTAXgRVhbnlib2R5QGNvZ25pdGVjdC5jb20wDQYJ
|
28
|
-
KoZIhvcNAQEFBQADggEBAD+zL60WUH0rRgubh+mtf0OyJZgpXADpLfTCkuB+NF9T
|
29
|
-
QIDwUwRuewUb5S+JmlQsW6mFnsO9/39Rlo1Gr4xy+RXK98uNdtqry8Vx9e+j2clt
|
30
|
-
MzhWcl3mN72VYu8HqSGzjVnq+YwYS4apVF5K37QARx4Zs5A7JWJHzSHpvLbmMk1v
|
31
|
-
IG8XDU4EiNht2QAJaORxVDCtB18ZeQaP8CoHYPhRCA+/luQ7oq2XscnVDKydK/zR
|
32
|
-
a4XLsgv1cFiPv4P1gB24Dmi+d7Ma0b7gnSN9kKtHLhBD8SMlmoqWmP+UXY13LFkM
|
33
|
-
8n0cTm+ZRH7Ytbv7+3g9RFz+BA56kbeTabhIdQeJ3jE=
|
34
|
-
-----END CERTIFICATE-----
|
35
|
-
date: 2017-08-11 00:00:00.000000000 Z
|
12
|
+
cert_chain: []
|
13
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
36
14
|
dependencies:
|
37
15
|
- !ruby/object:Gem::Dependency
|
38
16
|
name: oj
|
@@ -68,42 +46,14 @@ dependencies:
|
|
68
46
|
requirements:
|
69
47
|
- - "~>"
|
70
48
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.
|
49
|
+
version: 0.9.11
|
72
50
|
type: :development
|
73
51
|
prerelease: false
|
74
52
|
version_requirements: !ruby/object:Gem::Requirement
|
75
53
|
requirements:
|
76
54
|
- - "~>"
|
77
55
|
- !ruby/object:Gem::Version
|
78
|
-
version: 0.
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: redcarpet
|
81
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- - "~>"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 3.1.1
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
requirements:
|
90
|
-
- - "~>"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 3.1.1
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: yard-redcarpet-ext
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: 0.0.3
|
100
|
-
type: :development
|
101
|
-
prerelease: false
|
102
|
-
version_requirements: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - "~>"
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 0.0.3
|
56
|
+
version: 0.9.11
|
107
57
|
- !ruby/object:Gem::Dependency
|
108
58
|
name: addressable
|
109
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +150,7 @@ files:
|
|
200
150
|
- spec/transit/writer_spec.rb
|
201
151
|
homepage: http://github.com/cognitect/transit-ruby
|
202
152
|
licenses:
|
203
|
-
- Apache
|
153
|
+
- Apache License 2.0
|
204
154
|
metadata: {}
|
205
155
|
post_install_message:
|
206
156
|
rdoc_options: []
|
@@ -217,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
167
|
- !ruby/object:Gem::Version
|
218
168
|
version: '0'
|
219
169
|
requirements: []
|
220
|
-
|
221
|
-
rubygems_version: 2.6.11
|
170
|
+
rubygems_version: 3.0.3
|
222
171
|
signing_key:
|
223
172
|
specification_version: 4
|
224
173
|
summary: Transit marshalling for Ruby
|
@@ -233,4 +182,3 @@ test_files:
|
|
233
182
|
- spec/transit/round_trip_spec.rb
|
234
183
|
- spec/transit/transit_types_spec.rb
|
235
184
|
- spec/transit/writer_spec.rb
|
236
|
-
has_rdoc:
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|