keystorage 0.4.8 → 0.4.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.8
1
+ 0.4.11
data/keystorage.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "keystorage"
8
- s.version = "0.4.8"
8
+ s.version = "0.4.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = "2012-04-01"
12
+ s.date = "2012-09-20"
13
13
  s.description = "This is a command to store and manage your passwords."
14
14
  s.email = "y.takahara@gmail.com"
15
15
  s.executables = ["keystorage"]
@@ -90,7 +90,7 @@ module Keystorage
90
90
  def encode(str,salt="3Qw9EtWE")
91
91
  enc = OpenSSL::Cipher::Cipher.new('aes256')
92
92
  enc.encrypt.pkcs5_keyivgen(salt)
93
- ((enc.update(str) + enc.final).unpack("H*")).to_s
93
+ ((enc.update(str) + enc.final).unpack("H*")).first.to_s
94
94
  end
95
95
 
96
96
  def decode(str,salt="3Qw9EtWE")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystorage
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 8
10
- version: 0.4.8
9
+ - 11
10
+ version: 0.4.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-01 00:00:00 Z
18
+ date: 2012-09-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement