iron_mq 1.2.7 → 1.2.8
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/README.markdown +1 -1
- data/VERSION.yml +1 -1
- data/{ironmq.gemspec → iron_mq.gemspec} +9 -9
- data/lib/{ironmq → iron_mq}/client.rb +0 -0
- data/lib/{ironmq → iron_mq}/messages.rb +0 -0
- data/lib/{ironmq → iron_mq}/queues.rb +0 -0
- data/lib/iron_mq.rb +3 -0
- data/test/long_run.rb +3 -3
- data/test/test_base.rb +3 -3
- data/test/{test_ironmq.rb → test_iron_mq.rb} +0 -0
- metadata +11 -11
- data/lib/ironmq.rb +0 -3
data/README.markdown
CHANGED
data/VERSION.yml
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name = "
|
8
|
-
s.version = "1.2.
|
7
|
+
s.name = "iron_mq"
|
8
|
+
s.version = "1.2.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Travis Reeder"]
|
12
|
-
s.date = "2011-12-
|
12
|
+
s.date = "2011-12-14"
|
13
13
|
s.description = "Ruby client for IronMQ"
|
14
14
|
s.email = "travis@iron.io"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -19,15 +19,15 @@ Gem::Specification.new do |s|
|
|
19
19
|
"README.markdown",
|
20
20
|
"Rakefile",
|
21
21
|
"VERSION.yml",
|
22
|
-
"
|
23
|
-
"lib/
|
24
|
-
"lib/
|
25
|
-
"lib/
|
26
|
-
"lib/
|
22
|
+
"iron_mq.gemspec",
|
23
|
+
"lib/iron_mq.rb",
|
24
|
+
"lib/iron_mq/client.rb",
|
25
|
+
"lib/iron_mq/messages.rb",
|
26
|
+
"lib/iron_mq/queues.rb",
|
27
27
|
"test/long_run.rb",
|
28
28
|
"test/quick_run.rb",
|
29
29
|
"test/test_base.rb",
|
30
|
-
"test/
|
30
|
+
"test/test_iron_mq.rb"
|
31
31
|
]
|
32
32
|
s.homepage = "http://www.iron.io"
|
33
33
|
s.require_paths = ["lib"]
|
File without changes
|
File without changes
|
File without changes
|
data/lib/iron_mq.rb
ADDED
data/test/long_run.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'yaml'
|
2
2
|
require 'concur'
|
3
3
|
begin
|
4
|
-
require File.join(File.dirname(__FILE__), '..', 'lib', '
|
4
|
+
require File.join(File.dirname(__FILE__), '..', 'lib', 'iron_mq')
|
5
5
|
rescue Exception => ex
|
6
|
-
puts "Could NOT load current
|
6
|
+
puts "Could NOT load current iron_mq: " + ex.message
|
7
7
|
raise ex
|
8
8
|
end
|
9
9
|
|
10
|
-
@config = YAML::load_file(File.expand_path(File.join("~", "Dropbox", "configs", "
|
10
|
+
@config = YAML::load_file(File.expand_path(File.join("~", "Dropbox", "configs", "iron_mq_ruby", "test", "config.yml")))
|
11
11
|
@client = IronMQ::Client.new(@config['ironmq'])
|
12
12
|
@client.queue_name = 'ironmq-gem-long'
|
13
13
|
@num_to_add = @config['count']
|
data/test/test_base.rb
CHANGED
@@ -2,7 +2,7 @@ gem 'test-unit'
|
|
2
2
|
require 'test/unit'
|
3
3
|
require 'yaml'
|
4
4
|
begin
|
5
|
-
require File.join(File.dirname(__FILE__), '../lib/
|
5
|
+
require File.join(File.dirname(__FILE__), '../lib/iron_mq')
|
6
6
|
rescue Exception => ex
|
7
7
|
puts "Could NOT load current ironmq: " + ex.message
|
8
8
|
raise ex
|
@@ -12,8 +12,8 @@ end
|
|
12
12
|
class TestBase < Test::Unit::TestCase
|
13
13
|
def setup
|
14
14
|
puts 'setup'
|
15
|
-
@config = YAML::load_file(File.expand_path(File.join("~", "Dropbox", "configs", "
|
16
|
-
@client = IronMQ::Client.new(@config['
|
15
|
+
@config = YAML::load_file(File.expand_path(File.join("~", "Dropbox", "configs", "iron_mq_ruby", "test", "config.yml")))
|
16
|
+
@client = IronMQ::Client.new(@config['iron_mq'])
|
17
17
|
@client.logger.level = Logger::DEBUG
|
18
18
|
@client.queue_name = 'ironmq-ruby-tests'
|
19
19
|
|
File without changes
|
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: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|
16
|
-
requirement: &
|
16
|
+
requirement: &11957140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11957140
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: typhoeus
|
27
|
-
requirement: &
|
27
|
+
requirement: &11955980 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *11955980
|
36
36
|
description: Ruby client for IronMQ
|
37
37
|
email: travis@iron.io
|
38
38
|
executables: []
|
@@ -43,15 +43,15 @@ files:
|
|
43
43
|
- README.markdown
|
44
44
|
- Rakefile
|
45
45
|
- VERSION.yml
|
46
|
-
-
|
47
|
-
- lib/
|
48
|
-
- lib/
|
49
|
-
- lib/
|
50
|
-
- lib/
|
46
|
+
- iron_mq.gemspec
|
47
|
+
- lib/iron_mq.rb
|
48
|
+
- lib/iron_mq/client.rb
|
49
|
+
- lib/iron_mq/messages.rb
|
50
|
+
- lib/iron_mq/queues.rb
|
51
51
|
- test/long_run.rb
|
52
52
|
- test/quick_run.rb
|
53
53
|
- test/test_base.rb
|
54
|
-
- test/
|
54
|
+
- test/test_iron_mq.rb
|
55
55
|
homepage: http://www.iron.io
|
56
56
|
licenses: []
|
57
57
|
post_install_message:
|
data/lib/ironmq.rb
DELETED