passw3rd 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,5 @@
1
- ![Build status](/https://secure.travis-ci.org/oreoshake/passw3rd.png)
1
+ ![Build status](https://secure.travis-ci.org/oreoshake/passw3rd.png)
2
2
 
3
- ------------------------------------------------------------------------------
4
3
  Introduction
5
4
  ------------------------------------------------------------------------------
6
5
 
@@ -20,19 +19,19 @@ Some advantages of keeping credentials out of source code are:
20
19
  general. If changing a credential requires you to change code, you are less
21
20
  likely to want to do it.
22
21
 
23
- ------------------------------------------------------------------------------
22
+
24
23
  Status
25
24
  ------------------------------------------------------------------------------
26
25
 
27
- This project is IN PROGRESS. All features and functionality are not working yet.
26
+ This project is IN PROGRESS. File bugs and feature requests.
27
+
28
28
 
29
- ------------------------------------------------------------------------------
30
29
  License
31
30
  ------------------------------------------------------------------------------
32
31
 
33
32
  License: MIT (see LICENSE file)
34
33
 
35
- ------------------------------------------------------------------------------
34
+
36
35
  Credits
37
36
  ------------------------------------------------------------------------------
38
37
 
@@ -34,8 +34,8 @@ module Passw3rd
34
34
  key = cipher.random_key
35
35
 
36
36
  begin
37
- File.open(path + KEY_FILE, 'w') {|f| f.write(key.unpack("H*")) }
38
- File.open(path + IV_FILE, 'w') {|f| f.write(iv.unpack("H*")) }
37
+ File.open(path + KEY_FILE, 'w') {|f| f.write(key.unpack("H*").join) }
38
+ File.open(path + IV_FILE, 'w') {|f| f.write(iv.unpack("H*").join) }
39
39
  rescue
40
40
  puts "Couldn't write key/IV to #{path}\n"
41
41
  raise $!
@@ -1,3 +1,3 @@
1
1
  module Passw3rd
2
- Version = VERSION = '0.0.9'
2
+ Version = VERSION = '0.0.10'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'test/unit'
3
3
  require 'tmpdir'
4
- require 'active_support/secure_random'
4
+ require 'SecureRandom'
5
5
 
6
6
  require File.expand_path('../../lib/passw3rd.rb', __FILE__)
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passw3rd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-03 00:00:00.000000000Z
12
+ date: 2011-10-13 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Generate a key/iv file, generate passwords, and store encrypted files
15
15
  in source control, keep the key/iv safe!