cms_scanner 0.0.44.0 → 0.0.44.1

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: 36cf3a147ed137b39e8b2d7f1663bfd454639cce4b8d0f45764af3e3ab0b4b48
4
- data.tar.gz: a4e4d72d4b8951a04c4f619cc20d1e1293eba77b15533e668738a2e0e62d3306
3
+ metadata.gz: 694aee9839bf9def0fb11faf2821c96267215275e6b25e35704aaeb348742465
4
+ data.tar.gz: 2602463d8655bcbd0a9ea112e9b1d972791049c26bf814a73f8ac7b254de88ee
5
5
  SHA512:
6
- metadata.gz: cadfdee997e1ef6c7f10ce9f7b8b841acdb1fd5818b5682070f3a07dd5ea34658d55ffd9d86055ac6b7ccf60b5fd965213ba61f22f138873fc6852e137997f0f
7
- data.tar.gz: 4a37dc5d1eae53a72894f6317cb72132dc07541f76d48ce9067d15fdf4e89d026b074cc4314163883dce3d2006305ff7c607831d8d0cb9c1c4d22e4978b53a91
6
+ metadata.gz: 71692d53eece2893f4a5de11e9671d410cbda4cb321ce9eacbf02e6a47096ab56d43f0cfec4525dd501222612b2102eceb5d1fc0b1800c547faeb0a2436ca59f
7
+ data.tar.gz: 11f1d927526accb4ab93f85297906744e74168576553a3b28eb3862d5d779ccac9d566aed1149255164a18139550f19f8bd88c9b2b93d70e808a1fdac8f1f0cc
@@ -6,16 +6,15 @@ module CMSScanner
6
6
  # This is similar to an OpenStruct, but class wise (rather than instance), and with
7
7
  # the logic to update the Browser options accordinly
8
8
  class ParsedCli
9
- @options = {}
10
-
11
- class << self
12
- attr_reader :options
9
+ # @return [ Hash ]
10
+ def self.options
11
+ @options ||= {}
13
12
  end
14
13
 
15
14
  # Sets the CLI options, and put them into the Browser as well
16
15
  # @param [ Hash ] options
17
16
  def self.options=(options)
18
- @options = options.dup
17
+ @options = options.dup || {}
19
18
 
20
19
  NS::Browser.reset
21
20
  NS::Browser.instance(@options)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version
4
4
  module CMSScanner
5
- VERSION = '0.0.44.0'
5
+ VERSION = '0.0.44.1'
6
6
  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.44.0
4
+ version: 0.0.44.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-07 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri