password_changer 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +35 -0
- data/.rdebugrc +7 -0
- data/.rspec +5 -0
- data/.rubocop.yml +4 -0
- data/.simplecov +8 -0
- data/.yardopts +5 -0
- data/Gemfile +46 -0
- data/Gemfile.lock +300 -0
- data/LICENSE.txt +22 -0
- data/README.md +298 -0
- data/Rakefile +196 -0
- data/bin/password_changer +11 -0
- data/bin/pc +11 -0
- data/config/license_finder.yml +14 -0
- data/config/rubocop/exclude.yml +25 -0
- data/config/rubocop/include.yml +142 -0
- data/cucumber.yml +2 -0
- data/doc/licenses/dependencies.csv +24 -0
- data/doc/licenses/dependencies.db +0 -0
- data/doc/licenses/dependencies.html +672 -0
- data/doc/licenses/dependencies.md +313 -0
- data/doc/licenses/dependencies_detailed.csv +122 -0
- data/features/csv-file.feature +22 -0
- data/features/step_definitions.rb +11 -0
- data/features/support/env.rb +12 -0
- data/fixtures/password_changer-product_xyz/LICENSE.txt +22 -0
- data/fixtures/password_changer-product_xyz/README.md +32 -0
- data/fixtures/password_changer-product_xyz/Rakefile +2 -0
- data/fixtures/password_changer-product_xyz/lib/password_changer/product_xyz/version.rb +5 -0
- data/fixtures/password_changer-product_xyz/lib/password_changer/product_xyz.rb +7 -0
- data/fixtures/password_changer-product_xyz/password_changer-product_xyz.gemspec +19 -0
- data/fixtures/password_changer-test/LICENSE.txt +22 -0
- data/fixtures/password_changer-test/README.md +31 -0
- data/fixtures/password_changer-test/Rakefile +2 -0
- data/fixtures/password_changer-test/lib/password_changer/test/changer.rb +45 -0
- data/fixtures/password_changer-test/lib/password_changer/test/version.rb +5 -0
- data/fixtures/password_changer-test/lib/password_changer/test.rb +7 -0
- data/fixtures/password_changer-test/password_changer-test.gemspec +22 -0
- data/lib/password_changer/actions/change_password.rb +34 -0
- data/lib/password_changer/application_config.rb +21 -0
- data/lib/password_changer/cli/init.rb +22 -0
- data/lib/password_changer/cli/runner.rb +64 -0
- data/lib/password_changer/cli/show.rb +19 -0
- data/lib/password_changer/exceptions.rb +5 -0
- data/lib/password_changer/logger.rb +5 -0
- data/lib/password_changer/main.rb +58 -0
- data/lib/password_changer/password_generator.rb +36 -0
- data/lib/password_changer/plugin_checker.rb +8 -0
- data/lib/password_changer/plugin_manager.rb +6 -0
- data/lib/password_changer/printers/csv.rb +16 -0
- data/lib/password_changer/printers/plain.rb +16 -0
- data/lib/password_changer/printers/pretty.rb +12 -0
- data/lib/password_changer/readers/csv.rb +20 -0
- data/lib/password_changer/readers/single_user.rb +19 -0
- data/lib/password_changer/user.rb +14 -0
- data/lib/password_changer/version.rb +5 -0
- data/lib/password_changer.rb +43 -0
- data/password_changer.gemspec +25 -0
- data/spec/password_generator_spec.rb +16 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/support/application.rb +3 -0
- data/spec/support/filesystem.rb +12 -0
- data/spec/support/reporting.rb +2 -0
- data/spec/support/rspec.rb +25 -0
- data/spec/support/string.rb +2 -0
- data/templates/config.yaml.tt +9 -0
- metadata +193 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 23fe5e076e1c7c58f8b003ba8b82e18482f37293
|
4
|
+
data.tar.gz: 29bd348f7f369174059c9b570ab9a8946ff166ac
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a81b2c43a2e8c641cd3b3319b4431e91916e8cfdb97be4405b6ed6c1eacfe1a60400d8d42b59fd20b9b0b146aed52e3947d310cdc95f4cff36966bf692688c14
|
7
|
+
data.tar.gz: b07245f49f353c6c594b6011238f25a4bfa8d335ca9083ffbc14f68a85ea2568e6f09031d335f319cb13e1bd6e5c140639bd1e9bb04baaeb358931b46dfd1be9
|
data/.gitignore
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the build directory
|
11
|
+
/build
|
12
|
+
|
13
|
+
# Ignore cache
|
14
|
+
/.sass-cache
|
15
|
+
/.cache
|
16
|
+
|
17
|
+
# Ignore .DS_store file
|
18
|
+
.DS_Store
|
19
|
+
|
20
|
+
# Only for cloning,
|
21
|
+
# will be substituted
|
22
|
+
source/*
|
23
|
+
|
24
|
+
!templates/source/*
|
25
|
+
|
26
|
+
# no tmp files
|
27
|
+
tmp/
|
28
|
+
|
29
|
+
coverage/
|
30
|
+
pkg/
|
31
|
+
|
32
|
+
doc/yard/
|
33
|
+
.yardoc
|
34
|
+
|
35
|
+
Gemfile.local
|
data/.rdebugrc
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.simplecov
ADDED
data/.yardopts
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gemspec
|
4
|
+
|
5
|
+
group :development, :test do
|
6
|
+
gem 'rspec', require: false
|
7
|
+
gem 'rspec-legacy_formatters', require: false
|
8
|
+
gem 'fuubar', require: false
|
9
|
+
gem 'simplecov', require: false
|
10
|
+
gem 'rubocop', require: false
|
11
|
+
gem 'coveralls', require: false
|
12
|
+
gem 'cucumber', require: false
|
13
|
+
gem 'aruba', require: false #, git: 'https://github.com/dg-vrnetze/aruba.git', branch: 'integration/expand_path'
|
14
|
+
gem 'bundler', require: false
|
15
|
+
gem 'rake', require: false
|
16
|
+
gem 'erubis'
|
17
|
+
gem 'versionomy', require: false
|
18
|
+
gem 'activesupport', require: false
|
19
|
+
gem 'awesome_print', require: 'ap'
|
20
|
+
gem 'launchy'
|
21
|
+
|
22
|
+
gem 'mutant'
|
23
|
+
gem 'mutant-rspec'
|
24
|
+
|
25
|
+
if !ENV.key?('CI') && !ENV.key?('TRAVIS')
|
26
|
+
gem 'byebug'
|
27
|
+
gem 'pry'
|
28
|
+
gem 'pry-byebug', require: false
|
29
|
+
gem 'pry-doc', require: false
|
30
|
+
end
|
31
|
+
|
32
|
+
gem 'foreman', require: false
|
33
|
+
gem 'github-markup'
|
34
|
+
gem 'redcarpet', require: false
|
35
|
+
gem 'tmrb', require: false
|
36
|
+
gem 'yard', require: false
|
37
|
+
gem 'inch', require: false
|
38
|
+
gem 'license_finder'
|
39
|
+
gem 'filegen', require: false
|
40
|
+
gem 'travis-lint', require: false
|
41
|
+
gem 'command_exec', require: false
|
42
|
+
|
43
|
+
gem 'password_changer-test', path: File.expand_path('../fixtures/password_changer-test', __FILE__)
|
44
|
+
end
|
45
|
+
|
46
|
+
eval File.read('Gemfile.local') if File.file? 'Gemfile.local'
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,300 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
password_changer (0.0.3)
|
5
|
+
fedux_org-stdlib (>= 0.6.50)
|
6
|
+
highline
|
7
|
+
i18n
|
8
|
+
levenshtein-ffi
|
9
|
+
thor
|
10
|
+
|
11
|
+
PATH
|
12
|
+
remote: ../password_changer-gad
|
13
|
+
specs:
|
14
|
+
password_changer-gad (0.0.2)
|
15
|
+
capybara
|
16
|
+
capybara-webkit
|
17
|
+
password_changer
|
18
|
+
poltergeist
|
19
|
+
|
20
|
+
PATH
|
21
|
+
remote: fixtures/password_changer-test
|
22
|
+
specs:
|
23
|
+
password_changer-test (0.0.1)
|
24
|
+
|
25
|
+
GEM
|
26
|
+
remote: https://rubygems.org/
|
27
|
+
specs:
|
28
|
+
abstract_type (0.0.7)
|
29
|
+
activesupport (4.1.4)
|
30
|
+
i18n (~> 0.6, >= 0.6.9)
|
31
|
+
json (~> 1.7, >= 1.7.7)
|
32
|
+
minitest (~> 5.1)
|
33
|
+
thread_safe (~> 0.1)
|
34
|
+
tzinfo (~> 1.1)
|
35
|
+
adamantium (0.2.0)
|
36
|
+
ice_nine (~> 0.11.0)
|
37
|
+
memoizable (~> 0.4.0)
|
38
|
+
addressable (2.3.6)
|
39
|
+
anima (0.2.0)
|
40
|
+
abstract_type (~> 0.0.7)
|
41
|
+
adamantium (~> 0.1)
|
42
|
+
equalizer (~> 0.0.8)
|
43
|
+
aruba (0.6.0)
|
44
|
+
childprocess (>= 0.3.6)
|
45
|
+
cucumber (>= 1.1.1)
|
46
|
+
rspec-expectations (>= 2.7.0)
|
47
|
+
ast (2.0.0)
|
48
|
+
awesome_print (1.2.0)
|
49
|
+
blockenspiel (0.4.5)
|
50
|
+
builder (3.2.2)
|
51
|
+
byebug (2.7.0)
|
52
|
+
columnize (~> 0.3)
|
53
|
+
debugger-linecache (~> 1.2)
|
54
|
+
capybara (2.4.1)
|
55
|
+
mime-types (>= 1.16)
|
56
|
+
nokogiri (>= 1.3.3)
|
57
|
+
rack (>= 1.0.0)
|
58
|
+
rack-test (>= 0.5.4)
|
59
|
+
xpath (~> 2.0)
|
60
|
+
capybara-webkit (1.1.0)
|
61
|
+
capybara (~> 2.0, >= 2.0.2)
|
62
|
+
json
|
63
|
+
childprocess (0.5.3)
|
64
|
+
ffi (~> 1.0, >= 1.0.11)
|
65
|
+
cliver (0.3.2)
|
66
|
+
coderay (1.1.0)
|
67
|
+
columnize (0.8.9)
|
68
|
+
command_exec (0.2.0)
|
69
|
+
activesupport
|
70
|
+
smart_colored
|
71
|
+
xml-simple
|
72
|
+
concord (0.1.5)
|
73
|
+
adamantium (~> 0.2.0)
|
74
|
+
equalizer (~> 0.0.9)
|
75
|
+
coveralls (0.7.1)
|
76
|
+
multi_json (~> 1.3)
|
77
|
+
rest-client
|
78
|
+
simplecov (>= 0.7)
|
79
|
+
term-ansicolor
|
80
|
+
thor
|
81
|
+
cucumber (1.3.16)
|
82
|
+
builder (>= 2.1.2)
|
83
|
+
diff-lcs (>= 1.1.3)
|
84
|
+
gherkin (~> 2.12)
|
85
|
+
multi_json (>= 1.7.5, < 2.0)
|
86
|
+
multi_test (>= 0.1.1)
|
87
|
+
debugger-linecache (1.2.0)
|
88
|
+
diff-lcs (1.2.5)
|
89
|
+
docile (1.1.5)
|
90
|
+
dotenv (0.11.1)
|
91
|
+
dotenv-deployment (~> 0.0.2)
|
92
|
+
dotenv-deployment (0.0.2)
|
93
|
+
equalizer (0.0.9)
|
94
|
+
erubis (2.7.0)
|
95
|
+
fedux_org-stdlib (0.7.6)
|
96
|
+
activesupport
|
97
|
+
ffi (1.9.3)
|
98
|
+
filegen (0.4.3)
|
99
|
+
activesupport
|
100
|
+
foreman (0.74.0)
|
101
|
+
dotenv (~> 0.11.1)
|
102
|
+
thor (~> 0.19.1)
|
103
|
+
fuubar (2.0.0)
|
104
|
+
rspec (~> 3.0)
|
105
|
+
ruby-progressbar (~> 1.4)
|
106
|
+
gherkin (2.12.2)
|
107
|
+
multi_json (~> 1.3)
|
108
|
+
github-markup (1.2.1)
|
109
|
+
posix-spawn (~> 0.3.8)
|
110
|
+
highline (1.6.21)
|
111
|
+
httparty (0.13.1)
|
112
|
+
json (~> 1.8)
|
113
|
+
multi_xml (>= 0.5.2)
|
114
|
+
i18n (0.6.11)
|
115
|
+
ice_nine (0.11.0)
|
116
|
+
inch (0.4.10)
|
117
|
+
pry
|
118
|
+
sparkr (>= 0.2.0)
|
119
|
+
term-ansicolor
|
120
|
+
yard (~> 0.8.7)
|
121
|
+
inflecto (0.0.2)
|
122
|
+
json (1.8.1)
|
123
|
+
launchy (2.4.2)
|
124
|
+
addressable (~> 2.3)
|
125
|
+
levenshtein-ffi (1.1.0)
|
126
|
+
ffi (~> 1.9)
|
127
|
+
license_finder (1.1.1)
|
128
|
+
bundler
|
129
|
+
httparty
|
130
|
+
sequel
|
131
|
+
sqlite3
|
132
|
+
thor
|
133
|
+
xml-simple
|
134
|
+
memoizable (0.4.2)
|
135
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
136
|
+
method_source (0.8.2)
|
137
|
+
mime-types (2.3)
|
138
|
+
mini_portile (0.6.0)
|
139
|
+
minitest (5.4.0)
|
140
|
+
morpher (0.2.3)
|
141
|
+
abstract_type (~> 0.0.7)
|
142
|
+
adamantium (~> 0.2.0)
|
143
|
+
anima (~> 0.2.0)
|
144
|
+
ast (~> 2.0.0)
|
145
|
+
concord (~> 0.1.4)
|
146
|
+
equalizer (~> 0.0.9)
|
147
|
+
ice_nine (~> 0.11.0)
|
148
|
+
procto (~> 0.0.2)
|
149
|
+
multi_json (1.10.1)
|
150
|
+
multi_test (0.1.1)
|
151
|
+
multi_xml (0.5.5)
|
152
|
+
mutant (0.6.0)
|
153
|
+
abstract_type (~> 0.0.7)
|
154
|
+
adamantium (~> 0.2.0)
|
155
|
+
anima (~> 0.2.0)
|
156
|
+
ast (~> 2.0)
|
157
|
+
concord (~> 0.1.5)
|
158
|
+
diff-lcs (~> 1.2)
|
159
|
+
equalizer (~> 0.0.9)
|
160
|
+
ice_nine (~> 0.11.0)
|
161
|
+
inflecto (~> 0.0.2)
|
162
|
+
memoizable (~> 0.4.2)
|
163
|
+
morpher (~> 0.2.3)
|
164
|
+
parallel (~> 1.2.0)
|
165
|
+
parser (~> 2.1)
|
166
|
+
procto (~> 0.0.2)
|
167
|
+
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)
|
172
|
+
nokogiri (1.6.3.1)
|
173
|
+
mini_portile (= 0.6.0)
|
174
|
+
parallel (1.2.4)
|
175
|
+
parser (2.1.9)
|
176
|
+
ast (>= 1.1, < 3.0)
|
177
|
+
slop (~> 3.4, >= 3.4.5)
|
178
|
+
poltergeist (1.5.1)
|
179
|
+
capybara (~> 2.1)
|
180
|
+
cliver (~> 0.3.1)
|
181
|
+
multi_json (~> 1.0)
|
182
|
+
websocket-driver (>= 0.2.0)
|
183
|
+
posix-spawn (0.3.9)
|
184
|
+
powerpack (0.0.9)
|
185
|
+
procto (0.0.2)
|
186
|
+
pry (0.10.1)
|
187
|
+
coderay (~> 1.1.0)
|
188
|
+
method_source (~> 0.8.1)
|
189
|
+
slop (~> 3.4)
|
190
|
+
pry-byebug (1.3.3)
|
191
|
+
byebug (~> 2.7)
|
192
|
+
pry (~> 0.10)
|
193
|
+
pry-doc (0.6.0)
|
194
|
+
pry (~> 0.9)
|
195
|
+
yard (~> 0.8)
|
196
|
+
rack (1.5.2)
|
197
|
+
rack-test (0.6.2)
|
198
|
+
rack (>= 1.0)
|
199
|
+
rainbow (2.0.0)
|
200
|
+
rake (10.3.2)
|
201
|
+
redcarpet (3.1.2)
|
202
|
+
rest-client (1.7.2)
|
203
|
+
mime-types (>= 1.16, < 3.0)
|
204
|
+
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)
|
212
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
213
|
+
rspec-support (~> 3.0.0)
|
214
|
+
rspec-legacy_formatters (1.0.0)
|
215
|
+
rspec-core (>= 3.0.0.beta2)
|
216
|
+
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)
|
223
|
+
powerpack (~> 0.0.6)
|
224
|
+
rainbow (>= 1.99.1, < 3.0)
|
225
|
+
ruby-progressbar (~> 1.4)
|
226
|
+
ruby-progressbar (1.5.1)
|
227
|
+
sequel (4.13.0)
|
228
|
+
simplecov (0.9.0)
|
229
|
+
docile (~> 1.1.0)
|
230
|
+
multi_json
|
231
|
+
simplecov-html (~> 0.8.0)
|
232
|
+
simplecov-html (0.8.0)
|
233
|
+
slop (3.6.0)
|
234
|
+
smart_colored (1.1.1)
|
235
|
+
sparkr (0.4.1)
|
236
|
+
sqlite3 (1.3.9)
|
237
|
+
term-ansicolor (1.3.0)
|
238
|
+
tins (~> 1.0)
|
239
|
+
thor (0.19.1)
|
240
|
+
thread_safe (0.3.4)
|
241
|
+
tins (1.3.1)
|
242
|
+
tmrb (1.2.7)
|
243
|
+
thor
|
244
|
+
travis-lint (2.0.0)
|
245
|
+
json
|
246
|
+
tzinfo (1.2.2)
|
247
|
+
thread_safe (~> 0.1)
|
248
|
+
unparser (0.1.14)
|
249
|
+
abstract_type (~> 0.0.7)
|
250
|
+
adamantium (~> 0.2.0)
|
251
|
+
concord (~> 0.1.5)
|
252
|
+
equalizer (~> 0.0.9)
|
253
|
+
parser (~> 2.1)
|
254
|
+
procto (~> 0.0.2)
|
255
|
+
versionomy (0.4.4)
|
256
|
+
blockenspiel (>= 0.4.5)
|
257
|
+
websocket-driver (0.3.4)
|
258
|
+
xml-simple (1.1.4)
|
259
|
+
xpath (2.0.0)
|
260
|
+
nokogiri (~> 1.3)
|
261
|
+
yard (0.8.7.4)
|
262
|
+
|
263
|
+
PLATFORMS
|
264
|
+
ruby
|
265
|
+
|
266
|
+
DEPENDENCIES
|
267
|
+
activesupport
|
268
|
+
aruba
|
269
|
+
awesome_print
|
270
|
+
bundler
|
271
|
+
byebug
|
272
|
+
command_exec
|
273
|
+
coveralls
|
274
|
+
cucumber
|
275
|
+
erubis
|
276
|
+
filegen
|
277
|
+
foreman
|
278
|
+
fuubar
|
279
|
+
github-markup
|
280
|
+
inch
|
281
|
+
launchy
|
282
|
+
license_finder
|
283
|
+
mutant
|
284
|
+
mutant-rspec
|
285
|
+
password_changer!
|
286
|
+
password_changer-gad!
|
287
|
+
password_changer-test!
|
288
|
+
pry
|
289
|
+
pry-byebug
|
290
|
+
pry-doc
|
291
|
+
rake
|
292
|
+
redcarpet
|
293
|
+
rspec
|
294
|
+
rspec-legacy_formatters
|
295
|
+
rubocop
|
296
|
+
simplecov
|
297
|
+
tmrb
|
298
|
+
travis-lint
|
299
|
+
versionomy
|
300
|
+
yard
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Dennis Günnewig
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|