nobspw 0.6.0 → 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: 061211b1866c17a90bd78bbb371e862c1a977c69ea168a01ac1fbab714fcde23
4
- data.tar.gz: f9b54a073ac61f81450acb7213ff73f63a1d5835df7f3e9f819f076f0de935d1
3
+ metadata.gz: d81c15016a1b06dc3d38fc995120b526574a65cd5fd13ed98bc05e614f189b5b
4
+ data.tar.gz: a7303590e8fa254ad9718fda4444a2c3d5faabb77cc528d5a5284e52792742be
5
5
  SHA512:
6
- metadata.gz: aa07f2332b6ffe8952be7b28aca35978267a735afc8a72dd35f32fb4135e08fd9593653f90981aea8fef91c6a7c45b07e255058f65488831aa1050534e1aee16
7
- data.tar.gz: 976fadf800426c97e8824990457283afc32f7027ac1cf627e7fb7be7e132b220d29b859468c917c3cc29be9bfd57188561c40e16e0c5683ec6aaef54d3643193
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.3.3
5
- - 2.4.0
6
4
  - 2.5.0
7
- before_install: gem install bundler -v 1.14.2
5
+ - 2.6.2
6
+ - 2.7.1
7
+ before_install: gem install bundler
@@ -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
@@ -96,7 +96,7 @@ module NOBSPW
96
96
  if !File.exist?(NOBSPW.configuration.grep_path)
97
97
 
98
98
  output = Open3.popen3(STDIN_GREP_COMMAND.join(" "), out: '/dev/null') { |stdin, stdout, stderr, wait_thr|
99
- stdin.puts "^#{excaped_password}$"
99
+ stdin.puts "^#{escaped_password}$"
100
100
  stdin.close
101
101
  wait_thr.value
102
102
  }
@@ -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.0'
2
+ VERSION = '0.6.2'
3
3
  end
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.14"
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler"
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,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nobspw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
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-02-22 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.14'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
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,8 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubyforge_project:
228
- rubygems_version: 2.7.6
227
+ rubygems_version: 3.1.2
229
228
  signing_key:
230
229
  specification_version: 4
231
230
  summary: No Bullshit Password strength checker