amq-client 0.7.0.alpha26 → 0.7.0.alpha27
Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml
CHANGED
data/amq-client.gemspec
CHANGED
@@ -7,18 +7,18 @@ rabbitmqctl add_user guest guest
|
|
7
7
|
rabbitmqctl set_permissions -p / guest ".*" ".*" ".*"
|
8
8
|
|
9
9
|
|
10
|
-
# guest:guest has full access to
|
10
|
+
# guest:guest has full access to amq_client_testbed
|
11
11
|
# amq_client_gem:amq_client_gem has full access to /amq_client_testbed
|
12
12
|
|
13
|
-
rabbitmqctl delete_vhost "
|
14
|
-
rabbitmqctl add_vhost "
|
13
|
+
rabbitmqctl delete_vhost "amq_client_testbed"
|
14
|
+
rabbitmqctl add_vhost "amq_client_testbed"
|
15
15
|
rabbitmqctl delete_user amq_client_gem
|
16
16
|
rabbitmqctl add_user amq_client_gem amq_client_gem_password
|
17
|
-
rabbitmqctl set_permissions -p
|
18
|
-
rabbitmqctl set_permissions -p
|
17
|
+
rabbitmqctl set_permissions -p amq_client_testbed guest ".*" ".*" ".*"
|
18
|
+
rabbitmqctl set_permissions -p amq_client_testbed amq_client_gem ".*" ".*" ".*"
|
19
19
|
|
20
20
|
|
21
|
-
# amqp_gem_reader:reader_password has read access to
|
21
|
+
# amqp_gem_reader:reader_password has read access to amq_client_testbed
|
22
22
|
|
23
23
|
rabbitmqctl add_user amq_client_gem_reader reader_password
|
24
|
-
rabbitmqctl set_permissions -p
|
24
|
+
rabbitmqctl set_permissions -p amq_client_testbed amq_client_gem_reader "^---$" "^---$" ".*"
|
data/lib/amq/client/version.rb
CHANGED
@@ -24,7 +24,7 @@ end
|
|
24
24
|
|
25
25
|
def coolio_amqp_connect(&block)
|
26
26
|
coolio do
|
27
|
-
AMQ::Client::CoolioClient.connect(:port => 5672, :vhost => "
|
27
|
+
AMQ::Client::CoolioClient.connect(:port => 5672, :vhost => "amq_client_testbed", :frame_max => 2**16-1, :heartbeat_interval => 1) do |client|
|
28
28
|
yield client
|
29
29
|
end
|
30
30
|
end
|
@@ -15,7 +15,7 @@ end
|
|
15
15
|
|
16
16
|
def em_amqp_connect(&block)
|
17
17
|
em do
|
18
|
-
AMQ::Client::EventMachineClient.connect(:port => 5672, :vhost => "
|
18
|
+
AMQ::Client::EventMachineClient.connect(:port => 5672, :vhost => "amq_client_testbed", :frame_max => 65536, :heartbeat_interval => 1) do |client|
|
19
19
|
yield client
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amq-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -3702664422
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 0.7.0.
|
11
|
+
- 27
|
12
|
+
version: 0.7.0.alpha27
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Jakub Stastny
|
@@ -20,7 +20,7 @@ autorequire:
|
|
20
20
|
bindir: bin
|
21
21
|
cert_chain: []
|
22
22
|
|
23
|
-
date: 2011-05-
|
23
|
+
date: 2011-05-24 00:00:00 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: eventmachine
|
@@ -44,10 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
hash:
|
47
|
+
hash: -3702664412
|
48
48
|
segments:
|
49
49
|
- 0
|
50
|
-
|
50
|
+
- 7
|
51
|
+
- 0
|
52
|
+
- alpha
|
53
|
+
- 4
|
54
|
+
version: 0.7.0.alpha4
|
51
55
|
type: :runtime
|
52
56
|
version_requirements: *id002
|
53
57
|
description: amq-client supports multiple networking adapters (EventMachine, TCP sockets, cool.io) and supposed to back more opinionated AMQP clients (such as amqp gem, bunny, et cetera) or be used directly in cases when access to more advanced AMQP 0.9.1 features is more important that convenient APIs
|