keyrack 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/keyrack/runner.rb +1 -1
- data/test/keyrack/test_runner.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/lib/keyrack/runner.rb
CHANGED
|
@@ -13,7 +13,7 @@ module Keyrack
|
|
|
13
13
|
@options = YAML.load_file(File.expand_path(options[:config_path]))
|
|
14
14
|
@ui = UI::Console.new
|
|
15
15
|
password = @ui.get_password
|
|
16
|
-
@database = Database.new(@options.merge(
|
|
16
|
+
@database = Database.new(@options.merge('password' => password))
|
|
17
17
|
@ui.database = @database
|
|
18
18
|
|
|
19
19
|
main_loop
|
data/test/keyrack/test_runner.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Keyrack
|
|
|
16
16
|
|
|
17
17
|
seq = sequence('ui sequence')
|
|
18
18
|
console.expects(:get_password).returns('secret').in_sequence(seq)
|
|
19
|
-
Database.expects(:new).with(config.merge(
|
|
19
|
+
Database.expects(:new).with(config.merge('password' => 'secret')).returns(database).in_sequence(seq)
|
|
20
20
|
console.expects(:database=).with(database).in_sequence(seq)
|
|
21
21
|
console.expects(:menu).returns(:new).in_sequence(seq)
|
|
22
22
|
console.expects(:get_new_entry).returns({:site => "Foo", :username => "bar", :password => "baz"}).in_sequence(seq)
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.1.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Jeremy Stephens
|
|
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
168
168
|
requirements:
|
|
169
169
|
- - ">="
|
|
170
170
|
- !ruby/object:Gem::Version
|
|
171
|
-
hash:
|
|
171
|
+
hash: -3357719399858262545
|
|
172
172
|
segments:
|
|
173
173
|
- 0
|
|
174
174
|
version: "0"
|