rock-queue-smpp 0.1.5 → 0.1.5.01

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.
Files changed (2) hide show
  1. data/lib/rock-queue-smpp/worker.rb +5 -0
  2. metadata +1 -1
@@ -13,6 +13,11 @@ module RockQueueSmpp
13
13
  }
14
14
  end
15
15
 
16
+ def self.send_mt(*args)
17
+ @@mt_id += 1
18
+ @@tx.send_mt(@@mt_id, *args)
19
+ end
20
+
16
21
  # Main worker loop where all jobs are beeing pulled of the queue.
17
22
  # This is also a place where every job starts and ends it's lifecycle.
18
23
  def work
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock-queue-smpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.5.01
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Kazulak, Matt Van Veenendaal