famoseagle-sweat_shop 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION.yml +1 -1
- data/lib/message_queue/rabbit.rb +6 -5
- metadata +5 -4
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ begin
|
|
13
13
|
s.description = "TODO"
|
14
14
|
s.authors = ["Amos Elliston"]
|
15
15
|
s.files = FileList["[A-Z]*", "{lib,test,config}/**/*"]
|
16
|
-
s.add_dependency('famoseagle-carrot', '= 0.
|
16
|
+
s.add_dependency('famoseagle-carrot', '= 0.7.0')
|
17
17
|
end
|
18
18
|
rescue LoadError
|
19
19
|
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
data/VERSION.yml
CHANGED
data/lib/message_queue/rabbit.rb
CHANGED
@@ -56,11 +56,12 @@ module MessageQueue
|
|
56
56
|
|
57
57
|
def client
|
58
58
|
@client ||= Carrot.new(
|
59
|
-
:host
|
60
|
-
:port
|
61
|
-
:user
|
62
|
-
:pass
|
63
|
-
:vhost
|
59
|
+
:host => @opts['host'],
|
60
|
+
:port => @opts['port'].to_i,
|
61
|
+
:user => @opts['user'],
|
62
|
+
:pass => @opts['pass'],
|
63
|
+
:vhost => @opts['vhost'],
|
64
|
+
:insist => @opts['insist']
|
64
65
|
)
|
65
66
|
end
|
66
67
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: famoseagle-sweat_shop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amos Elliston
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-26 00:00:00 -07:00
|
13
13
|
default_executable: sweatd
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 0.7.0
|
24
24
|
version:
|
25
25
|
description: TODO
|
26
26
|
email: amos@geni.com
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- test/test_sweatshop.rb
|
54
54
|
has_rdoc: true
|
55
55
|
homepage: http://github.com/famoseagle/sweat-shop
|
56
|
+
licenses:
|
56
57
|
post_install_message:
|
57
58
|
rdoc_options:
|
58
59
|
- --charset=UTF-8
|
@@ -73,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
74
|
requirements: []
|
74
75
|
|
75
76
|
rubyforge_project:
|
76
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.3.5
|
77
78
|
signing_key:
|
78
79
|
specification_version: 2
|
79
80
|
summary: SweatShop is a simple asynchronous worker queue build on top of rabbitmq/ampq
|