restify 2.0.1 → 2.0.2
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/CHANGELOG.md +8 -0
- data/lib/restify/relation.rb +6 -2
- data/lib/restify/version.rb +1 -1
- data/spec/restify/relation_spec.rb +54 -1
- data/vendor/bundle/ruby/3.4.0/bundler/gems/my-rubocop-3bcd2110ca87/LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/bundler/gems/my-rubocop-3bcd2110ca87/README.md +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.2/CHANGELOG.md +255 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.2/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.2/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/README.md +48 -0
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/README.md +138 -0
- data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.1.9/LICENSE +56 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/CHANGELOG.md +603 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/README.md +407 -0
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.3/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.3/README.md +167 -0
- data/vendor/bundle/ruby/3.4.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/README.md +118 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.2-x86_64-linux-gnu/CHANGELOG.md +473 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.2-x86_64-linux-gnu/LICENSE +24 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.2-x86_64-linux-gnu/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.2-x86_64-linux-gnu/README.md +137 -0
- data/vendor/bundle/ruby/3.4.0/gems/hitimes-3.1.0/LICENSE.txt +16 -0
- data/vendor/bundle/ruby/3.4.0/gems/hitimes-3.1.0/README.md +187 -0
- data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.7/README.md +127 -0
- data/vendor/bundle/ruby/3.4.0/gems/little-plugger-1.1.4/README.rdoc +53 -0
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.7.0/README.md +104 -0
- data/vendor/bundle/ruby/3.4.0/gems/logging-2.4.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/logging-2.4.0/README.md +140 -0
- data/vendor/bundle/ruby/3.4.0/gems/minitest-5.25.5/README.rdoc +842 -0
- data/vendor/bundle/ruby/3.4.0/gems/msgpack-1.8.0/ChangeLog +368 -0
- data/vendor/bundle/ruby/3.4.0/gems/msgpack-1.8.0/LICENSE +177 -0
- data/vendor/bundle/ruby/3.4.0/gems/msgpack-1.8.0/README.md +302 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/CHANGELOG.md +275 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/README.md +121 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.5.0/CHANGELOG.md +193 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.5.0/LICENSE +201 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.5.0/README.md +68 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.22.0/CHANGELOG.md +98 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.22.0/LICENSE +201 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.22.0/README.md +62 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.2/CHANGELOG.md +498 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.2/README.md +222 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.15/CHANGELOG.md +1146 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.15/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.15/README.md +355 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.4.0/gems/securerandom-0.4.1/README.md +72 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/CHANGELOG.md +410 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/LICENSE +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/README.md +588 -0
- data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.4.0/gems/uri-1.0.3/README.md +55 -0
- metadata +66 -4
- data/doc/file.README.html +0 -192
@@ -0,0 +1,368 @@
|
|
1
|
+
2025-02-06 1.8.0
|
2
|
+
|
3
|
+
* Numerous small optimizations.
|
4
|
+
* Added `key_cache` option to `Unpacker`.
|
5
|
+
|
6
|
+
2024-11-11 1.7.5
|
7
|
+
|
8
|
+
* Rerelease 1.7.4 with fixed java package.
|
9
|
+
|
10
|
+
2024-11-11 1.7.4
|
11
|
+
|
12
|
+
* Fixed a potental memory leak when recursive unpacker raise.
|
13
|
+
|
14
|
+
2024-10-03 1.7.3
|
15
|
+
|
16
|
+
* Limit initial containers pre-allocation to `SHRT_MAX` (32k) entries.
|
17
|
+
|
18
|
+
2023-07-18 1.7.2:
|
19
|
+
|
20
|
+
* Fix a potential GC bug when packing data using recursive extensions and buffers containing over 512KkiB of data (See #341).
|
21
|
+
* Fix a regression where feeding an empty string to an Unpacker would be considered like the end of the buffer.
|
22
|
+
|
23
|
+
2023-05-19 1.7.1:
|
24
|
+
|
25
|
+
* Fix JRuby 9.4 compatibility.
|
26
|
+
* Fix compilation on older compilers (gcc 4.x).
|
27
|
+
* Fix an infinite recursion issue when registering a Symbol type with a `nil` packer.
|
28
|
+
|
29
|
+
2023-03-29 1.7.0:
|
30
|
+
|
31
|
+
* Fix a possible double-free issue when GC triggers inside `_msgpack_rmem_alloc2`.
|
32
|
+
* `Unpacker#feed` now always directly read in provided strings instead of copying content in its buffer.
|
33
|
+
* `Unpacker#feed` is now an alias of `Unpacker#feed_reference`.
|
34
|
+
* Implement `Factory::Pool#unpacker` and `Factory::Pool#packer` to allow for more precise serialization.
|
35
|
+
* Require Ruby 2.5+.
|
36
|
+
|
37
|
+
2023-03-03 1.6.1:
|
38
|
+
|
39
|
+
* Undefine `#clone` and `#dup` on `MessagePack::Buffer`, `MessagePack::Packer` and `MessagePack::Unpacker`.
|
40
|
+
These methods were never intended, and using them could cause leaks or crashes or worse.
|
41
|
+
* Fix a possible GC crash when GC trigger inside `MessagePack::Buffer.new` (#314).
|
42
|
+
|
43
|
+
2022-09-30 1.6.0:
|
44
|
+
|
45
|
+
* Fix a potential use-after-free bug in Buffer_free when accessing a packer or unpacker buffer.
|
46
|
+
* `old-style-definition` compilation warnings.
|
47
|
+
* Restore zero-copy buffer feed when provided a Ruby string. This was accidentally broken in 1.5.4.
|
48
|
+
* Provide implementations for `ObjectSpace.memsize`. Message pack objects now properly report their size to Ruby.
|
49
|
+
* Fix an endianess bug on Windows platform.
|
50
|
+
|
51
|
+
2022-08-23 1.5.6:
|
52
|
+
|
53
|
+
* No actual code change, just re-release the `java` version properly.
|
54
|
+
|
55
|
+
2022-08-22 1.5.5:
|
56
|
+
|
57
|
+
* Fix a segfault when GC triggers inside a recursive extension.
|
58
|
+
|
59
|
+
2022-07-25 1.5.4:
|
60
|
+
|
61
|
+
* Fix a segfault when deserializing empty symbol (`:""`).
|
62
|
+
* Improve compilation flags to not strip debug symbols.
|
63
|
+
|
64
|
+
2022-05-30 version 1.5.3:
|
65
|
+
|
66
|
+
* Fix deduplication of empty strings when using the `freeze: true` option.
|
67
|
+
* Use `rb_hash_new_capa` when available (Ruby 3.2) for improved performance when parsing large hashes.
|
68
|
+
|
69
|
+
2022-05-27 version 1.5.2:
|
70
|
+
|
71
|
+
* Fix bug about unpacking ext type objects with the recursive option
|
72
|
+
|
73
|
+
2022-04-07 version 1.5.1:
|
74
|
+
|
75
|
+
* Fix bug about packing/unpacking ext type objects with the recursive option
|
76
|
+
|
77
|
+
2022-04-06 version 1.5.0:
|
78
|
+
|
79
|
+
* Add recursive option on Factory#register_type to operate Packer/Unpacker manually
|
80
|
+
* Add oversized_integer_extension option on Factory#register_type to pack/unpack bigint using ext types
|
81
|
+
* Add Factory#pool method and Factory::Pool class to provide pooled Packer and Unpacker instances
|
82
|
+
|
83
|
+
2022-02-15 version 1.4.5:
|
84
|
+
|
85
|
+
* Fix to create UTF-8 Symbol keys when symbolize_keys: true
|
86
|
+
* Fix to assume Symbols as US-ASCII or UTF-8
|
87
|
+
* Optimize Packer/Unpacker initialization
|
88
|
+
* Optimize extension class lookup
|
89
|
+
* Rename Packer#clear as Packer#reset (#clear is still available as an alias)
|
90
|
+
|
91
|
+
2022-01-22 version 1.4.4:
|
92
|
+
|
93
|
+
* Specify the build option --platform=8 for older Java platforms
|
94
|
+
|
95
|
+
2022-01-20 version 1.4.3:
|
96
|
+
|
97
|
+
* Optimize serialization/deserialization of Symbols
|
98
|
+
* Support registering ext types for objects of subclasses of primitive types (like Hash)
|
99
|
+
* Add optimized_symbols_parsing option to Factory#register_type on MRI implementation
|
100
|
+
* Optimize to deduplicate Hash keys on JRuby
|
101
|
+
* Support JRuby 9.3 (and drop 9.1)
|
102
|
+
|
103
|
+
2021-02-01 version 1.4.2:
|
104
|
+
|
105
|
+
* Add the required Ruby version (>= 2.4) to avoid compilation errors on older Ruby runtimes
|
106
|
+
* Drop the support of old Ruby versions explicitly (1.8, 1.9, 2.0, 2.1, 2.2, 2.3)
|
107
|
+
|
108
|
+
2021-01-27 version 1.4.1:
|
109
|
+
|
110
|
+
* Bugfix about the wrong string encoding longer than 256 bytes (#200)
|
111
|
+
|
112
|
+
2021-01-27 version 1.4.0:
|
113
|
+
|
114
|
+
* Introduce the optimization to use frozen/deduped keys for map objects
|
115
|
+
* Stop releasing fat gem (pre-built binaries) for mswin32 arch environments
|
116
|
+
|
117
|
+
2020-02-05 version 1.3.3:
|
118
|
+
|
119
|
+
* Hotfix release for Windows environments: 1.3.2 missed including binaries
|
120
|
+
|
121
|
+
2020-02-04 version 1.3.2:
|
122
|
+
|
123
|
+
* Add Ruby 2.7.0 binary in gem releases for Windows
|
124
|
+
|
125
|
+
2019-08-05 version 1.3.1:
|
126
|
+
|
127
|
+
* Fix timestamp ext type bug about timestamps with seconds larger than 32bit int (after 2106-02-07 06:28:16 UTC)
|
128
|
+
|
129
|
+
2019-06-20 verison 1.3.0:
|
130
|
+
|
131
|
+
* Add timestamp ext type (id:-1) support
|
132
|
+
|
133
|
+
2019-04-19 version 1.2.10:
|
134
|
+
|
135
|
+
* Optimze MessagePack.unpack not to copy source string
|
136
|
+
|
137
|
+
2019-03-13 version 1.2.9:
|
138
|
+
|
139
|
+
* Hotfix release only for JRuby: 1.2.8-java was built incorrectly
|
140
|
+
|
141
|
+
2019-03-11 version 1.2.8:
|
142
|
+
|
143
|
+
* Fix a regression that MessagePack#unpack raises error if IO is assigned as the (only) argument
|
144
|
+
* Improve compatibility that MessagePack#pack returns nil if IO is assigned as 2nd argument
|
145
|
+
|
146
|
+
2019-03-01 version 1.2.7:
|
147
|
+
|
148
|
+
* Add Packer#write_bin and Packer#write_bin_header methods
|
149
|
+
|
150
|
+
2019-01-08 verison 1.2.6:
|
151
|
+
|
152
|
+
* Update Ruby version 2.6 dependency (especially for Windows environment)
|
153
|
+
* (version 1.2.4 and 1.2.5 were also releases for updated Ruby versions)
|
154
|
+
|
155
|
+
2018-03-02 version 1.2.3:
|
156
|
+
|
157
|
+
* Add Ruby 2.5.0 binary in gem releases for Windows
|
158
|
+
|
159
|
+
2018-01-11 version 1.2.2:
|
160
|
+
|
161
|
+
* Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is used
|
162
|
+
* Fix bug to encode an ext type with wrong type id if superclass is also registered as ext type
|
163
|
+
|
164
|
+
2017-12-08 version 1.2.1:
|
165
|
+
|
166
|
+
* Hotfix release only for JRuby: 1.2.0-java was built in incorrect way
|
167
|
+
|
168
|
+
2017-12-07 version 1.2.0:
|
169
|
+
|
170
|
+
* Add MessagePack::Factory#dump and MessagePack::Factory#load as convenient methods
|
171
|
+
like MessagePack.dump and MessagePack.load
|
172
|
+
* Fix bug to accept MessagePack::Factory#register_type after #freeze
|
173
|
+
|
174
|
+
2017-02-28 version 1.1.0:
|
175
|
+
|
176
|
+
* Fix the extension type handling to accept modules in addition to classes
|
177
|
+
|
178
|
+
2017-01-24 version 1.0.3:
|
179
|
+
|
180
|
+
* Support Ruby 2.4
|
181
|
+
|
182
|
+
2016-10-17 version 1.0.2:
|
183
|
+
|
184
|
+
* Bump version up to release newer version to fix broken gem release for JRuby
|
185
|
+
|
186
|
+
2016-10-17 version 1.0.1:
|
187
|
+
|
188
|
+
* Fix a bug to crash at packer when ext type is registered for superclass of packed object
|
189
|
+
* Fix JRuby implementation about inconsistent API of Unpacker constructor
|
190
|
+
|
191
|
+
2016-07-08 version 1.0.0:
|
192
|
+
|
193
|
+
* Fix to be able to pack Symbol with ext types
|
194
|
+
* Fix for MRI 2.4 (Integer unification)
|
195
|
+
|
196
|
+
2016-05-10 version 0.7.6:
|
197
|
+
|
198
|
+
* Fix bug to raise IndexOutOfBoundsException for Bignum value with small int in JRuby
|
199
|
+
|
200
|
+
2016-04-06 version 0.7.5:
|
201
|
+
|
202
|
+
* Improved support for i386/armel/armhf environments
|
203
|
+
* Fix bug for negative ext type id and some architectures (arm*)
|
204
|
+
|
205
|
+
2016-01-08 version 0.7.4:
|
206
|
+
|
207
|
+
* Improved compatibility of Packer between CRuby and JRuby about argument IO-ish object values.
|
208
|
+
|
209
|
+
2016-01-07 version 0.7.3:
|
210
|
+
|
211
|
+
* Add Packer#write_float32 method to pack floating point numbers into FLOAT of messagepack.
|
212
|
+
|
213
|
+
2016-01-06 version 0.7.2:
|
214
|
+
|
215
|
+
* Improved compatibility of Unpacker between CRuby and JRuby to accept stream-like object
|
216
|
+
by checking respond_to(:read) in addition to class check
|
217
|
+
|
218
|
+
2015-11-20 version 0.7.1:
|
219
|
+
|
220
|
+
* Fixed bug to pack/unpack ext type objects larger than 256bytes incorrectly.
|
221
|
+
|
222
|
+
2015-10-24 version 0.7.0:
|
223
|
+
|
224
|
+
* Add extension types support.
|
225
|
+
* Fix to share almost all test cases between CRuby and JRuby implementations.
|
226
|
+
* Fixed JRuby implementation to raise UnknownExtTypeError for unregistered ext type ids
|
227
|
+
instead to generate MessagePack::ExtensionValue instances.
|
228
|
+
(Specify `allow_unknown_ext: true` as unpacker option for v0.6.x behavior.)
|
229
|
+
|
230
|
+
2015-07-22 version 0.6.2:
|
231
|
+
|
232
|
+
* Fix release workflow: Ruby 2.1 and 2.2 are supported for Windows (2.0 is omitted)
|
233
|
+
* Fix to encode symbols along its encoding
|
234
|
+
* Fix segmentation fault in minor case
|
235
|
+
|
236
|
+
2015-07-01 version 0.6.1:
|
237
|
+
|
238
|
+
* Added :compatibility_mode option to Packer#initialize. Default is false. If it
|
239
|
+
is set to true, str8 format and bin format family will not be used.
|
240
|
+
|
241
|
+
2015-05-26 version 0.6.0:
|
242
|
+
|
243
|
+
* Added support for Binary types
|
244
|
+
* Fixed to encode/decode between Binary types and ASCII-8BIT Ruby String objects
|
245
|
+
|
246
|
+
2015-05-21 version 0.5.12:
|
247
|
+
|
248
|
+
* Added support for JRuby 9K.
|
249
|
+
* Added a benchmarking suite.
|
250
|
+
* Fixed a bug in the handling of options given to MessagePack.unpack in JRuby.
|
251
|
+
|
252
|
+
|
253
|
+
2015-02-04 version 0.5.11:
|
254
|
+
|
255
|
+
* Fixed Encoding::CompatibilityError error when serializing a long string
|
256
|
+
longer than write_reference_threshold (5KB by default) and whose encoding
|
257
|
+
is not ASCII-8BIT.
|
258
|
+
* Fix read_(map|array)_header (@funny-falcon++).
|
259
|
+
* Internally, rename msgpack_unpacker_{init,reset,destroy} functions
|
260
|
+
so that we can load msgpack-c in the same process (@miihael++)
|
261
|
+
|
262
|
+
|
263
|
+
2015-01-09 version 0.5.10:
|
264
|
+
|
265
|
+
* Merged msgpack-jruby by @iconara. JRuby can run `require 'msgpack'` to use
|
266
|
+
msgpack-jruby.
|
267
|
+
|
268
|
+
|
269
|
+
2014-10-05 version 0.5.9:
|
270
|
+
|
271
|
+
* Fixed Unpacker#read_map_header and #read_array_header
|
272
|
+
* Added support for Symbol GC added since MRI 2.2.0
|
273
|
+
|
274
|
+
|
275
|
+
2013-12-14 version 0.5.8:
|
276
|
+
|
277
|
+
* Fixed compatibility with Ruby 2.1.0
|
278
|
+
* Added :symbolize_keys option to MessagePack.load and Unpacker#initialize
|
279
|
+
|
280
|
+
|
281
|
+
2013-10-12 version 0.5.7:
|
282
|
+
|
283
|
+
* Added deserialization support for the new MessagePack spec
|
284
|
+
|
285
|
+
|
286
|
+
2013-09-23 version 0.5.6:
|
287
|
+
|
288
|
+
* Fixed "can't modify frozen String" exception in Unpacker with ruby 2.1.0-dev
|
289
|
+
* Getting work with Ruby v2.0 on Windows (Thank you @thegreendroid)
|
290
|
+
* Fixed EOFError handling in Unpacker
|
291
|
+
|
292
|
+
|
293
|
+
2013-05-12 version 0.5.5:
|
294
|
+
|
295
|
+
* Fixed SEGV problem in to_msgpack
|
296
|
+
* Fixed a possible race condition in MessagePack.load when it loads data from IO
|
297
|
+
* mingw32 package includes binary for ruby-2.0.0
|
298
|
+
|
299
|
+
|
300
|
+
2013-03-15 version 0.5.4:
|
301
|
+
|
302
|
+
* Added missing MessagePack::Unpacker#reset method
|
303
|
+
|
304
|
+
|
305
|
+
2013-02-14 version 0.5.3:
|
306
|
+
|
307
|
+
* Fixed segfault problem on Buffer#clear (reuse rmem internal fragment optimization)
|
308
|
+
* Fixed segfault problem on Buffer (rmem free code)
|
309
|
+
|
310
|
+
|
311
|
+
2013-02-07 version 0.5.2:
|
312
|
+
|
313
|
+
* Fixed invalid pack/unpack on 32bit architecture such as Win32
|
314
|
+
* Disable rmem on Rubinius because rmem is not thread safe
|
315
|
+
|
316
|
+
|
317
|
+
2012-12-23 version 0.5.1:
|
318
|
+
|
319
|
+
* Fixed compile error with Rubinius 2.0.0-dev
|
320
|
+
* Optimized msgpack_packer_write_hash for Rubinius
|
321
|
+
|
322
|
+
|
323
|
+
2012-12-20 version 0.5.0:
|
324
|
+
|
325
|
+
* Rewrote all code and improved performance significantly
|
326
|
+
* Added MessagePack::Buffer class
|
327
|
+
* Added MessagePack::Packer class
|
328
|
+
* Added Packer#buffer and Unpacker#buffer accessors which return MessagePack::Buffer
|
329
|
+
* Added Packer#write_{array,map}_header and Unpacker#read_{array,map}_header methods
|
330
|
+
* Added Packer#write_nil and Unpacker#skip_nil methods
|
331
|
+
* Added Packer#write -> #pack alias and Unpacker#read method
|
332
|
+
* Added exception classes - UnpackError, MalformedFormatError, StackError and TypeError
|
333
|
+
* Added MessagePack.dup -> .pack and MessagePack.load -> .unpack aliases
|
334
|
+
* Added Packer#empty?, #size and #clear methods
|
335
|
+
* Added Packer#write_to(io) method to flush serialized data to IO efficiently
|
336
|
+
* Added Unpacker#skip method to skip an object efficiently
|
337
|
+
* Removed obsoleted Unpacker#fill, #execute, #execute_limit, #finished? and #data methods
|
338
|
+
* Removed obsoleted Unapcker#stream and #stream= methods. Use unpacker.buffer.io instead
|
339
|
+
|
340
|
+
|
341
|
+
2012-05-05 version 0.4.7:
|
342
|
+
|
343
|
+
* Fixed serialization of double values on ARM OABI architectures
|
344
|
+
* Fixed byteorder problem on big-endian platforms
|
345
|
+
* Don't use MRI internals in the Ruby extension for Rubinius
|
346
|
+
* Detect whether st.h is present and don't use RUBY_VM as the condition for
|
347
|
+
Rubinius
|
348
|
+
|
349
|
+
2011-08-08 version 0.4.6:
|
350
|
+
|
351
|
+
* Fixed compile error problem on Mac OS X Lion
|
352
|
+
|
353
|
+
2011-05-09 version 0.4.5:
|
354
|
+
|
355
|
+
* Improves compatibility with JRuby
|
356
|
+
|
357
|
+
2010-11-28 version 0.4.4:
|
358
|
+
|
359
|
+
* Adds Unpacker#feed_each method
|
360
|
+
* Improves compatibility with Rubinius
|
361
|
+
* Improves compatibility with ruby-1.8.5
|
362
|
+
* Encodings of String instances to UTF-8 on Ruby 1.9
|
363
|
+
|
364
|
+
2010-06-29 version 0.4.3:
|
365
|
+
|
366
|
+
* Adds MessagePack::VERSION constant
|
367
|
+
* Fixes SEGV problem caused by GC bug at MessagePack_Unpacker_mark
|
368
|
+
|
@@ -0,0 +1,177 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|