cracklib_reloaded 0.1.0 → 0.1.3

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: bf3c518445e1756f049ecf21ca6fa4c0b7359885
4
- data.tar.gz: 88ca88adfe2b35e98556b1a76b741f79173b3962
3
+ metadata.gz: bbdca8fca4ca6b153c31d290305c343adf72daf8
4
+ data.tar.gz: 9d65fd961d37a20aa02ed56724d857306d48f3f6
5
5
  SHA512:
6
- metadata.gz: 74b9ca5b4349c6418aeb3f1a789fadb372591f6c9be86d38cc023468a61f3ad8db5f5af5d260f82236639c42c21e4193749b5b90dc5e0a5a1eac4fe548ffec73
7
- data.tar.gz: 1ca16d928512534d37d9e10728b1095035189f7753953b35eaa52699027c27dd117b5932869d6cc3cbf32cf0557aa5c079847765b380f40813559dd011c015c4
6
+ metadata.gz: 150089f0ce091702be740c83a0486e36147ff3193a2cb4fd9017f976e99e6128f2d2f4bb2860cfd0e620b1c572e95f2c2fd23ac0831d5f26ba9e91ca30cf9ef7
7
+ data.tar.gz: ab0fd73eefcc864f6714899d7f5c3c97b6591d3bf1e13d58591417607633e1f430138fa195abab754be55a389a5c6fbf5ef301a23374897c7892ca045c8895dd
data/.gitignore CHANGED
@@ -95,7 +95,8 @@ Temporary Items
95
95
  ### Rails ###
96
96
  *.rbc
97
97
  capybara-*.html
98
- .rspec
98
+ # use .rspec-local to override
99
+ # .rspec
99
100
  /log
100
101
  /tmp
101
102
  /db/*.sqlite3
@@ -121,6 +122,7 @@ config/initializers/secret_token.rb
121
122
  /vendor/bundle
122
123
 
123
124
  # these should all be checked in to normalize the environment:
125
+ # but not if this is a gem:
124
126
  Gemfile.lock
125
127
  .ruby-version
126
128
  .ruby-gemset
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format Fuubar
2
+ --color
3
+ --require spec_helper
@@ -1,5 +1,23 @@
1
- sudo: false
1
+ sudo: required
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.4.0
5
- before_install: gem install bundler -v 1.14.6
5
+ addons:
6
+ apt:
7
+ packages:
8
+ - language-pack-en
9
+ - language-pack-en-base
10
+ - libcrack2
11
+ - cracklib-runtime
12
+ env:
13
+ global:
14
+ - LANG=en_US.UTF-8
15
+ - LC_ALL=en_US.UTF-8
16
+ - LANGUAGE=en_US.UTF-8
17
+ # `cache` is only available for private projects
18
+ cache: bundler
19
+ before_install:
20
+ - gem update --system --no-doc
21
+ - gem install bundler -v 1.14.6 --no-doc
22
+ after_success:
23
+ - bundle exec codeclimate-test-reporter
@@ -1,5 +1,6 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.1.0](https://github.com/efigence/cracklib_reloaded/tree/0.1.0) (2017-05-09)
3
4
 
4
5
 
5
6
  \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -1,8 +1,12 @@
1
- # CracklibReloaded
1
+ # CracklibReloaded [![Gem Version](https://badge.fury.io/rb/cracklib_reloaded.svg)](https://badge.fury.io/rb/cracklib_reloaded) [![Build Status](https://travis-ci.org/efigence/cracklib_reloaded.svg?branch=master)](https://travis-ci.org/efigence/cracklib_reloaded) [![Coverage Status](https://coveralls.io/repos/github/efigence/cracklib_reloaded/badge.svg?branch=master)](https://coveralls.io/github/efigence/cracklib_reloaded?branch=master) [![Code Climate](https://codeclimate.com/github/efigence/cracklib_reloaded/badges/gpa.svg)](https://codeclimate.com/github/efigence/cracklib_reloaded)
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/cracklib_reloaded`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ CrackLib is a library for checking that a password is not based on a simple character pattern or on a dictionary word.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ ## Dependencies
6
+
7
+ * CENTOS 6.x: sudo yum install cracklib cracklib-devel
8
+ * UBUNTU: sudo apt-get install libcrack2 cracklib-devel
9
+ * MAC: sudo port install cracklib cracklib-words
6
10
 
7
11
  ## Installation
8
12
 
@@ -62,10 +66,9 @@ Equivalent of ActiveModel::Errors#messages
62
66
 
63
67
  ## Contributing
64
68
 
65
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cracklib_reloaded. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
69
+ Bug reports and pull requests are welcome on GitHub at https://github.com/efigence/cracklib_reloaded. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
66
70
 
67
71
 
68
72
  ## License
69
73
 
70
74
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
71
-
@@ -36,22 +36,27 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.add_dependency 'ffi'
39
+ spec.add_dependency 'ffi', '~> 1.9', '>= 1.9.18'
40
40
 
41
+ # http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
41
42
  spec.add_development_dependency 'bundler', '~> 1.14'
42
43
  spec.add_development_dependency 'rake', '~> 10.0'
43
44
  spec.add_development_dependency 'rspec', '~> 3.0'
44
- spec.add_development_dependency 'github_changelog_generator'
45
- spec.add_development_dependency 'fuubar'
46
- spec.add_development_dependency 'guard'
47
- spec.add_development_dependency 'guard-bundler'
48
- spec.add_development_dependency 'guard-reek'
49
- spec.add_development_dependency 'guard-rspec'
50
- spec.add_development_dependency 'guard-rubocop'
51
- spec.add_development_dependency 'rubocop'
45
+ spec.add_development_dependency 'github_changelog_generator', '~> 1'
46
+ spec.add_development_dependency 'fuubar', '~> 2'
47
+ spec.add_development_dependency 'guard', '~> 2'
48
+ spec.add_development_dependency 'guard-bundler', '~> 2'
49
+ spec.add_development_dependency 'guard-reek', '~> 1'
50
+ spec.add_development_dependency 'guard-rspec', '~> 4'
51
+ spec.add_development_dependency 'guard-rubocop', '~> 1'
52
+ spec.add_development_dependency 'rubocop', '~> 0.48.1'
52
53
  # rubocop + rubocop-rspec used by text editor from specific rvm ruby
53
54
  # gem uninstall rubocop && gem install rubocop -v='0.39'
54
55
  # https://github.com/backus/rubocop-rspec/issues/153
55
- spec.add_development_dependency 'rubocop-rspec'
56
- spec.add_development_dependency 'rubygems-manifest'
56
+ spec.add_development_dependency 'rubocop-rspec', '~> 1'
57
+ spec.add_development_dependency 'rubygems-manifest', '~> 0'
58
+ spec.add_development_dependency 'coveralls', '0.8.19'
59
+ spec.add_development_dependency 'simplecov', '0.12.0'
60
+ spec.add_development_dependency 'simplecov-console', '~> 0'
61
+ spec.add_development_dependency 'codeclimate-test-reporter', '0.4.8'
57
62
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CracklibReloaded
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cracklib_reloaded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Kalita
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: '0'
22
+ version: 1.9.18
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.9'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: '0'
32
+ version: 1.9.18
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -70,142 +76,198 @@ dependencies:
70
76
  name: github_changelog_generator
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ">="
79
+ - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '0'
81
+ version: '1'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ">="
86
+ - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '0'
88
+ version: '1'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: fuubar
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - ">="
93
+ - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '0'
95
+ version: '2'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - ">="
100
+ - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '0'
102
+ version: '2'
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: guard
99
105
  requirement: !ruby/object:Gem::Requirement
100
106
  requirements:
101
- - - ">="
107
+ - - "~>"
102
108
  - !ruby/object:Gem::Version
103
- version: '0'
109
+ version: '2'
104
110
  type: :development
105
111
  prerelease: false
106
112
  version_requirements: !ruby/object:Gem::Requirement
107
113
  requirements:
108
- - - ">="
114
+ - - "~>"
109
115
  - !ruby/object:Gem::Version
110
- version: '0'
116
+ version: '2'
111
117
  - !ruby/object:Gem::Dependency
112
118
  name: guard-bundler
113
119
  requirement: !ruby/object:Gem::Requirement
114
120
  requirements:
115
- - - ">="
121
+ - - "~>"
116
122
  - !ruby/object:Gem::Version
117
- version: '0'
123
+ version: '2'
118
124
  type: :development
119
125
  prerelease: false
120
126
  version_requirements: !ruby/object:Gem::Requirement
121
127
  requirements:
122
- - - ">="
128
+ - - "~>"
123
129
  - !ruby/object:Gem::Version
124
- version: '0'
130
+ version: '2'
125
131
  - !ruby/object:Gem::Dependency
126
132
  name: guard-reek
127
133
  requirement: !ruby/object:Gem::Requirement
128
134
  requirements:
129
- - - ">="
135
+ - - "~>"
130
136
  - !ruby/object:Gem::Version
131
- version: '0'
137
+ version: '1'
132
138
  type: :development
133
139
  prerelease: false
134
140
  version_requirements: !ruby/object:Gem::Requirement
135
141
  requirements:
136
- - - ">="
142
+ - - "~>"
137
143
  - !ruby/object:Gem::Version
138
- version: '0'
144
+ version: '1'
139
145
  - !ruby/object:Gem::Dependency
140
146
  name: guard-rspec
141
147
  requirement: !ruby/object:Gem::Requirement
142
148
  requirements:
143
- - - ">="
149
+ - - "~>"
144
150
  - !ruby/object:Gem::Version
145
- version: '0'
151
+ version: '4'
146
152
  type: :development
147
153
  prerelease: false
148
154
  version_requirements: !ruby/object:Gem::Requirement
149
155
  requirements:
150
- - - ">="
156
+ - - "~>"
151
157
  - !ruby/object:Gem::Version
152
- version: '0'
158
+ version: '4'
153
159
  - !ruby/object:Gem::Dependency
154
160
  name: guard-rubocop
155
161
  requirement: !ruby/object:Gem::Requirement
156
162
  requirements:
157
- - - ">="
163
+ - - "~>"
158
164
  - !ruby/object:Gem::Version
159
- version: '0'
165
+ version: '1'
160
166
  type: :development
161
167
  prerelease: false
162
168
  version_requirements: !ruby/object:Gem::Requirement
163
169
  requirements:
164
- - - ">="
170
+ - - "~>"
165
171
  - !ruby/object:Gem::Version
166
- version: '0'
172
+ version: '1'
167
173
  - !ruby/object:Gem::Dependency
168
174
  name: rubocop
169
175
  requirement: !ruby/object:Gem::Requirement
170
176
  requirements:
171
- - - ">="
177
+ - - "~>"
172
178
  - !ruby/object:Gem::Version
173
- version: '0'
179
+ version: 0.48.1
174
180
  type: :development
175
181
  prerelease: false
176
182
  version_requirements: !ruby/object:Gem::Requirement
177
183
  requirements:
178
- - - ">="
184
+ - - "~>"
179
185
  - !ruby/object:Gem::Version
180
- version: '0'
186
+ version: 0.48.1
181
187
  - !ruby/object:Gem::Dependency
182
188
  name: rubocop-rspec
183
189
  requirement: !ruby/object:Gem::Requirement
184
190
  requirements:
185
- - - ">="
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '1'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '1'
201
+ - !ruby/object:Gem::Dependency
202
+ name: rubygems-manifest
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
186
206
  - !ruby/object:Gem::Version
187
207
  version: '0'
188
208
  type: :development
189
209
  prerelease: false
190
210
  version_requirements: !ruby/object:Gem::Requirement
191
211
  requirements:
192
- - - ">="
212
+ - - "~>"
193
213
  - !ruby/object:Gem::Version
194
214
  version: '0'
195
215
  - !ruby/object:Gem::Dependency
196
- name: rubygems-manifest
216
+ name: coveralls
197
217
  requirement: !ruby/object:Gem::Requirement
198
218
  requirements:
199
- - - ">="
219
+ - - '='
220
+ - !ruby/object:Gem::Version
221
+ version: 0.8.19
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - '='
227
+ - !ruby/object:Gem::Version
228
+ version: 0.8.19
229
+ - !ruby/object:Gem::Dependency
230
+ name: simplecov
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - '='
234
+ - !ruby/object:Gem::Version
235
+ version: 0.12.0
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - '='
241
+ - !ruby/object:Gem::Version
242
+ version: 0.12.0
243
+ - !ruby/object:Gem::Dependency
244
+ name: simplecov-console
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
200
248
  - !ruby/object:Gem::Version
201
249
  version: '0'
202
250
  type: :development
203
251
  prerelease: false
204
252
  version_requirements: !ruby/object:Gem::Requirement
205
253
  requirements:
206
- - - ">="
254
+ - - "~>"
207
255
  - !ruby/object:Gem::Version
208
256
  version: '0'
257
+ - !ruby/object:Gem::Dependency
258
+ name: codeclimate-test-reporter
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - '='
262
+ - !ruby/object:Gem::Version
263
+ version: 0.4.8
264
+ type: :development
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - '='
269
+ - !ruby/object:Gem::Version
270
+ version: 0.4.8
209
271
  description: CrackLib is a library for checking that a password is not based on a
210
272
  simple character pattern or on a dictionary word.
211
273
  email: