lockr 0.4.4 → 0.4.5

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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/lockr.rb +4 -4
  3. data/lib/lockr/version.rb +2 -2
  4. metadata +13 -22
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7462c0421259aa68f618fed002fc646889a615eb
4
+ data.tar.gz: a3d164b088c4145edd578065fa2ac9aa16d4ac5a
5
+ SHA512:
6
+ metadata.gz: faa4356345ce5db24951360a5b580e36d2d603938bc91f8dbedd5cca998b9e26525c3078e06d2be2c1730ed203c64f4d0f27ce583bcd51e13383790e14026b03
7
+ data.tar.gz: 0f415641ee26e0946c3720fb68bca396ac60858261d10b4755a948ae128501711c15a40d6cc220d7af8b5516d82f4043e4c357977f0085c005f3e4ac701b3f1b
@@ -136,21 +136,21 @@ class Lockr
136
136
  def acquire_additional_input( options)
137
137
  # id is required for all actions except list
138
138
  while options[:id].nil? and %w{ l list}.index( options[:action]).nil?
139
- options[:id] = ask("Id? ") { |q| }
139
+ options[:id] = ask("Id? ") { |q| }.to_s
140
140
  options[:id] = nil if options[:id].strip() == ''
141
141
  end
142
142
 
143
143
  # username is required for actions add, remove
144
144
  actions_requiring_username = %w{ a add r remove}
145
145
  while options[:username].nil? and not actions_requiring_username.index( options[:action]).nil?
146
- options[:username] = ask("Username? ") { |q| }
146
+ options[:username] = ask("Username? ") { |q| }.to_s
147
147
  options[:username] = nil if options[:username].strip == ''
148
148
  end
149
149
 
150
150
  # url is optional for add
151
151
  actions_requiring_url = %w{ a add}
152
152
  if options[:url].nil? and not actions_requiring_url.index( options[:action]).nil?
153
- options[:url] = ask("Url? ") { |q| }
153
+ options[:url] = ask("Url? ") { |q| }.to_s
154
154
  options[:url] = nil if options[:url].strip() == ''
155
155
  end
156
156
  end
@@ -168,7 +168,7 @@ class Lockr
168
168
  case options[:action]
169
169
  when 'a', 'add'
170
170
  if options[:generatepwd].nil?
171
- password = ask("Password? ") { |q| q.echo = "x" }
171
+ password = ask("Password? ") { |q| q.echo = "x" }.to_s
172
172
  else
173
173
  password = PasswordGenerator.new.generate( options[:generatepwd])
174
174
  end
@@ -1,4 +1,4 @@
1
1
  module LockrVer
2
- VERSION = "0.4.4"
3
- DATE = "2013-04-18"
2
+ VERSION = "0.4.5"
3
+ DATE = "2013-11-02"
4
4
  end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
5
- prerelease:
4
+ version: 0.4.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Marc Doerflinger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-18 00:00:00.000000000 Z
11
+ date: 2013-11-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: highline
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.6.13
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.6.13
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.1.4
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.1.4
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: net-sftp
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: 2.0.5
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 2.0.5
62
55
  description: Lockr is a command line based password manager. Passwords are stored
@@ -84,27 +77,25 @@ files:
84
77
  - bin/lockr
85
78
  homepage: http://lockr.byteblues.com/
86
79
  licenses: []
80
+ metadata: {}
87
81
  post_install_message:
88
82
  rdoc_options: []
89
83
  require_paths:
90
84
  - lib
91
85
  required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
86
  requirements:
94
- - - ! '>='
87
+ - - '>='
95
88
  - !ruby/object:Gem::Version
96
89
  version: '0'
97
90
  required_rubygems_version: !ruby/object:Gem::Requirement
98
- none: false
99
91
  requirements:
100
- - - ! '>='
92
+ - - '>='
101
93
  - !ruby/object:Gem::Version
102
94
  version: '0'
103
95
  requirements: []
104
96
  rubyforge_project:
105
- rubygems_version: 1.8.25
97
+ rubygems_version: 2.0.3
106
98
  signing_key:
107
- specification_version: 3
99
+ specification_version: 4
108
100
  summary: Command line based password manager
109
101
  test_files: []
110
- has_rdoc: