pws 0.1.0.pre → 0.1.0
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/README +5 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/bin/pws +3 -2
- data/lib/pws.rb +1 -0
- data/pws.gemspec +9 -7
- metadata +12 -13
- data/.document +0 -5
data/README
ADDED
data/Rakefile
CHANGED
|
@@ -5,9 +5,9 @@ begin
|
|
|
5
5
|
require 'jeweler'
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
|
7
7
|
gem.name = "pws"
|
|
8
|
-
gem.summary = %Q{pws is a little
|
|
8
|
+
gem.summary = %Q{pws is a little password safe. See pws help for more information}
|
|
9
9
|
gem.email = "mail@janlelis.de"
|
|
10
|
-
gem.homepage = "http://rbjl.net/41"
|
|
10
|
+
gem.homepage = "http://rbjl.net/41-tutorial-build-your-own-password-safe-with-ruby"
|
|
11
11
|
gem.authors = ["Jan Lelis"]
|
|
12
12
|
gem.executables = %w[pws]
|
|
13
13
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.0
|
|
1
|
+
0.1.0
|
data/bin/pws
CHANGED
|
@@ -195,9 +195,10 @@ class PasswordSafe
|
|
|
195
195
|
end
|
|
196
196
|
|
|
197
197
|
# Command line action
|
|
198
|
-
if standalone? # using zucker/kernel (instead of __FILE__ == $0)
|
|
198
|
+
#if standalone? # using zucker/kernel (instead of __FILE__ == $0)
|
|
199
199
|
if $*.empty?
|
|
200
200
|
action = :show
|
|
201
|
+
args = []
|
|
201
202
|
else
|
|
202
203
|
action = $*.shift[/^-{0,2}(.*)$/, 1].to_sym # also accept first argument, if it is prefixed with - or --
|
|
203
204
|
args = [*$*]
|
|
@@ -239,6 +240,6 @@ if standalone? # using zucker/kernel (instead of __FILE__ == $0)
|
|
|
239
240
|
rescue PasswordSafe::NoAccess => e
|
|
240
241
|
warn e.message
|
|
241
242
|
end
|
|
242
|
-
end
|
|
243
|
+
#end
|
|
243
244
|
|
|
244
245
|
# J-_-L
|
data/lib/pws.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
load File.expand_path( '../bin/pws', File.dirname(__FILE__) )
|
data/pws.gemspec
CHANGED
|
@@ -5,31 +5,33 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{pws}
|
|
8
|
-
s.version = "0.1.0
|
|
8
|
+
s.version = "0.1.0"
|
|
9
9
|
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jan Lelis"]
|
|
12
12
|
s.date = %q{2010-11-01}
|
|
13
13
|
s.default_executable = %q{pws}
|
|
14
14
|
s.email = %q{mail@janlelis.de}
|
|
15
15
|
s.executables = ["pws"]
|
|
16
16
|
s.extra_rdoc_files = [
|
|
17
|
-
"LICENSE"
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README"
|
|
18
19
|
]
|
|
19
20
|
s.files = [
|
|
20
|
-
".
|
|
21
|
-
".gitignore",
|
|
21
|
+
".gitignore",
|
|
22
22
|
"LICENSE",
|
|
23
|
+
"README",
|
|
23
24
|
"Rakefile",
|
|
24
25
|
"VERSION",
|
|
25
26
|
"bin/pws",
|
|
27
|
+
"lib/pws.rb",
|
|
26
28
|
"pws.gemspec"
|
|
27
29
|
]
|
|
28
|
-
s.homepage = %q{http://rbjl.net/41}
|
|
30
|
+
s.homepage = %q{http://rbjl.net/41-tutorial-build-your-own-password-safe-with-ruby}
|
|
29
31
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
30
32
|
s.require_paths = ["lib"]
|
|
31
33
|
s.rubygems_version = %q{1.3.7}
|
|
32
|
-
s.summary = %q{pws is a little
|
|
34
|
+
s.summary = %q{pws is a little password safe. See pws help for more information}
|
|
33
35
|
|
|
34
36
|
if s.respond_to? :specification_version then
|
|
35
37
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 27
|
|
5
|
+
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
9
|
- 0
|
|
10
|
-
|
|
11
|
-
version: 0.1.0.pre
|
|
10
|
+
version: 0.1.0
|
|
12
11
|
platform: ruby
|
|
13
12
|
authors:
|
|
14
13
|
- Jan Lelis
|
|
@@ -28,16 +27,18 @@ extensions: []
|
|
|
28
27
|
|
|
29
28
|
extra_rdoc_files:
|
|
30
29
|
- LICENSE
|
|
30
|
+
- README
|
|
31
31
|
files:
|
|
32
|
-
- .document
|
|
33
32
|
- .gitignore
|
|
34
33
|
- LICENSE
|
|
34
|
+
- README
|
|
35
35
|
- Rakefile
|
|
36
36
|
- VERSION
|
|
37
37
|
- bin/pws
|
|
38
|
+
- lib/pws.rb
|
|
38
39
|
- pws.gemspec
|
|
39
40
|
has_rdoc: true
|
|
40
|
-
homepage: http://rbjl.net/41
|
|
41
|
+
homepage: http://rbjl.net/41-tutorial-build-your-own-password-safe-with-ruby
|
|
41
42
|
licenses: []
|
|
42
43
|
|
|
43
44
|
post_install_message:
|
|
@@ -57,20 +58,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
57
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
59
|
none: false
|
|
59
60
|
requirements:
|
|
60
|
-
- - "
|
|
61
|
+
- - ">="
|
|
61
62
|
- !ruby/object:Gem::Version
|
|
62
|
-
hash:
|
|
63
|
+
hash: 3
|
|
63
64
|
segments:
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
- 1
|
|
67
|
-
version: 1.3.1
|
|
65
|
+
- 0
|
|
66
|
+
version: "0"
|
|
68
67
|
requirements: []
|
|
69
68
|
|
|
70
69
|
rubyforge_project:
|
|
71
70
|
rubygems_version: 1.3.7
|
|
72
71
|
signing_key:
|
|
73
72
|
specification_version: 3
|
|
74
|
-
summary: pws is a little
|
|
73
|
+
summary: pws is a little password safe. See pws help for more information
|
|
75
74
|
test_files: []
|
|
76
75
|
|