password_changer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23fe5e076e1c7c58f8b003ba8b82e18482f37293
4
- data.tar.gz: 29bd348f7f369174059c9b570ab9a8946ff166ac
3
+ metadata.gz: 138f938060789b2765c663c15a0a50a2be208d81
4
+ data.tar.gz: 4692c501dfcdece79af4c3e371199aacb0d8855b
5
5
  SHA512:
6
- metadata.gz: a81b2c43a2e8c641cd3b3319b4431e91916e8cfdb97be4405b6ed6c1eacfe1a60400d8d42b59fd20b9b0b146aed52e3947d310cdc95f4cff36966bf692688c14
7
- data.tar.gz: b07245f49f353c6c594b6011238f25a4bfa8d335ca9083ffbc14f68a85ea2568e6f09031d335f319cb13e1bd6e5c140639bd1e9bb04baaeb358931b46dfd1be9
6
+ metadata.gz: 42f7e0ee236fe0f37cb113134c0c20f20722940dced1f83b35f22d1b99852dd9209f9a3aeb80e62a97152c9399b2ce3f4af7efad18f045b0805ca8c119b6b8c2
7
+ data.tar.gz: 915c2ca2be6028aba66e9eb4a7d1e9c3aec2c5b10f027e21062fbfd91aae703593342559fc1b0d714d0ff3813e48c9ddd1fb66a6785ddd4b7bef7ec8d9e41e6e
@@ -4,6 +4,7 @@ PATH
4
4
  password_changer (0.0.3)
5
5
  fedux_org-stdlib (>= 0.6.50)
6
6
  highline
7
+ hirb
7
8
  i18n
8
9
  levenshtein-ffi
9
10
  thor
@@ -26,7 +27,7 @@ GEM
26
27
  remote: https://rubygems.org/
27
28
  specs:
28
29
  abstract_type (0.0.7)
29
- activesupport (4.1.4)
30
+ activesupport (4.1.6)
30
31
  i18n (~> 0.6, >= 0.6.9)
31
32
  json (~> 1.7, >= 1.7.7)
32
33
  minitest (~> 5.1)
@@ -40,27 +41,30 @@ GEM
40
41
  abstract_type (~> 0.0.7)
41
42
  adamantium (~> 0.1)
42
43
  equalizer (~> 0.0.8)
43
- aruba (0.6.0)
44
+ aruba (0.6.1)
44
45
  childprocess (>= 0.3.6)
45
46
  cucumber (>= 1.1.1)
46
47
  rspec-expectations (>= 2.7.0)
47
48
  ast (2.0.0)
49
+ astrolabe (1.3.0)
50
+ parser (>= 2.2.0.pre.3, < 3.0)
48
51
  awesome_print (1.2.0)
49
52
  blockenspiel (0.4.5)
50
53
  builder (3.2.2)
51
- byebug (2.7.0)
52
- columnize (~> 0.3)
54
+ byebug (3.5.1)
55
+ columnize (~> 0.8)
53
56
  debugger-linecache (~> 1.2)
54
- capybara (2.4.1)
57
+ slop (~> 3.6)
58
+ capybara (2.4.4)
55
59
  mime-types (>= 1.16)
56
60
  nokogiri (>= 1.3.3)
57
61
  rack (>= 1.0.0)
58
62
  rack-test (>= 0.5.4)
59
63
  xpath (~> 2.0)
60
- capybara-webkit (1.1.0)
61
- capybara (~> 2.0, >= 2.0.2)
64
+ capybara-webkit (1.3.0)
65
+ capybara (>= 2.0.2, < 2.5.0)
62
66
  json
63
- childprocess (0.5.3)
67
+ childprocess (0.5.5)
64
68
  ffi (~> 1.0, >= 1.0.11)
65
69
  cliver (0.3.2)
66
70
  coderay (1.1.0)
@@ -78,7 +82,7 @@ GEM
78
82
  simplecov (>= 0.7)
79
83
  term-ansicolor
80
84
  thor
81
- cucumber (1.3.16)
85
+ cucumber (1.3.17)
82
86
  builder (>= 2.1.2)
83
87
  diff-lcs (>= 1.1.3)
84
88
  gherkin (~> 2.12)
@@ -92,12 +96,12 @@ GEM
92
96
  dotenv-deployment (0.0.2)
93
97
  equalizer (0.0.9)
94
98
  erubis (2.7.0)
95
- fedux_org-stdlib (0.7.6)
99
+ fedux_org-stdlib (0.7.33)
96
100
  activesupport
97
- ffi (1.9.3)
101
+ ffi (1.9.6)
98
102
  filegen (0.4.3)
99
103
  activesupport
100
- foreman (0.74.0)
104
+ foreman (0.75.0)
101
105
  dotenv (~> 0.11.1)
102
106
  thor (~> 0.19.1)
103
107
  fuubar (2.0.0)
@@ -105,15 +109,16 @@ GEM
105
109
  ruby-progressbar (~> 1.4)
106
110
  gherkin (2.12.2)
107
111
  multi_json (~> 1.3)
108
- github-markup (1.2.1)
112
+ github-markup (1.3.0)
109
113
  posix-spawn (~> 0.3.8)
110
114
  highline (1.6.21)
115
+ hirb (0.7.2)
111
116
  httparty (0.13.1)
112
117
  json (~> 1.8)
113
118
  multi_xml (>= 0.5.2)
114
119
  i18n (0.6.11)
115
120
  ice_nine (0.11.0)
116
- inch (0.4.10)
121
+ inch (0.5.4)
117
122
  pry
118
123
  sparkr (>= 0.2.0)
119
124
  term-ansicolor
@@ -134,9 +139,9 @@ GEM
134
139
  memoizable (0.4.2)
135
140
  thread_safe (~> 0.3, >= 0.3.1)
136
141
  method_source (0.8.2)
137
- mime-types (2.3)
142
+ mime-types (2.4.2)
138
143
  mini_portile (0.6.0)
139
- minitest (5.4.0)
144
+ minitest (5.4.2)
140
145
  morpher (0.2.3)
141
146
  abstract_type (~> 0.0.7)
142
147
  adamantium (~> 0.2.0)
@@ -149,7 +154,7 @@ GEM
149
154
  multi_json (1.10.1)
150
155
  multi_test (0.1.1)
151
156
  multi_xml (0.5.5)
152
- mutant (0.6.0)
157
+ mutant (0.6.3)
153
158
  abstract_type (~> 0.0.7)
154
159
  adamantium (~> 0.2.0)
155
160
  anima (~> 0.2.0)
@@ -161,18 +166,18 @@ GEM
161
166
  inflecto (~> 0.0.2)
162
167
  memoizable (~> 0.4.2)
163
168
  morpher (~> 0.2.3)
164
- parallel (~> 1.2.0)
169
+ parallel (~> 1.3)
165
170
  parser (~> 2.1)
166
171
  procto (~> 0.0.2)
167
172
  unparser (~> 0.1.14)
168
- mutant-rspec (0.6.0)
169
- mutant (~> 0.6.0)
170
- rspec-core (>= 2.14.1, < 3.1.0)
171
- netrc (0.7.7)
173
+ mutant-rspec (0.6.3)
174
+ mutant (~> 0.6.3)
175
+ rspec-core (>= 2.14.1, < 3.2.0)
176
+ netrc (0.8.0)
172
177
  nokogiri (1.6.3.1)
173
178
  mini_portile (= 0.6.0)
174
- parallel (1.2.4)
175
- parser (2.1.9)
179
+ parallel (1.3.3)
180
+ parser (2.2.0.pre.5)
176
181
  ast (>= 1.1, < 3.0)
177
182
  slop (~> 3.4, >= 3.4.5)
178
183
  poltergeist (1.5.1)
@@ -187,8 +192,8 @@ GEM
187
192
  coderay (~> 1.1.0)
188
193
  method_source (~> 0.8.1)
189
194
  slop (~> 3.4)
190
- pry-byebug (1.3.3)
191
- byebug (~> 2.7)
195
+ pry-byebug (2.0.0)
196
+ byebug (~> 3.4)
192
197
  pry (~> 0.10)
193
198
  pry-doc (0.6.0)
194
199
  pry (~> 0.9)
@@ -198,36 +203,36 @@ GEM
198
203
  rack (>= 1.0)
199
204
  rainbow (2.0.0)
200
205
  rake (10.3.2)
201
- redcarpet (3.1.2)
206
+ redcarpet (3.2.0)
202
207
  rest-client (1.7.2)
203
208
  mime-types (>= 1.16, < 3.0)
204
209
  netrc (~> 0.7)
205
- rspec (3.0.0)
206
- rspec-core (~> 3.0.0)
207
- rspec-expectations (~> 3.0.0)
208
- rspec-mocks (~> 3.0.0)
209
- rspec-core (3.0.4)
210
- rspec-support (~> 3.0.0)
211
- rspec-expectations (3.0.4)
210
+ rspec (3.1.0)
211
+ rspec-core (~> 3.1.0)
212
+ rspec-expectations (~> 3.1.0)
213
+ rspec-mocks (~> 3.1.0)
214
+ rspec-core (3.1.7)
215
+ rspec-support (~> 3.1.0)
216
+ rspec-expectations (3.1.2)
212
217
  diff-lcs (>= 1.2.0, < 2.0)
213
- rspec-support (~> 3.0.0)
218
+ rspec-support (~> 3.1.0)
214
219
  rspec-legacy_formatters (1.0.0)
215
220
  rspec-core (>= 3.0.0.beta2)
216
221
  rspec-support (>= 3.0.0.beta2)
217
- rspec-mocks (3.0.4)
218
- rspec-support (~> 3.0.0)
219
- rspec-support (3.0.4)
220
- rubocop (0.23.0)
221
- json (>= 1.7.7, < 2)
222
- parser (~> 2.1.9)
222
+ rspec-mocks (3.1.3)
223
+ rspec-support (~> 3.1.0)
224
+ rspec-support (3.1.2)
225
+ rubocop (0.26.1)
226
+ astrolabe (~> 1.3)
227
+ parser (>= 2.2.0.pre.4, < 3.0)
223
228
  powerpack (~> 0.0.6)
224
229
  rainbow (>= 1.99.1, < 3.0)
225
230
  ruby-progressbar (~> 1.4)
226
- ruby-progressbar (1.5.1)
227
- sequel (4.13.0)
228
- simplecov (0.9.0)
231
+ ruby-progressbar (1.6.0)
232
+ sequel (4.15.0)
233
+ simplecov (0.9.1)
229
234
  docile (~> 1.1.0)
230
- multi_json
235
+ multi_json (~> 1.0)
231
236
  simplecov-html (~> 0.8.0)
232
237
  simplecov-html (0.8.0)
233
238
  slop (3.6.0)
@@ -238,23 +243,23 @@ GEM
238
243
  tins (~> 1.0)
239
244
  thor (0.19.1)
240
245
  thread_safe (0.3.4)
241
- tins (1.3.1)
246
+ tins (1.3.3)
242
247
  tmrb (1.2.7)
243
248
  thor
244
249
  travis-lint (2.0.0)
245
250
  json
246
251
  tzinfo (1.2.2)
247
252
  thread_safe (~> 0.1)
248
- unparser (0.1.14)
253
+ unparser (0.1.15)
249
254
  abstract_type (~> 0.0.7)
250
255
  adamantium (~> 0.2.0)
251
256
  concord (~> 0.1.5)
252
257
  equalizer (~> 0.0.9)
253
- parser (~> 2.1)
258
+ parser (~> 2.2.0.pre.4)
254
259
  procto (~> 0.0.2)
255
260
  versionomy (0.4.4)
256
261
  blockenspiel (>= 0.4.5)
257
- websocket-driver (0.3.4)
262
+ websocket-driver (0.3.5)
258
263
  xml-simple (1.1.4)
259
264
  xpath (2.0.0)
260
265
  nokogiri (~> 1.3)
@@ -1,4 +1,4 @@
1
- require "password_changer/product_xyz/version"
1
+ require "password_changer-product_xyz/version"
2
2
 
3
3
  module PasswordChanger
4
4
  module ProductXyz
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'password_changer/product_xyz/version'
4
+ require 'password_changer-product_xyz/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'password_changer-product_xyz'
@@ -0,0 +1,7 @@
1
+ require 'password_changer-test/version'
2
+ require 'password_changer-test/changer'
3
+
4
+ module PasswordChanger
5
+ module Test
6
+ end
7
+ end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'password_changer/test/version'
4
+ require 'password_changer-test/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "password_changer-test"
@@ -9,8 +9,7 @@ module PasswordChanger
9
9
  option :output_format, %w(csv)
10
10
  option :show_screenshot_on_error, true
11
11
  option :viewer_command, 'xdg-open'
12
- option :plugin_whitelist, []
13
- option :plugin_blacklist, []
12
+ option :plugins, []
14
13
 
15
14
  private
16
15
 
@@ -19,7 +19,7 @@ module PasswordChanger
19
19
  option :viewer_command, default: PasswordChanger.config.viewer_command, desc: 'Command to show screenshot'
20
20
  desc 'start', 'Start password change'
21
21
  def start
22
- PasswordChanger.load_plugins
22
+ PasswordChanger.plugin_manager.activate_plugin(*PasswordChanger.config.plugins)
23
23
 
24
24
  PasswordChanger.enable_debug_mode if options[:debug_mode]
25
25
  PasswordChanger.enable_verbose_mode if options[:verbose]
@@ -4,7 +4,7 @@ module PasswordChanger
4
4
  @logger = Logger.new
5
5
  @config = ApplicationConfig.new
6
6
  @debug_mode = false
7
- @plugin_manager = PluginManager.new(whitelist: @config.plugin_whitelist, blacklist: @config.plugin_blacklist)
7
+ @plugin_manager = PluginManager.new
8
8
 
9
9
  class << self
10
10
  attr_reader :logger, :config, :plugin_manager, :plugin_prefix
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
  # PasswordChanger
3
3
  module PasswordChanger
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.add_runtime_dependency 'thor'
21
21
  spec.add_runtime_dependency 'highline'
22
22
  spec.add_runtime_dependency 'i18n'
23
+ spec.add_runtime_dependency 'hirb'
23
24
 
24
25
  spec.add_dependency 'fedux_org-stdlib', '>= 0.6.50'
25
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password_changer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Günnewig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: levenshtein-ffi
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: hirb
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: fedux_org-stdlib
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -117,15 +131,16 @@ files:
117
131
  - fixtures/password_changer-product_xyz/LICENSE.txt
118
132
  - fixtures/password_changer-product_xyz/README.md
119
133
  - fixtures/password_changer-product_xyz/Rakefile
120
- - fixtures/password_changer-product_xyz/lib/password_changer/product_xyz.rb
121
- - fixtures/password_changer-product_xyz/lib/password_changer/product_xyz/version.rb
134
+ - fixtures/password_changer-product_xyz/lib/password_changer-product_xyz.rb
135
+ - fixtures/password_changer-product_xyz/lib/password_changer-product_xyz/version.rb
122
136
  - fixtures/password_changer-product_xyz/password_changer-product_xyz.gemspec
123
137
  - fixtures/password_changer-test/LICENSE.txt
124
138
  - fixtures/password_changer-test/README.md
125
139
  - fixtures/password_changer-test/Rakefile
126
- - fixtures/password_changer-test/lib/password_changer/test.rb
127
- - fixtures/password_changer-test/lib/password_changer/test/changer.rb
128
- - fixtures/password_changer-test/lib/password_changer/test/version.rb
140
+ - fixtures/password_changer-test/lib/password_changer-plugin.rb
141
+ - fixtures/password_changer-test/lib/password_changer-test.rb
142
+ - fixtures/password_changer-test/lib/password_changer-test/changer.rb
143
+ - fixtures/password_changer-test/lib/password_changer-test/version.rb
129
144
  - fixtures/password_changer-test/password_changer-test.gemspec
130
145
  - lib/password_changer.rb
131
146
  - lib/password_changer/actions/change_password.rb
@@ -1,7 +0,0 @@
1
- require 'password_changer/test/version'
2
- require 'password_changer/test/changer'
3
-
4
- module PasswordChanger
5
- module Test
6
- end
7
- end