nobspw 0.6.1 → 0.6.2

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
  SHA256:
3
- metadata.gz: 6b8b4d8fcba6e3b3358a2e99645b49ca97b08529303dc0343cbd32f71f3bc1b6
4
- data.tar.gz: 6ed4217798aa6a477661c6740086a3eeb26c3f62017aee15b4443a383526e93f
3
+ metadata.gz: d81c15016a1b06dc3d38fc995120b526574a65cd5fd13ed98bc05e614f189b5b
4
+ data.tar.gz: a7303590e8fa254ad9718fda4444a2c3d5faabb77cc528d5a5284e52792742be
5
5
  SHA512:
6
- metadata.gz: 92229f82ed736fe931bca76f0467fa1c8cf4189846533d958d1249ef47bc00b0f4d8e8d00e0358723d7495af447de66cbdb9248752c99cd790d54b017d5fe84a
7
- data.tar.gz: 3760ea9ef05a67b2cae1ebbb8a26e128eaae19f07ad1b69740a06efee02cfa999e80766a8394e9ed433216ca6ca77da594c7fba54d2ecc47f48e3ca2a3671d69
6
+ metadata.gz: 2e8b250a5a326593bab9f576cdc7ec15da4e03573c273bacc62b74f46c4977df5e323b079aa43f613d17f458f1417b1f569e2f7dd19f190be16af5b0b68e7a13
7
+ data.tar.gz: 6ab6462e6c32b58a1f79cd01ffa0a540fab446f22db43b43c52366821a3a185f7c5a1c5b78cd938f4a5be94c2f93ba1cc094f9a456c8d957c68cfa079c7a2cba
@@ -1,7 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4.0
5
4
  - 2.5.0
6
5
  - 2.6.2
6
+ - 2.7.1
7
7
  before_install: gem install bundler
File without changes
data/bin/setup CHANGED
File without changes
@@ -17,7 +17,7 @@ module NOBSPW
17
17
  @min_unique_characters = 5
18
18
  @dictionary_path = File.join(File.dirname(__FILE__), "..", "db", "dictionary.txt")
19
19
  @grep_path = `which grep`.strip
20
- @use_ruby_grep = !@grep_path.present?
20
+ @use_ruby_grep = @grep_path.empty?
21
21
  @domain_name = nil
22
22
  @blacklist = nil
23
23
  @validation_methods = NOBSPW::ValidationMethods::DEFAULT_VALIDATION_METHODS
@@ -104,7 +104,7 @@ module NOBSPW
104
104
  end
105
105
 
106
106
  def ruby_grep
107
- File.open(NOBSPW.configuration.dictionary_path).grep(/^#{escaped_password}$/).present?
107
+ File.open(NOBSPW.configuration.dictionary_path).grep(/^#{escaped_password}$/).any?
108
108
  end
109
109
 
110
110
  def email_without_extension(email)
@@ -1,3 +1,3 @@
1
1
  module NOBSPW
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
File without changes
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ["lib"]
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rake", "~> 12.3.3"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
27
  spec.add_development_dependency "simplecov", "~> 0.13"
28
28
  spec.add_development_dependency "guard", "~> 2.14"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nobspw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubygems_version: 3.0.1
227
+ rubygems_version: 3.1.2
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: No Bullshit Password strength checker