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 +4 -4
- data/lib/nexpose/ajax.rb +2 -1
- data/lib/nexpose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4203fc1263d8462c9c26d6554f64aa7fce9875d
|
4
|
+
data.tar.gz: 36719498a9fdaed6c1fed14ca20db36423341afd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdc54f74a36efb0a7e6cd807fc11558042c08ef22b55598d96297188419ecae50f515cf4b2f1fcdd517d70a9f7f532bef171c439b472abb4554aa23be3dc4b71
|
7
|
+
data.tar.gz: 0f57b3af0d3567feb7de5fc9bf91b271a6cec3a15d96f4e2528f1d86c579a583f4d2f26c92bc10325fddf55378d646ecc8ab73754ad381b3b23548d86e90c2cf
|
data/lib/nexpose/ajax.rb
CHANGED
@@ -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
|
data/lib/nexpose/version.rb
CHANGED
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.
|
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-
|
14
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rex
|