gibberish 2.1.0 → 2.1.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
- SHA1:
3
- metadata.gz: b8f6e39b2f444cc63b01d4c85de9ae56e4de94a8
4
- data.tar.gz: 943a5d8455da5d8abd7e94fea764c636f5499303
2
+ SHA256:
3
+ metadata.gz: d18eb9193277e296d4871d2189ab28493f1b302c3f5db5a9e3e768d44e88aca6
4
+ data.tar.gz: '09de455531220e82d598bc363267c8c7976c6cf86ce94af6925fa9d44e392e76'
5
5
  SHA512:
6
- metadata.gz: b97bcb2a0af4b5e1c842b947f3678fda57af645086f8369b609c512849f3c9742e227928662eaf313f1d9fec2dc29ea5b0899145cdd3a7257c0fcb0d611ef1cf
7
- data.tar.gz: 224bc3bfc9dd905ee26a74c2eb62f1bfa76124231588e4b021a8df7a867f74b9d7a0639ee86a1ef7821c8cce416df64ae1ccfe20bf1c546597348f817aba4455
6
+ metadata.gz: 915242fb823425d44d1613e0366a39938d5f0c182044db37b0a19a5acb14ef594925448f0131800207a77cbb08536a34169469458f2ba8cfb09aeaa1dc5d88eb
7
+ data.tar.gz: 5009385c6aec8312686c8c45b81d150fa0503cd613a0ca9e6b3f39c193f991ecc330ae92ea0c5a29ac8c57c9eb4b963225b2da81f772d61a0c7407c1cf1e607a
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.0
4
- - 2.0.0
3
+ - 2.6
4
+ - 2.1
5
+ - 2.0
@@ -1,3 +1,6 @@
1
+ ### v2.1.1
2
+ * Fix deprection warning on OpenSSL::Cipher [PR#27](https://github.com/mdp/gibberish/pull/27)
3
+
1
4
  ### v2.1.0
2
5
  * Improve exception handling [PR#25](https://github.com/mdp/gibberish/pull/25)
3
6
 
@@ -1,5 +1,7 @@
1
1
  # Gibberish - A ruby encryption library
2
- [![Travis](https://secure.travis-ci.org/mdp/gibberish.png)](https://travis-ci.org/mdp/gibberish)
2
+ [![Travis](https://travis-ci.org/mdp/gibberish.svg?branch=master)](https://travis-ci.org/mdp/gibberish)
3
+
4
+ **Note: It's 2017 and if you're looking for a modern and actively maintained Ruby encryption library you should do yourself a favor and check out [RbNaCl](https://github.com/cryptosphere/rbnacl). Gibberish was started in 2011 when encryption on Ruby was not a trivial matter, however thanks to projects like [NaCl](https://nacl.cr.yp.to/) and [LibSodium](https://download.libsodium.org/doc/) that's no longer the case.**
3
5
 
4
6
  *NOTICE: Breaking Changes in 2.0*
5
7
 
@@ -219,7 +219,7 @@ module Gibberish
219
219
  @password = password
220
220
  @size = size
221
221
  @mode = mode
222
- @cipher = OpenSSL::Cipher::Cipher.new("aes-#{size}-#{mode}")
222
+ @cipher = OpenSSL::Cipher.new("aes-#{size}-#{mode}")
223
223
  end
224
224
 
225
225
  def encrypt(data, opts={})
@@ -42,7 +42,7 @@ module Gibberish
42
42
 
43
43
  def initialize(key)
44
44
  @key = key
45
- @cipher = OpenSSL::Cipher::Cipher.new('aes-256-cbc')
45
+ @cipher = OpenSSL::Cipher.new('aes-256-cbc')
46
46
  end
47
47
 
48
48
  def public_key
@@ -1,3 +1,3 @@
1
1
  module Gibberish
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gibberish
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Percival
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Supports SJCL compatible AES encryption, HMAC, and Digests
14
14
  email:
@@ -66,21 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  requirements: []
68
68
  rubyforge_project: gibberish
69
- rubygems_version: 2.2.2
69
+ rubygems_version: 2.7.6
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: An opinionated ruby encryption library
73
- test_files:
74
- - spec/aes_benchmark.rb
75
- - spec/aes_spec.rb
76
- - spec/digest_spec.rb
77
- - spec/fixtures/secret.txt
78
- - spec/hmac_spec.rb
79
- - spec/openssl/plaintext.aes
80
- - spec/openssl/plaintext.crypted
81
- - spec/openssl/plaintext.txt
82
- - spec/openssl/private.pem
83
- - spec/openssl/public.pem
84
- - spec/rsa_spec.rb
85
- - spec/spec_helper.rb
86
- has_rdoc:
73
+ test_files: []