pass-station 1.3.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module PassStation
15
15
  },
16
16
  DEFAULT_CREDENTIALS_CHEAT_SHEET: {
17
17
  URL: 'https://raw.githubusercontent.com/ihebski/DefaultCreds-cheat-sheet/main/DefaultCreds-Cheat-Sheet.csv',
18
- HASH: 'f03f3ed77a8a932b1b2891fbec705d42b1eec4911fb76ccf36cde9e79a385556',
18
+ HASH: '6494a05090e14c438c9fa110f1566b3b7b9e2518bd0b8c42255f0dd3f7dff77b',
19
19
  FILENAME: 'DefaultCreds-Cheat-Sheet.csv',
20
20
  COLUMNS: {
21
21
  productvendor: 'Product/Vendor',
@@ -25,7 +25,7 @@ module PassStation
25
25
  },
26
26
  MANY_PASSWORDS: {
27
27
  URL: 'https://raw.githubusercontent.com/many-passwords/many-passwords/main/passwords.csv',
28
- HASH: '293ce4411446c702aeda977b9a446ff42d045d980be0b5287a848b5bd7d39402',
28
+ HASH: '5eb85093f03dcc6a377fe7263e0629574088892dc283d5f53f93d1db80c7287a',
29
29
  FILENAME: 'many-passwords.csv',
30
30
  COLUMNS: {
31
31
  vendor: 'Vendor',
@@ -61,7 +61,7 @@ module PassStation
61
61
  # @return [Boolean] `true` if there is, `false` else.
62
62
  def check_for_update
63
63
  ret_vals = []
64
- UPSTREAM_DATABASE[:MAPPING].each do |_k, v|
64
+ UPSTREAM_DATABASE[:MAPPING].each_value do |v|
65
65
  file = download_file(UPSTREAM_DATABASE[v][:URL], Dir.mktmpdir)
66
66
  # Same hash = no update
67
67
  ret_vals << !check_hash(file, UPSTREAM_DATABASE[v][:HASH])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Version
4
- VERSION = '1.3.0'
4
+ VERSION = '2.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pass-station
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre ZANNI
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
10
+ date: 2025-02-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: docopt
@@ -30,14 +29,14 @@ dependencies:
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '2.2'
32
+ version: '2.3'
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: '2.2'
39
+ version: '2.3'
41
40
  description: CLI & library to search for default credentials among thousands of Products
42
41
  / Vendors
43
42
  email: alexandre.zanni@engineer.com
@@ -68,8 +67,8 @@ metadata:
68
67
  documentation_uri: https://noraj.github.io/pass-station/yard/
69
68
  homepage_uri: https://noraj.github.io/pass-station/
70
69
  source_code_uri: https://github.com/noraj/pass-station/
70
+ funding_uri: https://github.com/sponsors/noraj
71
71
  rubygems_mfa_required: 'true'
72
- post_install_message:
73
72
  rdoc_options: []
74
73
  require_paths:
75
74
  - lib
@@ -77,18 +76,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
76
  requirements:
78
77
  - - ">="
79
78
  - !ruby/object:Gem::Version
80
- version: 2.6.0
79
+ version: 3.1.0
81
80
  - - "<"
82
81
  - !ruby/object:Gem::Version
83
- version: '3.2'
82
+ version: '4.0'
84
83
  required_rubygems_version: !ruby/object:Gem::Requirement
85
84
  requirements:
86
85
  - - ">="
87
86
  - !ruby/object:Gem::Version
88
87
  version: '0'
89
88
  requirements: []
90
- rubygems_version: 3.3.3
91
- signing_key:
89
+ rubygems_version: 3.6.2
92
90
  specification_version: 4
93
91
  summary: CLI & library to search for default credentials among thousands of Products
94
92
  / Vendors