gibberish 1.3.1 → 1.4.0

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: 8c83983d7b49f4602074981db57d824c5192d1fd
4
- data.tar.gz: 155562f750efe604ba2f5af4ae21c327705519cb
3
+ metadata.gz: fb91ee54144607b435939ae489177ad3d945c289
4
+ data.tar.gz: 77d0ad48cb4b73c17c668551b22bb6174d3dd514
5
5
  SHA512:
6
- metadata.gz: 4eb9f30edb1073003b327918ad421229c63cc3fc8abc49f3f55e88b91f2d528fe56e472d69dbf3b7811cab109352e790bd09c26dd07785841996c7b601831e5e
7
- data.tar.gz: ac672b666f806f45b85249983c247a19161641cb0abba0e57ec1b6405b7e014ec4e0896784799ff527c911c3fbcfc4ea04c46e5fabc126a8108d4fd9ee0641d2
6
+ metadata.gz: 1d74406ff02f4149972d6c43fc87e87074ab6627273dfc2f4469107516a9dc466887704eb783ccf544ded546903e1a1ec3fca1383b63f60dfc56c420e5a7fa97
7
+ data.tar.gz: 18888bca02b332aa695ae348025a2609538787e1c9e8f9fad27efa80c347dee1f20b4ff51d54fc75a563086a90d7f1783922571c289f389e21f759a5dc002c4b
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.1.0
4
+ - 2.0.0
3
5
  - 1.9.3
4
- - 1.8.7
5
- - ree
@@ -1,3 +1,6 @@
1
+ ### v1.4.0
2
+ * Fix deprecation. Support for 1.8.7 is deprecated, so bumping minor rev [PR #15](https://github.com/mdp/gibberish/pull/15)
3
+
1
4
  ### v1.3.1
2
5
  * Better errors [PR #14](https://github.com/mdp/gibberish/pull/14)
3
6
 
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ desc "run specs"
2
2
  task :spec do
3
3
  $LOAD_PATH.unshift '.', 'spec', 'lib'
4
4
  require 'spec/spec_helper'
5
- MiniTest::Unit.autorun
5
+ Minitest.autorun
6
6
  Dir.glob('spec/**/*_spec.rb') do |file|
7
7
  load file
8
8
  end
@@ -25,11 +25,11 @@ module Gibberish
25
25
  #
26
26
  class HMAC
27
27
  DIGEST = {
28
- :sha1 => OpenSSL::Digest::Digest.new('sha1'),
29
- :sha224 => OpenSSL::Digest::Digest.new('sha224'),
30
- :sha256 => OpenSSL::Digest::Digest.new('sha256'),
31
- :sha384 => OpenSSL::Digest::Digest.new('sha384'),
32
- :sha512 => OpenSSL::Digest::Digest.new('sha512')
28
+ :sha1 => OpenSSL::Digest.new('sha1'),
29
+ :sha224 => OpenSSL::Digest.new('sha224'),
30
+ :sha256 => OpenSSL::Digest.new('sha256'),
31
+ :sha384 => OpenSSL::Digest.new('sha384'),
32
+ :sha512 => OpenSSL::Digest.new('sha512')
33
33
  }
34
34
 
35
35
  # Returns the HMAC for the key and data
@@ -1,3 +1,3 @@
1
1
  module Gibberish
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.0"
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: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Percival
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-17 00:00:00.000000000 Z
11
+ date: 2014-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Supports OpenSSL compatible AES, HMAC, and RSA encryption
14
14
  email: