rock-queue-smpp 0.1.6.01 → 0.1.6.02
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.
- data/lib/rock-queue-smpp/worker.rb +14 -0
- metadata +1 -1
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
begin
|
|
2
|
+
require 'eventmanager'
|
|
3
|
+
rescue
|
|
4
|
+
puts "You need `eventmanager` gem to use rock-queue-smpp"
|
|
5
|
+
exit
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
begin
|
|
9
|
+
require 'ruby-smpp'
|
|
10
|
+
rescue
|
|
11
|
+
puts "You need `rubysmpp` gem to use rock-queue-smpp"
|
|
12
|
+
exit
|
|
13
|
+
end
|
|
14
|
+
|
|
1
15
|
module RockQueueSmpp
|
|
2
16
|
class Worker
|
|
3
17
|
# Whether the worker should log basic info to STDOUT
|