tome 1.0.1 → 1.0.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.
@@ -1,209 +1,209 @@
1
- $usage = <<END
2
- Usage:
3
-
4
- tome set [user@]<domain> [password]
5
-
6
- Create or update the password for an account.
7
- Example: tome set foo@gmail.com
8
-
9
- tome generate [user@]<domain>
10
-
11
- Generate and copy a random password for an account.
12
- Example: tome generate reddit.com
13
-
14
- tome get <pattern>
15
-
16
- Show the passwords for all accounts matching the pattern.
17
- Example: tome get youtube
18
-
19
- tome copy <pattern>
20
-
21
- Copy the password for the account matching the pattern.
22
- Example: tome copy news.ycombinator.com
23
-
24
- tome list
25
-
26
- Show all stored accounts and passwords.
27
- Example: tome list
28
-
29
- tome delete [user@]<domain>
30
-
31
- Delete the password for an account.
32
- Example: tome delete foo@slashdot.org
33
-
34
- tome rename <old> <new>
35
-
36
- Rename the account information stored.
37
- Example: tome rename twitter.com foo@twitter.com
38
-
39
- tome master
40
-
41
- Set the master password.
42
- Example: tome master
43
-
44
- tome help
45
-
46
- Shows help for a specific command.
47
- Example: tome help set
48
-
49
- tome version
50
-
51
- Shows the version of tome.
52
- Example: tome version
53
- END
54
-
55
- $help_usage = <<END
56
- tome help
57
-
58
- Shows help for a specific command.
59
-
60
- Usage:
61
-
62
- tome help
63
- tome help <command>
64
-
65
- Examples:
66
-
67
- tome help
68
- tome help set
69
- tome help help (so meta)
70
-
71
- Alias: help, --help, -h
72
- END
73
-
74
- $set_usage = <<END
75
- tome set
76
-
77
- Create or update the password for an account. The user is optional.
78
- If you do not specify a password, you will be prompted for one.
79
-
80
- Usage:
81
-
82
- tome set [user@]<domain> [password]
83
-
84
- Examples:
85
-
86
- tome set gmail.com
87
- tome set gmail.com p4ssw0rd
88
- tome set foo@gmail.com
89
- tome set foo@gmail.com p4ssw0rd
90
-
91
- Alias: set, s, add
92
- END
93
-
94
- $get_usage = <<END
95
- tome get
96
-
97
- Show the passwords for all accounts matching the pattern.
98
- Matching is done with substring search. Wildcards are not supported.
99
-
100
- Usage:
101
-
102
- tome get <pattern>
103
-
104
- Examples:
105
-
106
- tome get gmail
107
- tome get foo@
108
- tome get foo@gmail.com
109
-
110
- Alias: get, g, show
111
- END
112
-
113
- $delete_usage = <<END
114
- tome delete
115
-
116
- Delete the password for an account.
117
-
118
- Usage:
119
-
120
- tome delete [user@]<domain>
121
-
122
- Examples:
123
-
124
- tome delete gmail.com
125
- tome delete foo@gmail.com
126
-
127
- Alias: delete, del, remove, rm
128
- END
129
-
130
- $generate_usage = <<END
131
- tome generate
132
-
133
- Generate a random password for an account. The user is optional.
134
- The generated password is copied to the clipboard.
135
-
136
- Usage:
137
-
138
- tome generate [user@]<domain>
139
-
140
- Examples:
141
-
142
- tome generate gmail.com
143
- tome generate foo@gmail.com
144
-
145
- Alias: generate, gen
146
- END
147
-
148
- $copy_usage = <<END
149
- tome copy
150
-
151
- Copy the password for the account matching the pattern.
152
- If more than one account matches the pattern, nothing happens.
153
- Matching is done with substring search. Wildcards are not supported.
154
-
155
- Usage:
156
-
157
- tome copy <pattern>
158
-
159
- Examples:
160
-
161
- tome copy gmail
162
- tome copy foo@
163
- tome copy foo@gmail.com
164
-
165
- Alias: copy, cp
166
- END
167
-
168
- $list_usage = <<END
169
- tome list
170
-
171
- Show all stored accounts and passwords.
172
-
173
- Usage:
174
-
175
- tome list
176
-
177
- Examples:
178
-
179
- tome list
180
-
181
- Alias: list, ls
182
- END
183
-
184
- $rename_usage = <<END
185
- tome rename
186
-
187
- Rename the account information stored.
188
-
189
- Usage:
190
-
191
- tome rename <old> <new>
192
-
193
- Examples:
194
-
195
- tome rename gmail.com foo@gmail.com
196
- tome rename foo@gmail.com bar@gmail.com
197
-
198
- Alias: rename, ren, rn
199
- END
200
-
201
- $master_usage = <<END
202
- tome master
203
-
204
- Set the master password.
205
-
206
- Usage:
207
-
208
- tome master
209
- END
1
+ $usage = <<END
2
+ Usage:
3
+
4
+ tome set [user@]<domain> [password]
5
+
6
+ Create or update the password for an account.
7
+ Example: tome set foo@gmail.com
8
+
9
+ tome generate [user@]<domain>
10
+
11
+ Generate and copy a random password for an account.
12
+ Example: tome generate reddit.com
13
+
14
+ tome get <pattern>
15
+
16
+ Show the passwords for all accounts matching the pattern.
17
+ Example: tome get youtube
18
+
19
+ tome copy <pattern>
20
+
21
+ Copy the password for the account matching the pattern.
22
+ Example: tome copy news.ycombinator.com
23
+
24
+ tome list
25
+
26
+ Show all stored accounts and passwords.
27
+ Example: tome list
28
+
29
+ tome delete [user@]<domain>
30
+
31
+ Delete the password for an account.
32
+ Example: tome delete foo@slashdot.org
33
+
34
+ tome rename <old> <new>
35
+
36
+ Rename the account information stored.
37
+ Example: tome rename twitter.com foo@twitter.com
38
+
39
+ tome master
40
+
41
+ Set the master password.
42
+ Example: tome master
43
+
44
+ tome help
45
+
46
+ Shows help for a specific command.
47
+ Example: tome help set
48
+
49
+ tome version
50
+
51
+ Shows the version of tome.
52
+ Example: tome version
53
+ END
54
+
55
+ $help_usage = <<END
56
+ tome help
57
+
58
+ Shows help for a specific command.
59
+
60
+ Usage:
61
+
62
+ tome help
63
+ tome help <command>
64
+
65
+ Examples:
66
+
67
+ tome help
68
+ tome help set
69
+ tome help help (so meta)
70
+
71
+ Alias: help, --help, -h
72
+ END
73
+
74
+ $set_usage = <<END
75
+ tome set
76
+
77
+ Create or update the password for an account. The user is optional.
78
+ If you do not specify a password, you will be prompted for one.
79
+
80
+ Usage:
81
+
82
+ tome set [user@]<domain> [password]
83
+
84
+ Examples:
85
+
86
+ tome set gmail.com
87
+ tome set gmail.com p4ssw0rd
88
+ tome set foo@gmail.com
89
+ tome set foo@gmail.com p4ssw0rd
90
+
91
+ Alias: set, s, add
92
+ END
93
+
94
+ $get_usage = <<END
95
+ tome get
96
+
97
+ Show the passwords for all accounts matching the pattern.
98
+ Matching is done with substring search. Wildcards are not supported.
99
+
100
+ Usage:
101
+
102
+ tome get <pattern>
103
+
104
+ Examples:
105
+
106
+ tome get gmail
107
+ tome get foo@
108
+ tome get foo@gmail.com
109
+
110
+ Alias: get, g, show
111
+ END
112
+
113
+ $delete_usage = <<END
114
+ tome delete
115
+
116
+ Delete the password for an account.
117
+
118
+ Usage:
119
+
120
+ tome delete [user@]<domain>
121
+
122
+ Examples:
123
+
124
+ tome delete gmail.com
125
+ tome delete foo@gmail.com
126
+
127
+ Alias: delete, del, remove, rm
128
+ END
129
+
130
+ $generate_usage = <<END
131
+ tome generate
132
+
133
+ Generate a random password for an account. The user is optional.
134
+ The generated password is copied to the clipboard.
135
+
136
+ Usage:
137
+
138
+ tome generate [user@]<domain>
139
+
140
+ Examples:
141
+
142
+ tome generate gmail.com
143
+ tome generate foo@gmail.com
144
+
145
+ Alias: generate, gen
146
+ END
147
+
148
+ $copy_usage = <<END
149
+ tome copy
150
+
151
+ Copy the password for the account matching the pattern.
152
+ If more than one account matches the pattern, nothing happens.
153
+ Matching is done with substring search. Wildcards are not supported.
154
+
155
+ Usage:
156
+
157
+ tome copy <pattern>
158
+
159
+ Examples:
160
+
161
+ tome copy gmail
162
+ tome copy foo@
163
+ tome copy foo@gmail.com
164
+
165
+ Alias: copy, cp
166
+ END
167
+
168
+ $list_usage = <<END
169
+ tome list
170
+
171
+ Show all stored accounts and passwords.
172
+
173
+ Usage:
174
+
175
+ tome list
176
+
177
+ Examples:
178
+
179
+ tome list
180
+
181
+ Alias: list, ls
182
+ END
183
+
184
+ $rename_usage = <<END
185
+ tome rename
186
+
187
+ Rename the account information stored.
188
+
189
+ Usage:
190
+
191
+ tome rename <old> <new>
192
+
193
+ Examples:
194
+
195
+ tome rename gmail.com foo@gmail.com
196
+ tome rename foo@gmail.com bar@gmail.com
197
+
198
+ Alias: rename, ren, rn
199
+ END
200
+
201
+ $master_usage = <<END
202
+ tome master
203
+
204
+ Set the master password.
205
+
206
+ Usage:
207
+
208
+ tome master
209
+ END
@@ -1 +1,3 @@
1
- $version = '1.0.1'
1
+ module Tome
2
+ VERSION = '1.0.3'
3
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tome
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Chris Schmich
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: passgen
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
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
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: clipboard
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
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
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: ffi
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
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
@@ -62,17 +55,15 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: 0.9.2.2
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: 0.9.2.2
78
69
  description: Lightweight password manager with a humane command-line interface. Manage
@@ -83,44 +74,40 @@ executables:
83
74
  extensions: []
84
75
  extra_rdoc_files: []
85
76
  files:
77
+ - README.md
78
+ - bin/tome
79
+ - lib/tome.rb
86
80
  - lib/tome/command.rb
87
81
  - lib/tome/crypt.rb
88
82
  - lib/tome/padding.rb
89
83
  - lib/tome/tome.rb
90
84
  - lib/tome/usage.rb
91
85
  - lib/tome/version.rb
92
- - lib/tome.rb
93
- - bin/tome
94
- - README.md
95
86
  homepage: https://github.com/schmich/tome
96
- licenses: []
97
- post_install_message: ! '-------------------------------
98
-
99
- Run ''tome help'' to get started.
100
-
87
+ licenses:
88
+ - MIT
89
+ metadata: {}
90
+ post_install_message: |
91
+ -------------------------------
92
+ Run 'tome help' to get started.
101
93
  -------------------------------
102
-
103
- '
104
94
  rdoc_options: []
105
95
  require_paths:
106
96
  - lib
107
97
  required_ruby_version: !ruby/object:Gem::Requirement
108
- none: false
109
98
  requirements:
110
- - - ! '>='
99
+ - - '>='
111
100
  - !ruby/object:Gem::Version
112
101
  version: 1.9.3
113
102
  required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
103
  requirements:
116
- - - ! '>='
104
+ - - '>='
117
105
  - !ruby/object:Gem::Version
118
106
  version: '0'
119
107
  requirements: []
120
108
  rubyforge_project:
121
- rubygems_version: 1.8.24
109
+ rubygems_version: 2.3.0
122
110
  signing_key:
123
- specification_version: 3
111
+ specification_version: 4
124
112
  summary: Lightweight command-line password manager.
125
113
  test_files: []
126
- has_rdoc: