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 +4 -4
- data/lib/moxprox/null_logger.rb +5 -12
- data/lib/moxprox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b412cbae25a6d5168c20e9bcc51608d421e77ff2
|
4
|
+
data.tar.gz: 40bb3941367b755c74e2283fad83db6ede848cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfa00c25c1d2ab5e27f3ee78bb7a109bd4377c7242184f7ac931cb34dfaf29c139c3b00f79bb261ebb3beceb03ae48e071465438fa9c16e996a12db6652333e
|
7
|
+
data.tar.gz: 506061fc0d64cc1ce70e8f346a67a3cf892acf7a4e31bdfe4d0573c7ee08db208966b518786fe50511b3e0835e431515601721a07e87c0ef70964dd6c2654a4c
|
data/lib/moxprox/null_logger.rb
CHANGED
@@ -1,18 +1,11 @@
|
|
1
1
|
require 'logger'
|
2
2
|
|
3
3
|
module Moxprox
|
4
|
-
|
4
|
+
class NullLoger < Logger
|
5
|
+
def initialize(*args)
|
6
|
+
end
|
5
7
|
|
6
|
-
|
7
|
-
|
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
|
data/lib/moxprox/version.rb
CHANGED