keyczar_ruby 0.3.0 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f20cfbfb39c1b26e2bc77583a0799639fea46b2
4
- data.tar.gz: 69709bd1924d897f02e0d80444f51ee6fdd973cf
3
+ metadata.gz: 8cea43c1d58f723838191ff98378271b5f6bb01f
4
+ data.tar.gz: 5a78d97b474e3479ef89e9e8dca27a762f5118fd
5
5
  SHA512:
6
- metadata.gz: b722e4b2c35568ce54e0c2814e154a384cbb22ddba0656cf25cd5e70073253fab90e5e73621ad42e5de3ffe7597d15add9bede2b2b499c579ae06758a5372ed3
7
- data.tar.gz: 160759127324deb7f603553871271865059acb03f37c6c504003b94b6cab8d35df68a1c0c95fd6886cb4f406eddd27538311ceff0ad2bc73226b236299e8cbc7
6
+ metadata.gz: f2e5b90103b0891a95504fa589f846a5255fb0c9aeebe141ed4b20c7b31d46932b642bda76b7e65c115db788570003be4db6ffce609275b6a42f918733a97a2a
7
+ data.tar.gz: f1077de2180349af0208320367268809b63aedcc456db8e3046e30e459cb7be3a60d1979b2d090fff52741902537ab588d8694c2533cd95b0dfcaa6823cf439f
@@ -42,6 +42,7 @@ extern "C" {
42
42
  static VALUE keyczar_encrypt(VALUE self, VALUE plaintext){
43
43
  keyczar::Crypter* crypter;
44
44
  Data_Get_Struct(self, keyczar::Crypter, crypter);
45
+ crypter->set_compression(keyczar::Keyczar::NO_COMPRESSION);
45
46
 
46
47
  Check_Type(plaintext, T_STRING);
47
48
  std::string cryptext=crypter->Encrypt(RSTRING_PTR(plaintext));
@@ -63,6 +64,7 @@ extern "C" {
63
64
  static VALUE keyczar_decrypt(VALUE self, VALUE cryptext){
64
65
  keyczar::Crypter* crypter;
65
66
  Data_Get_Struct(self, keyczar::Crypter, crypter);
67
+ crypter->set_compression(keyczar::Keyczar::NO_COMPRESSION);
66
68
 
67
69
  Check_Type(cryptext, T_STRING);
68
70
  std::string plaintext=crypter->Decrypt(RSTRING_PTR(cryptext));
@@ -1,3 +1,3 @@
1
1
  module Keyczar
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keyczar_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrueCar SF Dev Team