emissary 1.3.22 → 1.3.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 3
4
- :patch: 22
4
+ :patch: 23
@@ -0,0 +1,13 @@
1
+ [general]
2
+
3
+ # what operator types are monitoring for message events (comma seperated list)
4
+ operators = [ amqp ]
5
+
6
+ # pid_dir: Where to store the Process ID file which contains the id of the process
7
+ # and is used for stoping and reloading the service
8
+ pid_dir = /var/run
9
+
10
+ # log_level: the level of information to log. see 'man 3 syslog' for list of log levels
11
+ log_level = NOTICE
12
+
13
+ agents = [ all ]
@@ -0,0 +1,51 @@
1
+ #!/bin/sh
2
+ # $Id: emissary 496 2009-03-14 02:26:46Z ccorliss $
3
+ # emissary This shell script takes care of starting and stopping emissary.
4
+ #
5
+ # chkconfig: 2345 99 10
6
+ # description: emissary provides support for handling of network events.
7
+
8
+ CONFIG_FILE=/etc/emissary/config.ini
9
+ ## Do this to ensure that RVM is used (invoke a subshell) if it exists on the system. No harm otherwise
10
+ EMISSARY_EXECUTABLE=$(/bin/sh -l -c "ruby -rrubygems -e 'puts Gem.bindir'")/emissary
11
+
12
+ [ -f "${CONFIG_FILE}" ] || exit 0
13
+
14
+ . /etc/rc.d/init.d/functions
15
+
16
+ if [ -f /etc/sysconfig/emissary ]; then
17
+ . /etc/sysconfig/emissary
18
+ fi
19
+
20
+ # See how we were called.
21
+ case "$1" in
22
+ start)
23
+ # Start daemon.
24
+ echo -n "Starting emissary: "
25
+ daemon ${EMISSARY_EXECUTABLE} -d --config-file ${CONFIG_FILE} start
26
+ touch /var/lock/subsys/emissary
27
+ echo
28
+ ;;
29
+ stop)
30
+ # Stop daemon.
31
+ echo -n "Shutting down emissary: "
32
+ daemon ${EMISSARY_EXECUTABLE} --config-file ${CONFIG_FILE} stop
33
+ echo
34
+ rm -f /var/lock/subsys/emissary
35
+ ;;
36
+ restart)
37
+ daemon ${EMISSARY_EXECUTABLE} --config-file ${CONFIG_FILE} restart
38
+ ;;
39
+ status)
40
+ daemon ${EMISSARY_EXECUTABLE} --config-file ${CONFIG_FILE} status
41
+ ;;
42
+ reconfig)
43
+ daemon ${EMISSARY_EXECUTABLE} --config-file ${CONFIG_FILE} reconfig
44
+ ;;
45
+ *)
46
+ echo "Usage: emissary {start|stop|restart|status|reconfig}"
47
+ exit 1
48
+ ;;
49
+ esac
50
+
51
+ exit 0
metadata CHANGED
@@ -1,194 +1,186 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: emissary
3
- version: !ruby/object:Gem::Version
4
- hash: 55
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.23
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 3
9
- - 22
10
- version: 1.3.22
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Carl P. Corliss
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-01-08 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: daemons
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 1
31
- - 0
32
- - 10
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.0.10
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: inifile
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.10
30
+ - !ruby/object:Gem::Dependency
31
+ name: inifile
32
+ requirement: !ruby/object:Gem::Requirement
40
33
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 19
45
- segments:
46
- - 0
47
- - 3
48
- - 0
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
49
37
  version: 0.3.0
50
38
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: sys-cpu
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
56
41
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
- - 6
64
- - 2
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.3.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: sys-cpu
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
65
53
  version: 0.6.2
66
54
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: bert
70
55
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
72
57
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 23
77
- segments:
78
- - 1
79
- - 1
80
- - 2
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.6.2
62
+ - !ruby/object:Gem::Dependency
63
+ name: bert
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
81
69
  version: 1.1.2
82
70
  type: :runtime
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
- name: amqp
86
71
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.2
78
+ - !ruby/object:Gem::Dependency
79
+ name: amqp
80
+ requirement: !ruby/object:Gem::Requirement
88
81
  none: false
89
- requirements:
90
- - - "="
91
- - !ruby/object:Gem::Version
92
- hash: 9
93
- segments:
94
- - 0
95
- - 6
96
- - 7
82
+ requirements:
83
+ - - '='
84
+ - !ruby/object:Gem::Version
97
85
  version: 0.6.7
98
86
  type: :runtime
99
- version_requirements: *id005
100
- - !ruby/object:Gem::Dependency
101
- name: carrot
102
87
  prerelease: false
103
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.6.7
94
+ - !ruby/object:Gem::Dependency
95
+ name: carrot
96
+ requirement: !ruby/object:Gem::Requirement
104
97
  none: false
105
- requirements:
106
- - - "="
107
- - !ruby/object:Gem::Version
108
- hash: 61
109
- segments:
110
- - 0
111
- - 8
112
- - 1
98
+ requirements:
99
+ - - '='
100
+ - !ruby/object:Gem::Version
113
101
  version: 0.8.1
114
102
  type: :runtime
115
- version_requirements: *id006
116
- - !ruby/object:Gem::Dependency
117
- name: eventmachine
118
103
  prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.8.1
110
+ - !ruby/object:Gem::Dependency
111
+ name: eventmachine
112
+ requirement: !ruby/object:Gem::Requirement
120
113
  none: false
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- hash: 59
125
- segments:
126
- - 0
127
- - 12
128
- - 10
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
129
117
  version: 0.12.10
130
118
  type: :runtime
131
- version_requirements: *id007
132
- - !ruby/object:Gem::Dependency
133
- name: servolux
134
119
  prerelease: false
135
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
136
121
  none: false
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 51
141
- segments:
142
- - 0
143
- - 9
144
- - 4
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.12.10
126
+ - !ruby/object:Gem::Dependency
127
+ name: servolux
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
145
133
  version: 0.9.4
146
134
  type: :runtime
147
- version_requirements: *id008
148
- - !ruby/object:Gem::Dependency
149
- name: uuid
150
135
  prerelease: false
151
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
152
137
  none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- hash: 3
157
- segments:
158
- - 2
159
- - 3
160
- - 0
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: 0.9.4
142
+ - !ruby/object:Gem::Dependency
143
+ name: uuid
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
161
149
  version: 2.3.0
162
150
  type: :runtime
163
- version_requirements: *id009
164
- - !ruby/object:Gem::Dependency
165
- name: work_queue
166
151
  prerelease: false
167
- requirement: &id010 !ruby/object:Gem::Requirement
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: 2.3.0
158
+ - !ruby/object:Gem::Dependency
159
+ name: work_queue
160
+ requirement: !ruby/object:Gem::Requirement
168
161
  none: false
169
- requirements:
170
- - - "="
171
- - !ruby/object:Gem::Version
172
- hash: 23
173
- segments:
174
- - 1
175
- - 0
176
- - 0
162
+ requirements:
163
+ - - '='
164
+ - !ruby/object:Gem::Version
177
165
  version: 1.0.0
178
166
  type: :runtime
179
- version_requirements: *id010
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 1.0.0
180
174
  description:
181
175
  email: rabbitt@gmail.com
182
- executables:
176
+ executables:
183
177
  - emissary-setup
184
178
  - emissary-send-message
185
179
  - emissary
186
180
  - amqp-listen
187
181
  extensions: []
188
-
189
182
  extra_rdoc_files: []
190
-
191
- files:
183
+ files:
192
184
  - bin/amqp-listen
193
185
  - bin/emissary
194
186
  - bin/emissary-send-message
@@ -223,6 +215,8 @@ files:
223
215
  - lib/emissary/server.rb
224
216
  - lib/emissary/servolux.rb
225
217
  - lib/emissary.rb
218
+ - etc/emissary/config.ini
219
+ - etc/init.d/emissary
226
220
  - LICENSE
227
221
  - README.txt
228
222
  - Rakefile
@@ -231,36 +225,26 @@ files:
231
225
  - History.txt
232
226
  homepage: http://nimbul.github.com/nimbul/
233
227
  licenses: []
234
-
235
228
  post_install_message:
236
229
  rdoc_options: []
237
-
238
- require_paths:
230
+ require_paths:
239
231
  - lib
240
- required_ruby_version: !ruby/object:Gem::Requirement
232
+ required_ruby_version: !ruby/object:Gem::Requirement
241
233
  none: false
242
- requirements:
243
- - - ">="
244
- - !ruby/object:Gem::Version
245
- hash: 3
246
- segments:
247
- - 0
248
- version: "0"
249
- required_rubygems_version: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ required_rubygems_version: !ruby/object:Gem::Requirement
250
239
  none: false
251
- requirements:
252
- - - ">="
253
- - !ruby/object:Gem::Version
254
- hash: 3
255
- segments:
256
- - 0
257
- version: "0"
240
+ requirements:
241
+ - - ! '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
258
244
  requirements: []
259
-
260
245
  rubyforge_project:
261
246
  rubygems_version: 1.8.24
262
247
  signing_key:
263
248
  specification_version: 3
264
249
  summary: EventMachine/AMQP based event handling client
265
250
  test_files: []
266
-