prospectus 0.8.0 → 0.8.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: 032ddf31ea3ebbb7f08e03126b59f3ce407adafa675c86ecee939c202fc454f8
4
- data.tar.gz: 0427f55d706405e918d5e11c935669c0b3b290802030651eba50eb46b59fe6a1
3
+ metadata.gz: beff1afbed0a9cddc373079716be43ec0ee5ed97de4ab23de2f2b02a70f53753
4
+ data.tar.gz: 86de4a5e3e36a9f724b6e6666cab12a7616b7312397b7c7244e1c47445224a52
5
5
  SHA512:
6
- metadata.gz: 816bcb596beff424c04487ed863f805a5cff262fd72564ab3a839d20001fa30138b488e3601f192f00eae59e0ff655acd4ee1f340baf29be2b20f63b035b00fb
7
- data.tar.gz: 3ffc14c691cd5ccd249763005fec5269b9e466ea888c07aa088c9946cd3fcb960d48e5cbf996ba1ed4ad6d47384c828a6b99f46597696823c9013cdb3702ec09
6
+ metadata.gz: d3428003ac3a37e18df3eaa6bffe56d7ea40bc9892c47ab68da03e942660494ad59c18909783b6c790f8dc31bb198054c102caa6ad829a31fe8df95f1d32684b
7
+ data.tar.gz: f52f30cb8004c8780712ee6ed3bdd26c014910d68f3b0f1e76f3d948a89a37ade7da4c8e9c0e43d754447d731567df287d6691c7b9c0fb7c20d90f2b61d6ecdc
data/.circle-ruby CHANGED
@@ -1,3 +1,3 @@
1
- 2.5.1
2
- 2.4.4
3
- 2.3.7
1
+ 2.5.3
2
+ 2.4.5
3
+ 2.3.8
@@ -19,7 +19,7 @@ module LogCabin
19
19
  private
20
20
 
21
21
  def parse_page
22
- page = open(@url) # rubocop:disable Security/Open
22
+ page = open(@url, @headers || {}) # rubocop:disable Security/Open
23
23
  html = Nokogiri::HTML(page) { |config| config.strict.nonet }
24
24
  html.xpath(@xpath).text.strip
25
25
  end
@@ -31,6 +31,10 @@ module LogCabin
31
31
  def xpath(value)
32
32
  @xpath = value
33
33
  end
34
+
35
+ def headers(value)
36
+ @headers = value
37
+ end
34
38
  end
35
39
  end
36
40
  end
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Declare package version
5
5
  module Prospectus
6
- VERSION = '0.8.0'.freeze
6
+ VERSION = '0.8.1'.freeze
7
7
  end
data/prospectus.gemspec CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_development_dependency 'codecov', '~> 0.1.1'
25
25
  s.add_development_dependency 'fuubar', '~> 2.3.0'
26
- s.add_development_dependency 'goodcop', '~> 0.5.0'
26
+ s.add_development_dependency 'goodcop', '~> 0.6.0'
27
27
  s.add_development_dependency 'rake', '~> 12.3.0'
28
28
  s.add_development_dependency 'rspec', '~> 3.8.0'
29
- s.add_development_dependency 'rubocop', '~> 0.58.0'
29
+ s.add_development_dependency 'rubocop', '~> 0.60.0'
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prospectus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-09 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logcabin
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.5.0
75
+ version: 0.6.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.5.0
82
+ version: 0.6.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.58.0
117
+ version: 0.60.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.58.0
124
+ version: 0.60.0
125
125
  description: Tool and DSL for checking expected vs actual state
126
126
  email: me@lesaker.org
127
127
  executables: