iron_mq 2.1.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 3.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-10 00:00:00.000000000 Z
12
+ date: 2013-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: iron_core
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.4.2
21
+ version: 0.4.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.4.2
29
+ version: 0.4.4
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: test-unit
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: minitest
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  - !ruby/object:Gem::Dependency
47
63
  name: rake
48
64
  requirement: !ruby/object:Gem::Requirement
@@ -141,7 +157,7 @@ dependencies:
141
157
  version: '0'
142
158
  description: Ruby client for IronMQ by www.iron.io
143
159
  email:
144
- - treeder@gmail.com
160
+ - travis@iron.io
145
161
  executables: []
146
162
  extensions: []
147
163
  extra_rdoc_files: []
@@ -156,6 +172,8 @@ files:
156
172
  - lib/iron_mq/client.rb
157
173
  - lib/iron_mq/messages.rb
158
174
  - lib/iron_mq/queues.rb
175
+ - lib/iron_mq/response.rb
176
+ - lib/iron_mq/subscribers.rb
159
177
  - lib/iron_mq/version.rb
160
178
  - test/long_run.rb
161
179
  - test/long_run_worker.rb
@@ -165,7 +183,8 @@ files:
165
183
  - test/test_beanstalkd.rb
166
184
  - test/test_bulk.rb
167
185
  - test/test_iron_mq.rb
168
- - test/tmp.rb
186
+ - test/test_push_queues.rb
187
+ - test/test_tmp.rb
169
188
  homepage: https://github.com/iron-io/iron_mq_ruby
170
189
  licenses: []
171
190
  post_install_message:
@@ -199,4 +218,5 @@ test_files:
199
218
  - test/test_beanstalkd.rb
200
219
  - test/test_bulk.rb
201
220
  - test/test_iron_mq.rb
202
- - test/tmp.rb
221
+ - test/test_push_queues.rb
222
+ - test/test_tmp.rb
data/test/tmp.rb DELETED
@@ -1,45 +0,0 @@
1
- gem 'test-unit'
2
- require 'test/unit'
3
- require 'yaml'
4
- require_relative 'test_base'
5
-
6
- class IronMQTests < TestBase
7
- def setup
8
- super
9
-
10
- @queue_name = "fixed_num2_migration"
11
-
12
- end
13
-
14
- def test_put_x
15
- q = @client.queue(@queue_name)
16
- 1000.times do |i|
17
- puts "#{i}"
18
- q.post("msg #{i}")
19
- end
20
- p q.reload.size
21
- assert_equal 1800, q.size
22
- end
23
-
24
- def test_get_x
25
- #q = @client.queue(@queue_name)
26
- #puts "q.size: #{q.size}"
27
- #100.times do |i|
28
- # puts "#{i}"
29
- # msg = q.get
30
- # msg.delete
31
- #end
32
- #p q.reload.size
33
- #assert_equal 900, q.reload.size
34
- end
35
- #
36
- #def test_poll_all
37
- # q = @client.queue(@queue_name)
38
- # puts "q.size: #{q.size}"
39
- # q.poll do |msg|
40
- # p msg
41
- # end
42
- # p queue.reload.size
43
- #end
44
-
45
- end