zenvelope 0.2.0 → 0.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.
Files changed (3) hide show
  1. checksums.yaml +13 -5
  2. data/lib/zenvelope.rb +3 -3
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ed3e926f7321f987d043dd3486f61a8f5860177b
4
- data.tar.gz: afb5cd8e2b27138e72ffdd2af7df1afeacf0804c
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YTMyYTQ0YTBmNmYxZGY5MmZkZWM3NThhOTM0ZjVjZjc0MjUzMzI4OQ==
5
+ data.tar.gz: !binary |-
6
+ YjExNzk3ZDgwMWJmZjg3YzUxY2QyNDNiZThjZjZlZDkxMjY4ZmQyNQ==
5
7
  SHA512:
6
- metadata.gz: 734b13857513b816e295b9e789aa66a12f75c856fecd20e1ccbe9cb9ec42b3a524e6fac621c49b5f62ef56af116e0c3df53f4afe75402d9684d65f37d97d6d41
7
- data.tar.gz: fea344979a0a0c392abebaa0d7ddf20b1c1c851781d824e64a0c5e60dbdd56e5035e6e06464f05267ab69544d7c389e2c986befa6ffe7410ae347fca7a81aa44
8
+ metadata.gz: !binary |-
9
+ MmI3Yjk0Y2ZiZDQ5YzQyNzNjM2Y0ZTk5ZjNmZjk5Y2Y5NjdmMjIyMzlhZGNj
10
+ MmU5NWQwZmRlZDA3ZjFhOThlMWVjODE0YjczNDg0NDdmOWNhOGI0YjM2OTdk
11
+ NGFkZjlmZDlhZGRiNmQzYmZiOWRhMzBiYzVjNmFlY2I3ODE1NDY=
12
+ data.tar.gz: !binary |-
13
+ OTY3NDMzNTM1MmM3NTQ0MjI4NjQ0MmNiOTQ3NjE2ZjVhYjUzNmYzZjJhN2U2
14
+ YWY3OGI1NDgyYTJkMGU5ZjRmZTNkYWEyYTkwMjVlMzcxY2JmMDU4OGEyNzM0
15
+ Njg5YmM4YzMzOWViYjc4YzY4YTk4NmJhOTM5MTU5MGIwYjMzNGI=
@@ -5,12 +5,12 @@ require 'json'
5
5
  class Zenvelope
6
6
  JSON_RPC_VERSION = '2.0'
7
7
  RANDOM_ID_SEED = 100_000
8
- VERSION = '0.2.0'
8
+ VERSION = '0.2.1'
9
9
 
10
10
  attr_reader :auth
11
11
 
12
12
  # Subclass that provides the "action", i.e. the "get" in "host.get"
13
- class ZenvelopeAction
13
+ class Action
14
14
  def initialize(verb, parent)
15
15
  @verb = verb
16
16
  @parent = parent
@@ -37,7 +37,7 @@ class Zenvelope
37
37
  end
38
38
 
39
39
  def method_missing(method)
40
- instance_variable_set('@' + method.to_s, ZenvelopeAction.new(method, self))
40
+ instance_variable_set('@' + method.to_s, Action.new(method, self))
41
41
  instance_variable_get('@' + method.to_s)
42
42
  end
43
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenvelope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nickolai
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-09 00:00:00.000000000 Z
12
+ date: 2016-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -56,17 +56,17 @@ require_paths:
56
56
  - lib
57
57
  required_ruby_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.9.3
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - ">="
64
+ - - ! '>='
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
68
  rubyforge_project:
69
- rubygems_version: 2.4.8
69
+ rubygems_version: 2.4.5
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Simple Zabbix API wrapper