moxprox 0.0.1 → 0.0.2

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: d2d687aa7b4ebeb9ad3580ae5586409086f9555d
4
- data.tar.gz: d1e44ddd5ea2468b639eba07cb72565595a2ee46
3
+ metadata.gz: b412cbae25a6d5168c20e9bcc51608d421e77ff2
4
+ data.tar.gz: 40bb3941367b755c74e2283fad83db6ede848cf7
5
5
  SHA512:
6
- metadata.gz: fa5b17b5de9cd74fb44697d19c6ecbfc8b0c8c5c29c758cfad7d2de748ff11b5f4a0fad66a33d66a67d8c45a0f573689f9dc04a2da6e4de9a365ff39ca17ce87
7
- data.tar.gz: 05bf64c6542c3e58c62ded5106d8b4e323fbf8538190b8a908aa70894005032292fd2f9c8c6e92d3ef8d0b5b8607d3668996b4510716e9771cb5d4c212e91e69
6
+ metadata.gz: 0bfa00c25c1d2ab5e27f3ee78bb7a109bd4377c7242184f7ac931cb34dfaf29c139c3b00f79bb261ebb3beceb03ae48e071465438fa9c16e996a12db6652333e
7
+ data.tar.gz: 506061fc0d64cc1ce70e8f346a67a3cf892acf7a4e31bdfe4d0573c7ee08db208966b518786fe50511b3e0835e431515601721a07e87c0ef70964dd6c2654a4c
@@ -1,18 +1,11 @@
1
1
  require 'logger'
2
2
 
3
3
  module Moxprox
4
- attr_reader :logger
4
+ class NullLoger < Logger
5
+ def initialize(*args)
6
+ end
5
7
 
6
- def initialize(opts = {})
7
- @ticket = Ticket.login(opts.fetch(:host), opts.fetch(:username), opts.fetch(:password))
8
- @logger = opts[:logger] || NullLoger.new
9
- end
10
-
11
- def node(name)
12
- Node.new(self, name)
13
- end
14
-
15
- def request(path, method = "get", query = {})
16
- Request.new(path, method, query).perform(@ticket)
8
+ def add(*args, &block)
9
+ end
17
10
  end
18
11
  end
@@ -1,3 +1,3 @@
1
1
  module Moxprox
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moxprox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Tomás Albornoz