cms_scanner 0.0.38.1 → 0.0.38.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
  SHA1:
3
- metadata.gz: 84bc333d2200c961c07ebe395a03a1867bd55f6d
4
- data.tar.gz: 4aa8d7a8558f4384838cd67a198405509ddd93b0
3
+ metadata.gz: 711e6c00c5f59acabe082d59b109ad5ef1ec9d96
4
+ data.tar.gz: bdc437f144f754242846aca0b96123bb4bc38b93
5
5
  SHA512:
6
- metadata.gz: c4e591e1b7fa9d8fa2e8b894cdbea84fe9e5ac7f5f5cd0a1c83ef63b40391fe466ba76b9f66aa275bf4f2e77f558846b1b94be865c94eefa57b02760fb7746ca
7
- data.tar.gz: 8622e39ef72c8120f61e584ed7db80e39aaf9b42fc74bfccc135dd13b50e455628625523077e4cb6976f72ed907d71ee05de2e65d419ad9c0f348aef8fb922d5
6
+ metadata.gz: 8baa71595737ccc2773ad1eb0d5624f546deacfc22285ae6b85ccac2c640719bec7b4445d230d3ece75b17fd3ccf926d9a8fa95625526932cc4fa2b710bfa6a4
7
+ data.tar.gz: 9edda50bf8183d29b4b8d2abe6e79547f065b6a51e6940f95136d31b1580a3b67a0293bcc9b92a66bf6bdcb9982091d637ca42a7e0537258cbf32b9bd19a6f98
@@ -30,9 +30,5 @@ module CMSScanner
30
30
  x-webkit-csp x-xss-protection
31
31
  ]
32
32
  end
33
-
34
- def eql?(other)
35
- super(other) && interesting_entries == other.interesting_entries
36
- end
37
33
  end
38
34
  end
@@ -31,7 +31,7 @@ module CMSScanner
31
31
  @to_s || url
32
32
  end
33
33
 
34
- # @return [ Bollean ]
34
+ # @return [ Boolean ]
35
35
  def ==(other)
36
36
  self.class == other.class && to_s == other.to_s
37
37
  end
@@ -1,22 +1,18 @@
1
- # Not setup yet
2
1
  language: ruby
3
2
  sudo: false
4
3
  cache: bundler
5
4
  rvm:
6
- - 2.1.0
7
- - 2.1.1
8
- - 2.1.2
9
- - 2.1.3
10
- - 2.1.4
11
- - 2.1.5
12
- - 2.1.6
13
- - 2.2.0
14
- - 2.2.1
15
- - 2.2.2
16
- - 2.2.3
5
+ - 2.3.0
6
+ - 2.3.1
7
+ - 2.3.2
8
+ - 2.3.3
9
+ - 2.3.4
10
+ - 2.4.0
11
+ - 2.4.1
17
12
  - ruby-head
18
13
  before_install:
19
14
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
15
+ - "gem update --system"
20
16
  matrix:
21
17
  allow_failures:
22
18
  - rvm: ruby-head
@@ -1,6 +1,2 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
-
4
- group :test do
5
- gem 'coveralls', '~> 0.8.0', require: false
6
- end
@@ -6,4 +6,4 @@ RuboCop::RakeTask.new
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  # Run rubocop & rspec before the build
9
- task build: [:rubocop, :spec]
9
+ task build: %i[rubocop spec]
@@ -34,20 +34,18 @@ Gem::Specification.new do |s|
34
34
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
35
35
  s.require_path = 'lib'
36
36
 
37
- s.add_dependency 'yajl-ruby', '~> 1.3' # Better JSON parser regarding memory usage
38
- s.add_dependency 'cms_scanner', '~> 0.0.37.5'
39
- s.add_dependency 'activesupport', '~> 5.0'
40
- # DB dependencies
41
- s.add_dependency 'dm-core', '~> 1.2.0'
42
- s.add_dependency 'dm-migrations', '~> 1.2.0'
43
- s.add_dependency 'dm-constraints', '~> 1.2.0'
44
- s.add_dependency 'dm-sqlite-adapter', '~> 1.2.0'
45
-
46
- s.add_development_dependency 'rake', '~> 11.3.0'
47
- s.add_development_dependency 'rspec', '~> 3.5.0'
48
- s.add_development_dependency 'rspec-its', '~> 1.2.0'
37
+ s.add_dependency 'cms_scanner', '~> 0.0.38.1'
38
+
39
+ # Already required by CMSScanner, so version restrictions loosen
40
+ s.add_dependency 'activesupport', '~> 5.1'
41
+ s.add_dependency 'yajl-ruby', '~> 1.3'
42
+
49
43
  s.add_development_dependency 'bundler', '~> 1.6'
50
- s.add_development_dependency 'rubocop', '~> 0.45.0'
51
- s.add_development_dependency 'webmock', '~> 1.22.0'
52
- s.add_development_dependency 'simplecov', '~> 0.12.0'
44
+ s.add_development_dependency 'coveralls', '~> 0.8.0'
45
+ s.add_development_dependency 'rake', '~> 12.0'
46
+ s.add_development_dependency 'rspec', '~> 3.7.0'
47
+ s.add_development_dependency 'rspec-its', '~> 1.2.0'
48
+ s.add_development_dependency 'rubocop', '~> 0.51.0'
49
+ s.add_development_dependency 'simplecov', '~> 0.14.0' # Can't update to 0.15 as it breaks coveralls dep
50
+ s.add_development_dependency 'webmock', '~> 3.1.0'
53
51
  end
@@ -58,8 +58,8 @@ module CMSScanner
58
58
  params[typhoeus_opt] = attr_value unless attr_value.nil?
59
59
  end
60
60
 
61
- params[:proxyauth] = "#{proxy_auth[:username]}:#{proxy_auth[:password]}" if proxy_auth
62
- params[:userpwd] = "#{http_auth[:username]}:#{http_auth[:password]}" if http_auth
61
+ params[:proxyuserpwd] = "#{proxy_auth[:username]}:#{proxy_auth[:password]}" if proxy_auth
62
+ params[:userpwd] = "#{http_auth[:username]}:#{http_auth[:password]}" if http_auth
63
63
 
64
64
  params[:headers]['Host'] = vhost if vhost
65
65
 
@@ -39,6 +39,7 @@ module CMSScanner
39
39
  end
40
40
 
41
41
  # TODO: maybe also check for interesting_entries and confirmed_by ?
42
+ # So far this is used in specs only
42
43
  def eql?(other)
43
44
  self == other && confidence == other.confidence && found_by == other.found_by
44
45
  end
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.38.1'.freeze
3
+ VERSION = '0.0.38.2'.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.38.1
4
+ version: 0.0.38.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-08 00:00:00.000000000 Z
11
+ date: 2017-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri