snappy 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTdmZWM4Y2U4OTJkYTgxY2E3MDUyYzE2MDZjMGVhMWMyYmJmNWE4Yg==
4
+ ODU1ZGZjMzdjNTA3ZGQyYTA1NWVkMWU4MTUxZGE2ZWFhMmQxZDM5Mw==
5
5
  data.tar.gz: !binary |-
6
- NjFlNmUzMjYwYjFhZjhlZGQ4YTBmODNjZGYyNzU5NDI0ZmVlMzA0Yg==
6
+ ODhjYTAwNzc4ZGY4OGM5NmJkOWUzZTdkOWI5NWQ1NGY4NDU4ZTJlZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTU4ZDY5YzM5M2Q2ZmE5YTU2ZTgwYWUxOTQxZTFkYzk4Y2Q1YmZiMGUxZDBl
10
- Njc5YWVjNzU2YzU3M2MxNDYwYzBiODJkNWI4MWVjZTlmY2E3MDc4YjJlZGNj
11
- YTgwMThhNWExOWQyMTY2Yjc3NzAzNTAwM2ZlMTk2YmZmZWIzMDU=
9
+ MWViMjZmOWIxNTFjMDk0MjQyZTE0MWJmM2EwMzc2NTEzYWNhM2Q4M2Y5NzI0
10
+ NWU5YzFiZmM0ZTA4ZWVhNDRhMTBkZmJmNjQwZjQ3MWE2MTBhYTJlYWY4ZDhh
11
+ NzM1OGU2MDQxZDQwZmE1YjZjZDY0NzJkNTExNzAwOTU3YzMzMzQ=
12
12
  data.tar.gz: !binary |-
13
- OWE4YTI2NWUxODJhN2E2MjBjNWM0OWYzNDJhMzdjMzA4YTFiNjA4YmEwNzUy
14
- MWUxNDdjZmQxMWJmNWNkYmQ5MTE4ODNiMTYwY2I2MDJiMDQ5ZjdmNzM1OGRh
15
- NmYxMzY2YzAwNzI0NjlhYWU2NjRkMGRmZWFjYzBhZTlkMGI2NmE=
13
+ ZThjMmIwYzBhNTM3YjU0ZDNiMWE0N2I4YzYzNThkNmRhYzk1ZWEwZmRmODRk
14
+ NzI0OTZjODMwYjMzYTM2YjYyNmFmOGU0NGRlMGFmY2ZkMzNiYzRlMjhhMDU1
15
+ N2YxNGNmMmY3ODAyZWYxNzJmODQyNWYyYTAwZmZlMmJmZmI4MDU=
data/ext/api.c CHANGED
@@ -88,10 +88,10 @@ void Init_snappy()
88
88
  VALUE rb_mSnappy_singleton = rb_singleton_class(rb_mSnappy);
89
89
 
90
90
  rb_define_alias(rb_mSnappy_singleton, "compress", "deflate");
91
- rb_define_alias(rb_mSnappy_singleton, "load", "deflate");
91
+ rb_define_alias(rb_mSnappy_singleton, "dump", "deflate");
92
92
 
93
93
  rb_define_alias(rb_mSnappy_singleton, "uncompress", "inflate");
94
- rb_define_alias(rb_mSnappy_singleton, "dump", "inflate");
94
+ rb_define_alias(rb_mSnappy_singleton, "load", "inflate");
95
95
 
96
96
  rb_require("snappy/writer");
97
97
  rb_require("snappy/reader");
@@ -1,3 +1,3 @@
1
1
  module Snappy
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/test/test-snappy.rb CHANGED
@@ -15,7 +15,7 @@ describe Snappy do
15
15
  [
16
16
  [:deflate, :inflate],
17
17
  [:compress, :uncompress],
18
- [:load, :dump],
18
+ [:dump, :load],
19
19
  ].each do |(i, o)|
20
20
  Snappy.__send__(o, (Snappy.__send__ i, s)).must_equal(s)
21
21
  eval %{Snappy.#{o}(Snappy.#{i} s).must_equal(s)}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snappy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - miyucy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-23 00:00:00.000000000 Z
11
+ date: 2013-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler