prtg 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/prtg/query.rb +1 -1
  2. metadata +4 -6
  3. data/lib/#prtg.rb# +0 -20
data/lib/prtg/query.rb CHANGED
@@ -19,7 +19,7 @@ module Prtg # :nodoc:
19
19
  # content is like a table
20
20
  # count is like LIMIT
21
21
  # start is like OFFSET
22
- VALUES = [:count, :start, :output, :objid]
22
+ VALUES = [:count, :start, :output, :id]
23
23
 
24
24
  VALUES.each do |key|
25
25
  define_method key do |value|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prtg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
@@ -34,11 +34,10 @@ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
- - lib/prtg/utils.rb
37
+ - lib/prtg.rb
38
38
  - lib/prtg/query.rb
39
39
  - lib/prtg/client.rb
40
- - lib/#prtg.rb#
41
- - lib/prtg.rb
40
+ - lib/prtg/utils.rb
42
41
  homepage: http://github.com/ikaros/Prtg-for-Ruby
43
42
  licenses: []
44
43
  post_install_message:
@@ -64,4 +63,3 @@ signing_key:
64
63
  specification_version: 3
65
64
  summary: Wrapper for the prtg network monitor api (http://www.paessler.com/prtg)
66
65
  test_files: []
67
- has_rdoc:
data/lib/#prtg.rb# DELETED
@@ -1,20 +0,0 @@
1
- # encoding: utf-8
2
- dir = File.dirname(__FILE__)
3
- $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
4
- require "rubygems"
5
- require "#{dir}/prtg/client"
6
- require "#{dir}/prtg/query"
7
- require "#{dir}/prtg/utils"
8
-
9
- # This is a wrapper for the api of paessler's prtg monitoring tool.
10
- #
11
- # Simple Example:
12
- # http = Net::HTTP.new("subdomain.domain.tld", 443)
13
- # http.use_ssl = true
14
- # http.verify_mode = OpenSSL::SSL::VERIFY_NONE
15
- #
16
- # client = Prtg::Client.new(:host => http, :username => "foo", :password => "bar")
17
- # p client.live_data(:sensors)
18
- module Prtg
19
- VERSION = "0.0.5"
20
- end