libdeflate 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 149575c7d11c4b3a79b41b9a877bec0b7d021486
4
- data.tar.gz: 99d0996e3f3c91f41d2fd4998dcb388cdd189376
3
+ metadata.gz: b7ee0a79b0d89444143345fedd33de7a96be9f54
4
+ data.tar.gz: d0ffc8949202a68544765a960ba503b4acfe9618
5
5
  SHA512:
6
- metadata.gz: a3da84aba90e0ea51adab9822bdadf2c77b25c40ca7e0dabbd7f833c1796d49e81c39272988874940903d1431b0fed3051309b3342bf4f9421c6d16f3a1872db
7
- data.tar.gz: e034b512a2694f1b70b296d6fa55a0e4ad2360ba08922817c34cc635c41a9a030903181bcbbc7340f7b2b5f413d8176512502f225e08a25a7b168e6dfe0ee688
6
+ metadata.gz: 93046b87d92e3659017591a506ab9fa637390d43937101a05e179d3423e96120572706d0047f826c280cb2b1caa14c08b42eb5d6e360fbe10b0af5bd5a935261
7
+ data.tar.gz: cb160d1a4407a026fe37ba63ee50d77d491b63f98f669ede35031965c0395bf035befa4f3409e7792be30e96500491b3e255483c8ef6b41663cb5a202a0dc53b
@@ -370,8 +370,32 @@ Init_libdeflate_ext(void)
370
370
  rb_eLibdefalteError = rb_define_class_under(rb_mLibdeflate, "Error", rb_eStandardError);
371
371
  rb_eBadDataError = rb_define_class_under(rb_mLibdeflate, "BadDataError", rb_eLibdefalteError);
372
372
 
373
+ /*
374
+ * Default compression level which is a compromise between speed and compression ratio
375
+ *
376
+ * See Compressor#initialize.
377
+ */
378
+ rb_define_const(rb_mLibdeflate, "DEFAULT_COMPRESSION", INT2FIX(DEFAULT_COMPRESSION));
379
+
380
+ /*
381
+ * DEFLATE compressed data format
382
+ *
383
+ * See Compressor#compress and Decompressor#decompress.
384
+ */
373
385
  rb_define_const(rb_mLibdeflate, "DEFLATE", INT2FIX(FORMAT_DEFLATE));
386
+
387
+ /*
388
+ * ZLIB compressed data format
389
+ *
390
+ * See Compressor#compress and Decompressor#decompress.
391
+ */
374
392
  rb_define_const(rb_mLibdeflate, "ZLIB", INT2FIX(FORMAT_ZLIB));
393
+
394
+ /*
395
+ * GZIP compressed data format
396
+ *
397
+ * See Compressor#compress and Decompressor#decompress.
398
+ */
375
399
  rb_define_const(rb_mLibdeflate, "GZIP", INT2FIX(FORMAT_GZIP));
376
400
 
377
401
  rb_define_module_function(rb_mLibdeflate, "adler32", rb_libdeflate_adler32, -1);
@@ -1,3 +1,3 @@
1
1
  module Libdeflate
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdeflate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Matsumoto