nexpose 7.2.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60102dc88d0076ed863055134eaa8acbc01c1c9b
4
- data.tar.gz: 7e6435d349ce9493a88327a92f65a6921bdc2d90
3
+ metadata.gz: 6eb004353b98427b7211f6949aef25e5af350980
4
+ data.tar.gz: 0d4c2f48823801452e3d120ba05af488c7258b6c
5
5
  SHA512:
6
- metadata.gz: 988b868d5d35855bab9ec4c5af7aaa440796f3947322057f3278e739359758bc658a4a87f3f2f71eda88867cfdba4df26d481785ec3549d05a3d7bc117d7b9a8
7
- data.tar.gz: 457f1e7df3a68339cdf3079a905fdae8050c283adca807d4b34a5242fc7b6332d7a3fbbd14eaaf7dc64cd4c4715e3a5b61d1a04db7a09689531f12ff14170ce8
6
+ metadata.gz: 2ad19fa5c8ba791bbf84385b75d6ce0df87696d1abf7d34d5188eee1abf8ee6b318467fc673ec8548639ba413d42e9464b530532428ae6cbe28115555a6c2c45
7
+ data.tar.gz: 21d5b945ccaad8a99811dd2e83c690d140c44b99b20badaae3d35428aeadfcf726ae43a545bc5314cdc03b866e1331917fe3ba11407aa59b81e9e383ebd88cdd
@@ -1,5 +1,21 @@
1
1
  # Change Log
2
2
 
3
+ ## [v7.2.0](https://github.com/rapid7/nexpose-client/tree/v7.2.0) (2018-01-17)
4
+ [Full Changelog](https://github.com/rapid7/nexpose-client/compare/v7.1.1...v7.2.0)
5
+
6
+ **Closed issues:**
7
+
8
+ - list\_vuln\_exceptions returns API error [\#312](https://github.com/rapid7/nexpose-client/issues/312)
9
+ - Credentials failure after using Site.copy [\#307](https://github.com/rapid7/nexpose-client/issues/307)
10
+ - XML serialization for VulnException incorrect due to extra whitespace [\#304](https://github.com/rapid7/nexpose-client/issues/304)
11
+ - Nexpose timeout does not seem to work [\#299](https://github.com/rapid7/nexpose-client/issues/299)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Update vuln exceptions to use generally available API version [\#313](https://github.com/rapid7/nexpose-client/pull/313) ([mhuffman-r7](https://github.com/mhuffman-r7))
16
+ - Add a method to add common vuln status filters to report configs [\#303](https://github.com/rapid7/nexpose-client/pull/303) ([gschneider-r7](https://github.com/gschneider-r7))
17
+ - Updated for Ruby 2.4 Support [\#301](https://github.com/rapid7/nexpose-client/pull/301) ([twosevenzero](https://github.com/twosevenzero))
18
+
3
19
  ## [v7.1.1](https://github.com/rapid7/nexpose-client/tree/v7.1.1) (2017-09-28)
4
20
  [Full Changelog](https://github.com/rapid7/nexpose-client/compare/v7.1.0...v7.1.1)
5
21
 
@@ -143,11 +143,15 @@ module Nexpose
143
143
  http.cert_store = @trust_store
144
144
  end
145
145
  headers = { 'Cookie' => "nexposeCCSessionID=#{@session_id}" }
146
- resp = http.get(uri.to_s, headers)
147
146
 
148
147
  if file_name
149
- ::File.open(file_name, 'wb') { |file| file.write(resp.body) }
148
+ http.request_get(uri.to_s, headers) do |resp|
149
+ ::File.open(file_name, 'wb') do |file|
150
+ resp.read_body { |chunk| file.write(chunk) }
151
+ end
152
+ end
150
153
  else
154
+ resp = http.get(uri.to_s, headers)
151
155
  resp.body
152
156
  end
153
157
  end
@@ -1,4 +1,4 @@
1
1
  module Nexpose
2
2
  # The latest version of the Nexpose gem
3
- VERSION = '7.2.0'.freeze
3
+ VERSION = '7.2.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.0
4
+ version: 7.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-01-17 00:00:00.000000000 Z
16
+ date: 2018-06-01 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: bundler
@@ -238,7 +238,7 @@ files:
238
238
  - lib/nexpose/web_credentials.rb
239
239
  homepage: https://github.com/rapid7/nexpose-client
240
240
  licenses:
241
- - BSD
241
+ - BSD-3-Clause
242
242
  metadata: {}
243
243
  post_install_message:
244
244
  rdoc_options: []