pwl 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,74 +9,120 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-22 00:00:00.000000000 Z
12
+ date: 2012-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: encryptor
16
- requirement: &2153967580 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '1.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153967580
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.1'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: commander
27
- requirement: &2153964800 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
- - - ! '>='
35
+ - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: '0'
37
+ version: '4.1'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *2153964800
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '4.1'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: activesupport
38
- requirement: &2153963440 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.2'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.2'
62
+ - !ruby/object:Gem::Dependency
63
+ name: jbuilder
64
+ requirement: !ruby/object:Gem::Requirement
39
65
  none: false
40
66
  requirements:
41
- - - ! '>='
67
+ - - ~>
42
68
  - !ruby/object:Gem::Version
43
- version: '0'
69
+ version: '0.4'
44
70
  type: :runtime
45
71
  prerelease: false
46
- version_requirements: *2153963440
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.4'
47
78
  - !ruby/object:Gem::Dependency
48
79
  name: rdoc
49
- requirement: &2153962400 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
50
81
  none: false
51
82
  requirements:
52
83
  - - ~>
53
84
  - !ruby/object:Gem::Version
54
- version: '3.12'
85
+ version: '3.1'
55
86
  type: :development
56
87
  prerelease: false
57
- version_requirements: *2153962400
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '3.1'
58
94
  - !ruby/object:Gem::Dependency
59
95
  name: bundler
60
- requirement: &2153960100 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
61
97
  none: false
62
98
  requirements:
63
99
  - - ~>
64
100
  - !ruby/object:Gem::Version
65
- version: 1.0.0
101
+ version: '1.1'
66
102
  type: :development
67
103
  prerelease: false
68
- version_requirements: *2153960100
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '1.1'
69
110
  - !ruby/object:Gem::Dependency
70
111
  name: jeweler
71
- requirement: &2153959260 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
72
113
  none: false
73
114
  requirements:
74
115
  - - ~>
75
116
  - !ruby/object:Gem::Version
76
- version: 1.8.3
117
+ version: '1.8'
77
118
  type: :development
78
119
  prerelease: false
79
- version_requirements: *2153959260
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '1.8'
80
126
  description: pwl is a secure password locker for the commandline
81
127
  email: nerab@gmx.net
82
128
  executables:
@@ -101,22 +147,31 @@ files:
101
147
  - lib/pwl/dialog/cocoa.rb
102
148
  - lib/pwl/dialog/console.rb
103
149
  - lib/pwl/dialog/gnome.rb
150
+ - lib/pwl/locker.rb
104
151
  - lib/pwl/message.rb
105
152
  - lib/pwl/password_policy.rb
106
- - lib/pwl/store.rb
153
+ - lib/pwl/presenter/html.rb
154
+ - lib/pwl/presenter/json.rb
155
+ - lib/pwl/presenter/yaml.rb
107
156
  - pwl.gemspec
108
157
  - templates/export.html.erb
158
+ - test/acceptance/test_add.rb
109
159
  - test/acceptance/test_basics.rb
110
160
  - test/acceptance/test_delete.rb
111
161
  - test/acceptance/test_dialogs.rb
112
162
  - test/acceptance/test_export.rb
163
+ - test/acceptance/test_export_json.rb
164
+ - test/acceptance/test_export_yaml.rb
113
165
  - test/acceptance/test_get.rb
114
166
  - test/acceptance/test_init.rb
115
167
  - test/acceptance/test_list.rb
116
168
  - test/acceptance/test_passwd.rb
117
- - test/acceptance/test_put.rb
118
169
  - test/fixtures/test_all.html
170
+ - test/fixtures/test_all.json
171
+ - test/fixtures/test_all.yaml
119
172
  - test/fixtures/test_empty.html
173
+ - test/fixtures/test_empty.json
174
+ - test/fixtures/test_empty.yaml
120
175
  - test/helper.rb
121
176
  - test/unit/test_error.rb
122
177
  - test/unit/test_message.rb
@@ -140,7 +195,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
195
  version: '0'
141
196
  segments:
142
197
  - 0
143
- hash: -4225901376314280444
198
+ hash: -3750938844335873841
144
199
  required_rubygems_version: !ruby/object:Gem::Requirement
145
200
  none: false
146
201
  requirements:
@@ -149,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
204
  version: '0'
150
205
  requirements: []
151
206
  rubyforge_project:
152
- rubygems_version: 1.8.15
207
+ rubygems_version: 1.8.24
153
208
  signing_key:
154
209
  specification_version: 3
155
210
  summary: Command-line password locker
@@ -1,19 +0,0 @@
1
- require 'helper'
2
-
3
- # Tests `pwl put`
4
- class TestPut < Test::Pwl::AppTestCase
5
- def test_put_blank_key
6
- assert_error('may not be blank', 'put')
7
- end
8
-
9
- def test_put_simple
10
- assert_successful('', 'put foo bar')
11
- assert_successful('^bar$', 'get foo')
12
- end
13
-
14
- def test_put_update
15
- assert_successful('', 'put foo bar')
16
- assert_successful('', 'put foo baz') # just do it twice
17
- assert_successful('^baz$', 'get foo')
18
- end
19
- end