eeny-meeny 2.2.0 → 2.2.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: 9bdb7307a93707a324593a1cb18098053225834c
4
- data.tar.gz: 8e6895a3a9c53cea18980a419fda79ee97eff00b
3
+ metadata.gz: a41d2bcdbde35c876dc16bf000f3fbbf6b88db74
4
+ data.tar.gz: 9a67ccc58b5c803a442b2ad4eae6bf5d3f943c48
5
5
  SHA512:
6
- metadata.gz: 4635a786f22f51f5f9402a7822cd061a3c3cad729448ec323834c5f21b86438fd902d4a2a180d290d25c33a097c5a65136f4c1c6f0b58cfa7632797cb6a7f600
7
- data.tar.gz: '09965f4d8b1685cda659b4e31c0fa8de8b536a78e9976a7a7823b0561933ba1f639722284375e45cb6bad5452f38f199dd81b8121e6fef084ccb93b5d81feb9a'
6
+ metadata.gz: d9b72b27bfcafae526af2566c1db0adc0c8cd717825d376cf68738572c385ac37889c9aa57a593b9364c459a5dbe7c72e88ab2644a84f06f0d1b0e10d657c6b3
7
+ data.tar.gz: '013679315176da558395a14d3f3dbfa66e975b9b1cc97a319164cf1d62c997c7be93905429f947f88a7c89220afe1efc537d4bbb590278a12b778bce01acfeca'
@@ -3,8 +3,7 @@ sudo: false
3
3
  env:
4
4
  - "RAILS_VERSION=4.2.8"
5
5
  rvm:
6
- - 2.0.0
7
- - 2.1.10
8
- - 2.2.7
9
- - 2.3.4
10
- - 2.4.1
6
+ - 2.2.10
7
+ - 2.3.7
8
+ - 2.4.4
9
+ - 2.5.1
@@ -1,3 +1,10 @@
1
+ ### 2.2.1 (2018-09-09)
2
+
3
+ Changes:
4
+
5
+ - Fix `OpenSSL::Cipher::Cipher` deprecation warning in `EenyMeeny::Encryptor`.
6
+ - Update Travis configuration to include Ruby version 2.2 to 2.5.
7
+
1
8
  ### 2.2.0 (2018-07-24)
2
9
 
3
10
  Features:
@@ -3,7 +3,7 @@ require File.expand_path('../lib/eeny-meeny/version', __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'eeny-meeny'
5
5
  s.version = EenyMeeny::VERSION.dup
6
- s.date = '2018-07-24'
6
+ s.date = '2018-09-09'
7
7
  s.summary = "A simple split and smoke testing tool for Rails"
8
8
  s.authors = ["Christian Orthmann"]
9
9
  s.email = 'christian.orthmann@gmail.com'
@@ -92,7 +92,7 @@ module EenyMeeny
92
92
  # Encrypts the given message with a random IV, then returns the ciphertext
93
93
  # with the IV prepended.
94
94
  def encrypt_message(message)
95
- aes = OpenSSL::Cipher::Cipher.new(@cipher).encrypt
95
+ aes = OpenSSL::Cipher.new(@cipher).encrypt
96
96
  aes.key = @encryption_key
97
97
  iv = aes.random_iv
98
98
  aes.iv = iv
@@ -105,7 +105,7 @@ module EenyMeeny
105
105
  # OpenSSL errors and returns nil. But this should never happen, as the
106
106
  # verify method should catch all corrupted ciphertexts.
107
107
  def decrypt_ciphertext(ciphertext)
108
- aes = OpenSSL::Cipher::Cipher.new(@cipher).decrypt
108
+ aes = OpenSSL::Cipher.new(@cipher).decrypt
109
109
  aes.key = @encryption_key
110
110
  iv = ciphertext[0, aes.iv_len]
111
111
  aes.iv = iv
@@ -1,3 +1,3 @@
1
1
  module EenyMeeny
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eeny-meeny
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Orthmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake