vayacondios-client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vayacondios/client/notifier.rb +3 -1
- metadata +47 -17
@@ -21,6 +21,8 @@ class Vayacondios
|
|
21
21
|
end
|
22
22
|
|
23
23
|
class NullNotifier < Notifier
|
24
|
+
def initialize(*args) ; end
|
25
|
+
|
24
26
|
def notify topic, cargo={}
|
25
27
|
end
|
26
28
|
end
|
@@ -56,7 +58,7 @@ class Vayacondios
|
|
56
58
|
|
57
59
|
class NotifierFactory
|
58
60
|
def self.receive(attrs = {})
|
59
|
-
type = attrs
|
61
|
+
type = attrs[:type]
|
60
62
|
case type
|
61
63
|
when 'http' then HttpNotifier.new(attrs)
|
62
64
|
when 'log' then LogNotifier.new(attrs)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vayacondios-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-12-
|
15
|
+
date: 2012-12-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: configliere
|
19
|
-
requirement:
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
@@ -24,10 +24,15 @@ dependencies:
|
|
24
24
|
version: 0.4.16
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.4.16
|
28
33
|
- !ruby/object:Gem::Dependency
|
29
34
|
name: multi_json
|
30
|
-
requirement:
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
31
36
|
none: false
|
32
37
|
requirements:
|
33
38
|
- - ~>
|
@@ -35,10 +40,15 @@ dependencies:
|
|
35
40
|
version: '1.1'
|
36
41
|
type: :runtime
|
37
42
|
prerelease: false
|
38
|
-
version_requirements:
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.1'
|
39
49
|
- !ruby/object:Gem::Dependency
|
40
50
|
name: gorillib
|
41
|
-
requirement:
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
42
52
|
none: false
|
43
53
|
requirements:
|
44
54
|
- - ~>
|
@@ -46,10 +56,15 @@ dependencies:
|
|
46
56
|
version: 0.4.2
|
47
57
|
type: :runtime
|
48
58
|
prerelease: false
|
49
|
-
version_requirements:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 0.4.2
|
50
65
|
- !ruby/object:Gem::Dependency
|
51
66
|
name: rake
|
52
|
-
requirement:
|
67
|
+
requirement: !ruby/object:Gem::Requirement
|
53
68
|
none: false
|
54
69
|
requirements:
|
55
70
|
- - ! '>='
|
@@ -57,10 +72,15 @@ dependencies:
|
|
57
72
|
version: '0'
|
58
73
|
type: :development
|
59
74
|
prerelease: false
|
60
|
-
version_requirements:
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: yard
|
63
|
-
requirement:
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
64
84
|
none: false
|
65
85
|
requirements:
|
66
86
|
- - ! '>='
|
@@ -68,10 +88,15 @@ dependencies:
|
|
68
88
|
version: '0.7'
|
69
89
|
type: :development
|
70
90
|
prerelease: false
|
71
|
-
version_requirements:
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.7'
|
72
97
|
- !ruby/object:Gem::Dependency
|
73
98
|
name: rspec
|
74
|
-
requirement:
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
75
100
|
none: false
|
76
101
|
requirements:
|
77
102
|
- - ! '>='
|
@@ -79,7 +104,12 @@ dependencies:
|
|
79
104
|
version: '2.8'
|
80
105
|
type: :development
|
81
106
|
prerelease: false
|
82
|
-
version_requirements:
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '2.8'
|
83
113
|
description: Simple enough to use in a shell script, performant enough to use everywhere.
|
84
114
|
Dios mío! Record that metric, ese!
|
85
115
|
email:
|
@@ -108,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
138
|
version: '0'
|
109
139
|
segments:
|
110
140
|
- 0
|
111
|
-
hash: -
|
141
|
+
hash: -2836890391198069767
|
112
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
143
|
none: false
|
114
144
|
requirements:
|
@@ -117,10 +147,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
147
|
version: '0'
|
118
148
|
segments:
|
119
149
|
- 0
|
120
|
-
hash: -
|
150
|
+
hash: -2836890391198069767
|
121
151
|
requirements: []
|
122
152
|
rubyforge_project:
|
123
|
-
rubygems_version: 1.8.
|
153
|
+
rubygems_version: 1.8.24
|
124
154
|
signing_key:
|
125
155
|
specification_version: 3
|
126
156
|
summary: Data goes in. The right thing happens
|