dash 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/dash.rb +2 -2
  2. data/lib/dash/version.rb +1 -1
  3. metadata +2 -2
@@ -1,4 +1,4 @@
1
- require 'digest/sha1'
1
+ require 'digest/sha2'
2
2
  require 'slop'
3
3
 
4
4
  module Dash
@@ -47,6 +47,6 @@ module Dash
47
47
  end
48
48
 
49
49
  def encrypt(key)
50
- Digest::SHA1.hexdigest key
50
+ Digest::SHA2.new(256).hexdigest key
51
51
  end
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module Dash
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dash
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael McClenaghan
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-11 00:00:00 -06:00
13
+ date: 2011-07-18 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency