nexpose 2.1.0 → 2.1.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
  SHA1:
3
- metadata.gz: 66817396a7b72235d96f4349658d982731f19220
4
- data.tar.gz: 8eb90d767993a6dc3232f32ebe41dd78d5643c69
3
+ metadata.gz: 6135181a3541c32569d8ea7606ba0685dd5fa3c7
4
+ data.tar.gz: 494ff896cb0366bd74b3470414c223d21d1e13a4
5
5
  SHA512:
6
- metadata.gz: fa0dd9f478eb1226251800645824d13b832e5a39bd90f7d8587883e6b3b579d819fd56021fb16492a837ef7a245865dc82bd6b6ab0640b62aa6d9ad59d041d80
7
- data.tar.gz: 8b1029a519ed52d8506bc9c0141c68c375bdea3a5a7fc1c8aaddb3b409a7a6d42ce0c740f252891c4cc5fee9e788141f3b6e6e5e5a795864132f5d1ea2a1e60c
6
+ metadata.gz: 61168a8c11c370094a44b55c96b52a2009150abeca7b0ca83fb75da0beec11f72f2e8ce864f139a34397913f1cc661745dd1fe4d40f01dea22f342dc8d3de122
7
+ data.tar.gz: d3e0177cdd6aa5db81dd299657fca8dfe863908f99b2c87455cdd3824ead7dd1d18d1b6dfb6dde6794a6df27cfb63679bdaf0cd03e7fc630e16d5159c6c14d13
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexpose (2.0.3)
4
+ nexpose (2.1.1)
5
5
  rex (~> 2.0, >= 2.0.8)
6
6
 
7
7
  GEM
@@ -46,7 +46,7 @@ module Nexpose
46
46
  # @param [Connection] connection Nexpose connection.
47
47
  #
48
48
  def self.load(connection)
49
- xml = REXML::Document.new(Nexpose::AJAX.get(connection, '/ajax/nsc_config.txml'))
49
+ xml = REXML::Document.new(Nexpose::AJAX.get(connection, '/data/admin/config/nsc'))
50
50
  new(xml)
51
51
  end
52
52
 
@@ -63,7 +63,7 @@ module Nexpose
63
63
  web_server = REXML::XPath.first(nsc, 'WebServer')
64
64
  web_server.attributes['sessionTimeout'] = @session_timeout.to_i
65
65
 
66
- response = REXML::Document.new(Nexpose::AJAX.post(connection, '/ajax/save_nsc_config.txml', @xml))
66
+ response = REXML::Document.new(Nexpose::AJAX.post(connection, '/data/admin/config/nsc', @xml))
67
67
  saved = REXML::XPath.first(response, 'SaveConfig')
68
68
  saved.attributes['success'] == '1'
69
69
  end
@@ -1,4 +1,4 @@
1
1
  module Nexpose
2
2
  # The latest version of the Nexpose gem
3
- VERSION = '2.1.0'
3
+ VERSION = '2.1.1'
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: 2.1.0
4
+ version: 2.1.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: 2015-10-07 00:00:00.000000000 Z
16
+ date: 2015-10-21 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rex