nexpose 0.8.13 → 0.8.14

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: 474e57f4bb98a4b99c7645607ea2494d7c00c81a
4
- data.tar.gz: 14c8333c379fa2a222aedfe8378ad2720ed0891e
3
+ metadata.gz: b4203fc1263d8462c9c26d6554f64aa7fce9875d
4
+ data.tar.gz: 36719498a9fdaed6c1fed14ca20db36423341afd
5
5
  SHA512:
6
- metadata.gz: bc5baa14ea3cd3cb18087dd2339f3bad38c6f83db277695a9ef4f104dad51ab750d0b2f592f41323e638bf2a35f69028a199a9596795063ffe3c6637f6be8380
7
- data.tar.gz: 8a67e8db4958859b6ddc31d80607ffd78ff1401d370ecdbe9e599dc3555837934204cabfe0d232ac3794995d928f08b8ed10c8b34fbd755c28185596d1a9e0e6
6
+ metadata.gz: cdc54f74a36efb0a7e6cd807fc11558042c08ef22b55598d96297188419ecae50f515cf4b2f1fcdd517d70a9f7f532bef171c439b472abb4554aa23be3dc4b71
7
+ data.tar.gz: 0f57b3af0d3567feb7de5fc9bf91b271a6cec3a15d96f4e2528f1d86c579a583f4d2f26c92bc10325fddf55378d646ecc8ab73754ad381b3b23548d86e90c2cf
@@ -169,7 +169,8 @@ module Nexpose
169
169
  resp = get(nsc, uri, CONTENT_TYPE::XML, 'name' => "#{pref}.rows")
170
170
  xml = REXML::Document.new(resp)
171
171
  if val = REXML::XPath.first(xml, 'GetUserPref/userPref')
172
- val.text.to_i
172
+ rows = val.text.to_i
173
+ rows > 0 ? rows : 10
173
174
  else
174
175
  10
175
176
  end
@@ -1,4 +1,4 @@
1
1
  module Nexpose
2
2
  # The latest version of the Nexpose gem
3
- VERSION = '0.8.13'
3
+ VERSION = '0.8.14'
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: 0.8.13
4
+ version: 0.8.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-11-05 00:00:00.000000000 Z
14
+ date: 2014-11-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rex