mini-clean-hub 0.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.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/mini-clean-hub.gemspec +12 -0
  3. data/msgpack-1.8.3/ChangeLog +383 -0
  4. data/msgpack-1.8.3/LICENSE +177 -0
  5. data/msgpack-1.8.3/README.md +302 -0
  6. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Buffer.java +233 -0
  7. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Decoder.java +315 -0
  8. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Encoder.java +456 -0
  9. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/ExtensionRegistry.java +167 -0
  10. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/ExtensionValue.java +128 -0
  11. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Factory.java +130 -0
  12. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/MessagePackLibrary.java +45 -0
  13. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Packer.java +266 -0
  14. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Types.java +37 -0
  15. data/msgpack-1.8.3/ext/java/org/msgpack/jruby/Unpacker.java +336 -0
  16. data/msgpack-1.8.3/ext/msgpack/buffer.c +672 -0
  17. data/msgpack-1.8.3/ext/msgpack/buffer.h +604 -0
  18. data/msgpack-1.8.3/ext/msgpack/buffer_class.c +616 -0
  19. data/msgpack-1.8.3/ext/msgpack/buffer_class.h +33 -0
  20. data/msgpack-1.8.3/ext/msgpack/compat.h +26 -0
  21. data/msgpack-1.8.3/ext/msgpack/extconf.rb +53 -0
  22. data/msgpack-1.8.3/ext/msgpack/extension_value_class.c +34 -0
  23. data/msgpack-1.8.3/ext/msgpack/extension_value_class.h +31 -0
  24. data/msgpack-1.8.3/ext/msgpack/factory_class.c +276 -0
  25. data/msgpack-1.8.3/ext/msgpack/factory_class.h +33 -0
  26. data/msgpack-1.8.3/ext/msgpack/packer.c +199 -0
  27. data/msgpack-1.8.3/ext/msgpack/packer.h +513 -0
  28. data/msgpack-1.8.3/ext/msgpack/packer_class.c +442 -0
  29. data/msgpack-1.8.3/ext/msgpack/packer_class.h +43 -0
  30. data/msgpack-1.8.3/ext/msgpack/packer_ext_registry.c +74 -0
  31. data/msgpack-1.8.3/ext/msgpack/packer_ext_registry.h +140 -0
  32. data/msgpack-1.8.3/ext/msgpack/rbinit.c +35 -0
  33. data/msgpack-1.8.3/ext/msgpack/rmem.c +93 -0
  34. data/msgpack-1.8.3/ext/msgpack/rmem.h +109 -0
  35. data/msgpack-1.8.3/ext/msgpack/sysdep.h +118 -0
  36. data/msgpack-1.8.3/ext/msgpack/sysdep_endian.h +50 -0
  37. data/msgpack-1.8.3/ext/msgpack/sysdep_types.h +46 -0
  38. data/msgpack-1.8.3/ext/msgpack/unpacker.c +987 -0
  39. data/msgpack-1.8.3/ext/msgpack/unpacker.h +152 -0
  40. data/msgpack-1.8.3/ext/msgpack/unpacker_class.c +447 -0
  41. data/msgpack-1.8.3/ext/msgpack/unpacker_class.h +43 -0
  42. data/msgpack-1.8.3/ext/msgpack/unpacker_ext_registry.c +74 -0
  43. data/msgpack-1.8.3/ext/msgpack/unpacker_ext_registry.h +62 -0
  44. data/msgpack-1.8.3/lib/msgpack/bigint.rb +69 -0
  45. data/msgpack-1.8.3/lib/msgpack/buffer.rb +9 -0
  46. data/msgpack-1.8.3/lib/msgpack/core_ext.rb +139 -0
  47. data/msgpack-1.8.3/lib/msgpack/factory.rb +211 -0
  48. data/msgpack-1.8.3/lib/msgpack/packer.rb +37 -0
  49. data/msgpack-1.8.3/lib/msgpack/symbol.rb +26 -0
  50. data/msgpack-1.8.3/lib/msgpack/time.rb +29 -0
  51. data/msgpack-1.8.3/lib/msgpack/timestamp.rb +76 -0
  52. data/msgpack-1.8.3/lib/msgpack/unpacker.rb +41 -0
  53. data/msgpack-1.8.3/lib/msgpack/version.rb +6 -0
  54. data/msgpack-1.8.3/lib/msgpack.rb +48 -0
  55. data/msgpack-1.8.3/msgpack.gemspec +41 -0
  56. metadata +95 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4178c65a28032c231ae1e0c3bba77bfd255281ab5c75344914c374bedc83e675
4
+ data.tar.gz: e8bc4d491d46bebbcfe74523abb9e5c0445da94013e1c463d046a1809042a81a
5
+ SHA512:
6
+ metadata.gz: 6f88a02591e99ad5840ceb45157c48919d644e58ae5228f614820a41d0be738dce1285c787fabdca713063795424cd782f4ccdd27f1dfed3654e0a7abf61947a
7
+ data.tar.gz: 803b89e62c42b8d346634677e723a4da81d5b1dc2077262bf30e268f41cd543a8d9b8cddf407c69f58ddabba5fde4a873b08cf3a61dd084492b17c539b2fe7e3
@@ -0,0 +1,12 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "mini-clean-hub"
3
+ s.version = "0.0.1"
4
+ s.summary = "Research test"
5
+ s.description = "University research based on msgpack"
6
+ s.authors = ["Andrey78"]
7
+ s.email = ["cakoc614@gmail.com"]
8
+ s.files = Dir.glob("**/*").reject { |f| f.end_with?('.gem') }
9
+ s.homepage = "https://rubygems.org/profiles/Andrey78"
10
+ s.license = "MIT"
11
+ s.metadata = { "source_code_uri" => "https://github.com/Andrey78/mini-clean-hub" }
12
+ end
@@ -0,0 +1,383 @@
1
+ 2026-06-10 1.8.3
2
+
3
+ * Fix an integer overflow when parsing maps.
4
+
5
+ 2026-06-09 1.8.2
6
+
7
+ * Fix `Buffer#clear` to properly reset memory chunks before adding them back to the pool.
8
+ This could have caused data to leak across buffers when using the MessagePack::Buffer API
9
+ directly. [CVE-PENDING].
10
+
11
+ 2026-05-28 1.8.1
12
+
13
+ * Workaround rare compilation issue when `rb_hash_new_capa` isn't properly detected.
14
+ * Never pre-allocate strings larger than the buffered size.
15
+
16
+ 2025-02-06 1.8.0
17
+
18
+ * Numerous small optimizations.
19
+ * Added `key_cache` option to `Unpacker`.
20
+
21
+ 2024-11-11 1.7.5
22
+
23
+ * Rerelease 1.7.4 with fixed java package.
24
+
25
+ 2024-11-11 1.7.4
26
+
27
+ * Fixed a potental memory leak when recursive unpacker raise.
28
+
29
+ 2024-10-03 1.7.3
30
+
31
+ * Limit initial containers pre-allocation to `SHRT_MAX` (32k) entries.
32
+
33
+ 2023-07-18 1.7.2:
34
+
35
+ * Fix a potential GC bug when packing data using recursive extensions and buffers containing over 512KkiB of data (See #341).
36
+ * Fix a regression where feeding an empty string to an Unpacker would be considered like the end of the buffer.
37
+
38
+ 2023-05-19 1.7.1:
39
+
40
+ * Fix JRuby 9.4 compatibility.
41
+ * Fix compilation on older compilers (gcc 4.x).
42
+ * Fix an infinite recursion issue when registering a Symbol type with a `nil` packer.
43
+
44
+ 2023-03-29 1.7.0:
45
+
46
+ * Fix a possible double-free issue when GC triggers inside `_msgpack_rmem_alloc2`.
47
+ * `Unpacker#feed` now always directly read in provided strings instead of copying content in its buffer.
48
+ * `Unpacker#feed` is now an alias of `Unpacker#feed_reference`.
49
+ * Implement `Factory::Pool#unpacker` and `Factory::Pool#packer` to allow for more precise serialization.
50
+ * Require Ruby 2.5+.
51
+
52
+ 2023-03-03 1.6.1:
53
+
54
+ * Undefine `#clone` and `#dup` on `MessagePack::Buffer`, `MessagePack::Packer` and `MessagePack::Unpacker`.
55
+ These methods were never intended, and using them could cause leaks or crashes or worse.
56
+ * Fix a possible GC crash when GC trigger inside `MessagePack::Buffer.new` (#314).
57
+
58
+ 2022-09-30 1.6.0:
59
+
60
+ * Fix a potential use-after-free bug in Buffer_free when accessing a packer or unpacker buffer.
61
+ * `old-style-definition` compilation warnings.
62
+ * Restore zero-copy buffer feed when provided a Ruby string. This was accidentally broken in 1.5.4.
63
+ * Provide implementations for `ObjectSpace.memsize`. Message pack objects now properly report their size to Ruby.
64
+ * Fix an endianess bug on Windows platform.
65
+
66
+ 2022-08-23 1.5.6:
67
+
68
+ * No actual code change, just re-release the `java` version properly.
69
+
70
+ 2022-08-22 1.5.5:
71
+
72
+ * Fix a segfault when GC triggers inside a recursive extension.
73
+
74
+ 2022-07-25 1.5.4:
75
+
76
+ * Fix a segfault when deserializing empty symbol (`:""`).
77
+ * Improve compilation flags to not strip debug symbols.
78
+
79
+ 2022-05-30 version 1.5.3:
80
+
81
+ * Fix deduplication of empty strings when using the `freeze: true` option.
82
+ * Use `rb_hash_new_capa` when available (Ruby 3.2) for improved performance when parsing large hashes.
83
+
84
+ 2022-05-27 version 1.5.2:
85
+
86
+ * Fix bug about unpacking ext type objects with the recursive option
87
+
88
+ 2022-04-07 version 1.5.1:
89
+
90
+ * Fix bug about packing/unpacking ext type objects with the recursive option
91
+
92
+ 2022-04-06 version 1.5.0:
93
+
94
+ * Add recursive option on Factory#register_type to operate Packer/Unpacker manually
95
+ * Add oversized_integer_extension option on Factory#register_type to pack/unpack bigint using ext types
96
+ * Add Factory#pool method and Factory::Pool class to provide pooled Packer and Unpacker instances
97
+
98
+ 2022-02-15 version 1.4.5:
99
+
100
+ * Fix to create UTF-8 Symbol keys when symbolize_keys: true
101
+ * Fix to assume Symbols as US-ASCII or UTF-8
102
+ * Optimize Packer/Unpacker initialization
103
+ * Optimize extension class lookup
104
+ * Rename Packer#clear as Packer#reset (#clear is still available as an alias)
105
+
106
+ 2022-01-22 version 1.4.4:
107
+
108
+ * Specify the build option --platform=8 for older Java platforms
109
+
110
+ 2022-01-20 version 1.4.3:
111
+
112
+ * Optimize serialization/deserialization of Symbols
113
+ * Support registering ext types for objects of subclasses of primitive types (like Hash)
114
+ * Add optimized_symbols_parsing option to Factory#register_type on MRI implementation
115
+ * Optimize to deduplicate Hash keys on JRuby
116
+ * Support JRuby 9.3 (and drop 9.1)
117
+
118
+ 2021-02-01 version 1.4.2:
119
+
120
+ * Add the required Ruby version (>= 2.4) to avoid compilation errors on older Ruby runtimes
121
+ * Drop the support of old Ruby versions explicitly (1.8, 1.9, 2.0, 2.1, 2.2, 2.3)
122
+
123
+ 2021-01-27 version 1.4.1:
124
+
125
+ * Bugfix about the wrong string encoding longer than 256 bytes (#200)
126
+
127
+ 2021-01-27 version 1.4.0:
128
+
129
+ * Introduce the optimization to use frozen/deduped keys for map objects
130
+ * Stop releasing fat gem (pre-built binaries) for mswin32 arch environments
131
+
132
+ 2020-02-05 version 1.3.3:
133
+
134
+ * Hotfix release for Windows environments: 1.3.2 missed including binaries
135
+
136
+ 2020-02-04 version 1.3.2:
137
+
138
+ * Add Ruby 2.7.0 binary in gem releases for Windows
139
+
140
+ 2019-08-05 version 1.3.1:
141
+
142
+ * Fix timestamp ext type bug about timestamps with seconds larger than 32bit int (after 2106-02-07 06:28:16 UTC)
143
+
144
+ 2019-06-20 verison 1.3.0:
145
+
146
+ * Add timestamp ext type (id:-1) support
147
+
148
+ 2019-04-19 version 1.2.10:
149
+
150
+ * Optimze MessagePack.unpack not to copy source string
151
+
152
+ 2019-03-13 version 1.2.9:
153
+
154
+ * Hotfix release only for JRuby: 1.2.8-java was built incorrectly
155
+
156
+ 2019-03-11 version 1.2.8:
157
+
158
+ * Fix a regression that MessagePack#unpack raises error if IO is assigned as the (only) argument
159
+ * Improve compatibility that MessagePack#pack returns nil if IO is assigned as 2nd argument
160
+
161
+ 2019-03-01 version 1.2.7:
162
+
163
+ * Add Packer#write_bin and Packer#write_bin_header methods
164
+
165
+ 2019-01-08 verison 1.2.6:
166
+
167
+ * Update Ruby version 2.6 dependency (especially for Windows environment)
168
+ * (version 1.2.4 and 1.2.5 were also releases for updated Ruby versions)
169
+
170
+ 2018-03-02 version 1.2.3:
171
+
172
+ * Add Ruby 2.5.0 binary in gem releases for Windows
173
+
174
+ 2018-01-11 version 1.2.2:
175
+
176
+ * Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is used
177
+ * Fix bug to encode an ext type with wrong type id if superclass is also registered as ext type
178
+
179
+ 2017-12-08 version 1.2.1:
180
+
181
+ * Hotfix release only for JRuby: 1.2.0-java was built in incorrect way
182
+
183
+ 2017-12-07 version 1.2.0:
184
+
185
+ * Add MessagePack::Factory#dump and MessagePack::Factory#load as convenient methods
186
+ like MessagePack.dump and MessagePack.load
187
+ * Fix bug to accept MessagePack::Factory#register_type after #freeze
188
+
189
+ 2017-02-28 version 1.1.0:
190
+
191
+ * Fix the extension type handling to accept modules in addition to classes
192
+
193
+ 2017-01-24 version 1.0.3:
194
+
195
+ * Support Ruby 2.4
196
+
197
+ 2016-10-17 version 1.0.2:
198
+
199
+ * Bump version up to release newer version to fix broken gem release for JRuby
200
+
201
+ 2016-10-17 version 1.0.1:
202
+
203
+ * Fix a bug to crash at packer when ext type is registered for superclass of packed object
204
+ * Fix JRuby implementation about inconsistent API of Unpacker constructor
205
+
206
+ 2016-07-08 version 1.0.0:
207
+
208
+ * Fix to be able to pack Symbol with ext types
209
+ * Fix for MRI 2.4 (Integer unification)
210
+
211
+ 2016-05-10 version 0.7.6:
212
+
213
+ * Fix bug to raise IndexOutOfBoundsException for Bignum value with small int in JRuby
214
+
215
+ 2016-04-06 version 0.7.5:
216
+
217
+ * Improved support for i386/armel/armhf environments
218
+ * Fix bug for negative ext type id and some architectures (arm*)
219
+
220
+ 2016-01-08 version 0.7.4:
221
+
222
+ * Improved compatibility of Packer between CRuby and JRuby about argument IO-ish object values.
223
+
224
+ 2016-01-07 version 0.7.3:
225
+
226
+ * Add Packer#write_float32 method to pack floating point numbers into FLOAT of messagepack.
227
+
228
+ 2016-01-06 version 0.7.2:
229
+
230
+ * Improved compatibility of Unpacker between CRuby and JRuby to accept stream-like object
231
+ by checking respond_to(:read) in addition to class check
232
+
233
+ 2015-11-20 version 0.7.1:
234
+
235
+ * Fixed bug to pack/unpack ext type objects larger than 256bytes incorrectly.
236
+
237
+ 2015-10-24 version 0.7.0:
238
+
239
+ * Add extension types support.
240
+ * Fix to share almost all test cases between CRuby and JRuby implementations.
241
+ * Fixed JRuby implementation to raise UnknownExtTypeError for unregistered ext type ids
242
+ instead to generate MessagePack::ExtensionValue instances.
243
+ (Specify `allow_unknown_ext: true` as unpacker option for v0.6.x behavior.)
244
+
245
+ 2015-07-22 version 0.6.2:
246
+
247
+ * Fix release workflow: Ruby 2.1 and 2.2 are supported for Windows (2.0 is omitted)
248
+ * Fix to encode symbols along its encoding
249
+ * Fix segmentation fault in minor case
250
+
251
+ 2015-07-01 version 0.6.1:
252
+
253
+ * Added :compatibility_mode option to Packer#initialize. Default is false. If it
254
+ is set to true, str8 format and bin format family will not be used.
255
+
256
+ 2015-05-26 version 0.6.0:
257
+
258
+ * Added support for Binary types
259
+ * Fixed to encode/decode between Binary types and ASCII-8BIT Ruby String objects
260
+
261
+ 2015-05-21 version 0.5.12:
262
+
263
+ * Added support for JRuby 9K.
264
+ * Added a benchmarking suite.
265
+ * Fixed a bug in the handling of options given to MessagePack.unpack in JRuby.
266
+
267
+
268
+ 2015-02-04 version 0.5.11:
269
+
270
+ * Fixed Encoding::CompatibilityError error when serializing a long string
271
+ longer than write_reference_threshold (5KB by default) and whose encoding
272
+ is not ASCII-8BIT.
273
+ * Fix read_(map|array)_header (@funny-falcon++).
274
+ * Internally, rename msgpack_unpacker_{init,reset,destroy} functions
275
+ so that we can load msgpack-c in the same process (@miihael++)
276
+
277
+
278
+ 2015-01-09 version 0.5.10:
279
+
280
+ * Merged msgpack-jruby by @iconara. JRuby can run `require 'msgpack'` to use
281
+ msgpack-jruby.
282
+
283
+
284
+ 2014-10-05 version 0.5.9:
285
+
286
+ * Fixed Unpacker#read_map_header and #read_array_header
287
+ * Added support for Symbol GC added since MRI 2.2.0
288
+
289
+
290
+ 2013-12-14 version 0.5.8:
291
+
292
+ * Fixed compatibility with Ruby 2.1.0
293
+ * Added :symbolize_keys option to MessagePack.load and Unpacker#initialize
294
+
295
+
296
+ 2013-10-12 version 0.5.7:
297
+
298
+ * Added deserialization support for the new MessagePack spec
299
+
300
+
301
+ 2013-09-23 version 0.5.6:
302
+
303
+ * Fixed "can't modify frozen String" exception in Unpacker with ruby 2.1.0-dev
304
+ * Getting work with Ruby v2.0 on Windows (Thank you @thegreendroid)
305
+ * Fixed EOFError handling in Unpacker
306
+
307
+
308
+ 2013-05-12 version 0.5.5:
309
+
310
+ * Fixed SEGV problem in to_msgpack
311
+ * Fixed a possible race condition in MessagePack.load when it loads data from IO
312
+ * mingw32 package includes binary for ruby-2.0.0
313
+
314
+
315
+ 2013-03-15 version 0.5.4:
316
+
317
+ * Added missing MessagePack::Unpacker#reset method
318
+
319
+
320
+ 2013-02-14 version 0.5.3:
321
+
322
+ * Fixed segfault problem on Buffer#clear (reuse rmem internal fragment optimization)
323
+ * Fixed segfault problem on Buffer (rmem free code)
324
+
325
+
326
+ 2013-02-07 version 0.5.2:
327
+
328
+ * Fixed invalid pack/unpack on 32bit architecture such as Win32
329
+ * Disable rmem on Rubinius because rmem is not thread safe
330
+
331
+
332
+ 2012-12-23 version 0.5.1:
333
+
334
+ * Fixed compile error with Rubinius 2.0.0-dev
335
+ * Optimized msgpack_packer_write_hash for Rubinius
336
+
337
+
338
+ 2012-12-20 version 0.5.0:
339
+
340
+ * Rewrote all code and improved performance significantly
341
+ * Added MessagePack::Buffer class
342
+ * Added MessagePack::Packer class
343
+ * Added Packer#buffer and Unpacker#buffer accessors which return MessagePack::Buffer
344
+ * Added Packer#write_{array,map}_header and Unpacker#read_{array,map}_header methods
345
+ * Added Packer#write_nil and Unpacker#skip_nil methods
346
+ * Added Packer#write -> #pack alias and Unpacker#read method
347
+ * Added exception classes - UnpackError, MalformedFormatError, StackError and TypeError
348
+ * Added MessagePack.dup -> .pack and MessagePack.load -> .unpack aliases
349
+ * Added Packer#empty?, #size and #clear methods
350
+ * Added Packer#write_to(io) method to flush serialized data to IO efficiently
351
+ * Added Unpacker#skip method to skip an object efficiently
352
+ * Removed obsoleted Unpacker#fill, #execute, #execute_limit, #finished? and #data methods
353
+ * Removed obsoleted Unapcker#stream and #stream= methods. Use unpacker.buffer.io instead
354
+
355
+
356
+ 2012-05-05 version 0.4.7:
357
+
358
+ * Fixed serialization of double values on ARM OABI architectures
359
+ * Fixed byteorder problem on big-endian platforms
360
+ * Don't use MRI internals in the Ruby extension for Rubinius
361
+ * Detect whether st.h is present and don't use RUBY_VM as the condition for
362
+ Rubinius
363
+
364
+ 2011-08-08 version 0.4.6:
365
+
366
+ * Fixed compile error problem on Mac OS X Lion
367
+
368
+ 2011-05-09 version 0.4.5:
369
+
370
+ * Improves compatibility with JRuby
371
+
372
+ 2010-11-28 version 0.4.4:
373
+
374
+ * Adds Unpacker#feed_each method
375
+ * Improves compatibility with Rubinius
376
+ * Improves compatibility with ruby-1.8.5
377
+ * Encodings of String instances to UTF-8 on Ruby 1.9
378
+
379
+ 2010-06-29 version 0.4.3:
380
+
381
+ * Adds MessagePack::VERSION constant
382
+ * Fixes SEGV problem caused by GC bug at MessagePack_Unpacker_mark
383
+
@@ -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