cms_scanner 0.0.39.2 → 0.0.39.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: 8001dc7d354d305031e7a7bae7ca2ca3452303d9
4
- data.tar.gz: 43d6f7ddc39542d5f769871c02d76efd23ef2a7c
3
+ metadata.gz: 6eda73cb0b4e2c4199e1ca9c03dd54247374ea63
4
+ data.tar.gz: 308d365a7367ac2aebccea113230617ed971da9f
5
5
  SHA512:
6
- metadata.gz: 967008cf977097b24c50dc6a8eda40a5e2f3c27ddea51b8c2d9c8ff03135f863e1462c262d4364a85215a59d659c68610ff335ec3e95ccbe993483537f7fe9fb
7
- data.tar.gz: 94825ea1751ed4bbeaf6c5a68c48076104b02de6635e07b6f18be6a1a06dcc4a60983235b572ec9e0137e6922cad07b758e7deeadafc77f54911a99c98feab14
6
+ metadata.gz: a47553a96a9add11ec16518495fd6cb0cff86cdae9efaddb705b7b8812808b76b4a10fc3b1ef66068828fcd408f40accd5171281de39f749b82fe106d59b80d7
7
+ data.tar.gz: 285bcf67945e2a4c2d99bb0f2d222f3c3fd783601a5620e59e8193318eb92376a0c5b69a50af033e08838bf6e21ce9ca61a64389704bcd6be13958898e0c842d
@@ -21,7 +21,7 @@ module CMSScanner
21
21
  def entries
22
22
  res = NS::Browser.get(url)
23
23
 
24
- return [] unless res && res.headers['Content-Type'] =~ %r{\Atext/plain;}i # rubocop:disable Style/SafeNavigation
24
+ return [] unless res && res.headers['Content-Type'] =~ %r{\Atext/plain;}i
25
25
 
26
26
  res.body.split("\n").reject { |s| s.strip.empty? }
27
27
  end
data/cms_scanner.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.require_path = 'lib'
33
33
 
34
34
  s.add_dependency 'nokogiri', '~> 1.8.0'
35
- s.add_dependency 'opt_parse_validator', '~> 0.0.15.2'
35
+ s.add_dependency 'opt_parse_validator', '~> 0.0.16.1'
36
36
  s.add_dependency 'public_suffix', '~> 3.0.0'
37
37
  s.add_dependency 'ruby-progressbar', '~> 1.9.0'
38
38
  s.add_dependency 'typhoeus', '~> 1.3.0'
@@ -40,15 +40,15 @@ Gem::Specification.new do |s|
40
40
 
41
41
  # Already required by opt_parse_validator
42
42
  # so version restriction loosen to avoid potential future conflicts
43
- s.add_dependency 'activesupport', '~> 5.0'
44
- s.add_dependency 'addressable', '~> 2.5'
43
+ s.add_dependency 'activesupport', '~> 5.1'
44
+ s.add_dependency 'addressable', '~> 2.5'
45
45
 
46
- s.add_development_dependency 'bundler', '~> 1.6'
46
+ s.add_development_dependency 'bundler', '~> 1.6'
47
47
  s.add_development_dependency 'coveralls', '~> 0.8.0'
48
- s.add_development_dependency 'rake', '~> 12.0'
49
- s.add_development_dependency 'rspec', '~> 3.7.0'
48
+ s.add_development_dependency 'rake', '~> 12.0'
49
+ s.add_development_dependency 'rspec', '~> 3.7.0'
50
50
  s.add_development_dependency 'rspec-its', '~> 1.2.0'
51
- s.add_development_dependency 'rubocop', '~> 0.52.0'
51
+ s.add_development_dependency 'rubocop', '~> 0.57.2'
52
52
  s.add_development_dependency 'simplecov', '~> 0.14.0' # Can't update to 0.15 as it breaks coveralls dep
53
- s.add_development_dependency 'webmock', '~> 3.3.0'
53
+ s.add_development_dependency 'webmock', '~> 3.3.0'
54
54
  end
@@ -10,7 +10,6 @@ module CMSScanner
10
10
  def finders
11
11
  @finders ||= NS::Finders::SameTypeFinders.new
12
12
  end
13
- # rubocop:enable all
14
13
  end
15
14
  end
16
15
  end
@@ -10,7 +10,6 @@ module CMSScanner
10
10
  def finders
11
11
  @finders ||= NS::Finders::UniqueFinders.new
12
12
  end
13
- # rubocop:enable all
14
13
  end
15
14
  end
16
15
  end
@@ -1,4 +1,3 @@
1
-
2
1
  # @param [ String ] file The file path
3
2
  def redirect_output_to_file(file)
4
3
  $stdout.reopen(file, 'w')
@@ -25,7 +25,7 @@ module CMSScanner
25
25
  # @note This is used to detect potential custom 404 responding with a 200
26
26
  # @return [ String ] The hash of a 404
27
27
  def error_404_hash
28
- @error404_hash ||= self.class.page_hash(non_existant_page_url)
28
+ @error_404_hash ||= self.class.page_hash(non_existant_page_url)
29
29
  end
30
30
 
31
31
  # @return [ String ] The URL of an unlikely existant page
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.39.2'.freeze
3
+ VERSION = '0.0.39.3'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms_scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39.2
4
+ version: 0.0.39.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-10 00:00:00.000000000 Z
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.15.2
33
+ version: 0.0.16.1
34
34
  type: :runtime
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: 0.0.15.2
40
+ version: 0.0.16.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: public_suffix
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '5.0'
103
+ version: '5.1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '5.0'
110
+ version: '5.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: addressable
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 0.52.0
201
+ version: 0.57.2
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 0.52.0
208
+ version: 0.57.2
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: simplecov
211
211
  requirement: !ruby/object:Gem::Requirement