bunny 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/bunny.gemspec +2 -5
- data/lib/bunny/version.rb +1 -1
- data/lib/qrack/client.rb +1 -1
- data/lib/qrack/transport/buffer09.rb +2 -0
- metadata +6 -9
- data/bin/ci/before_build +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7448124e158fa2208a578597497b1be803332c97821ec5ed8de94a796d42b9e4
|
4
|
+
data.tar.gz: 4c90b0d5446c3c042fa1193d5856d86a268db046e90d8bd6972d1eba7a156e5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcc378aeb3bde03df5377ea30f82815dff363c8353313b80aae0712e70e18e44bcb2af7bbe83ff1615788a49a613e7a92745a423840cc10eee8c0ac7e659d097
|
7
|
+
data.tar.gz: c0b8095a6d419464433e2396ee5d0cda1624c967e94562c7c41876ecc27b80a4e94329f01ea240ded0a7dd7f5642e1be7579522fd9885607bb26beb07ba7bf32
|
data/.gitignore
CHANGED
data/bunny.gemspec
CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = "http://github.com/ruby-amqp/bunny"
|
11
11
|
s.summary = "Synchronous Ruby AMQP 0.9.1 client"
|
12
12
|
s.description = "A synchronous Ruby AMQP client that enables interaction with AMQP-compliant brokers."
|
13
|
+
s.license = "MIT"
|
13
14
|
|
14
15
|
# Sorted alphabetically.
|
15
16
|
s.authors = [
|
@@ -28,10 +29,9 @@ Gem::Specification.new do |s|
|
|
28
29
|
map { |mail| Base64.decode64(mail) }
|
29
30
|
|
30
31
|
# Files.
|
31
|
-
s.has_rdoc = true
|
32
32
|
s.extra_rdoc_files = ["README.textile"]
|
33
33
|
s.rdoc_options = ["--main", "README.rdoc"]
|
34
|
-
s.files = `git ls-files`.split("\n")
|
34
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^bin/ci/}) }
|
35
35
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
36
36
|
s.require_paths = ["lib"]
|
37
37
|
|
@@ -40,7 +40,4 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.post_install_message = CHANGELOG.new.version_changes
|
41
41
|
rescue LoadError
|
42
42
|
end
|
43
|
-
|
44
|
-
# RubyForge
|
45
|
-
s.rubyforge_project = "bunny-amqp"
|
46
43
|
end
|
data/lib/bunny/version.rb
CHANGED
data/lib/qrack/client.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Duncan
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
16
16
|
dependencies: []
|
17
17
|
description: A synchronous Ruby AMQP client that enables interaction with AMQP-compliant
|
18
18
|
brokers.
|
@@ -36,7 +36,6 @@ files:
|
|
36
36
|
- LICENSE
|
37
37
|
- README.textile
|
38
38
|
- Rakefile
|
39
|
-
- bin/ci/before_build
|
40
39
|
- bunny.gemspec
|
41
40
|
- examples/simple_08.rb
|
42
41
|
- examples/simple_09.rb
|
@@ -96,10 +95,10 @@ files:
|
|
96
95
|
- spec/spec_09/exchange_spec.rb
|
97
96
|
- spec/spec_09/queue_spec.rb
|
98
97
|
homepage: http://github.com/ruby-amqp/bunny
|
99
|
-
licenses:
|
98
|
+
licenses:
|
99
|
+
- MIT
|
100
100
|
metadata: {}
|
101
|
-
post_install_message:
|
102
|
-
headers\n"
|
101
|
+
post_install_message:
|
103
102
|
rdoc_options:
|
104
103
|
- "--main"
|
105
104
|
- README.rdoc
|
@@ -116,8 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
115
|
- !ruby/object:Gem::Version
|
117
116
|
version: '0'
|
118
117
|
requirements: []
|
119
|
-
|
120
|
-
rubygems_version: 2.6.12
|
118
|
+
rubygems_version: 3.0.2
|
121
119
|
signing_key:
|
122
120
|
specification_version: 4
|
123
121
|
summary: Synchronous Ruby AMQP 0.9.1 client
|
@@ -131,4 +129,3 @@ test_files:
|
|
131
129
|
- spec/spec_09/connection_spec.rb
|
132
130
|
- spec/spec_09/exchange_spec.rb
|
133
131
|
- spec/spec_09/queue_spec.rb
|
134
|
-
has_rdoc: true
|
data/bin/ci/before_build
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
$ctl = ENV["BUNNY_RABBITMQCTL"] || ENV["RABBITMQCTL"] || "sudo rabbitmqctl"
|
4
|
-
$plugins = ENV["BUNNY_RABBITMQ_PLUGINS"] || ENV["RABBITMQ_PLUGINS"] || "sudo rabbitmq-plugins"
|
5
|
-
|
6
|
-
def rabbit_control(args)
|
7
|
-
command = "#{$ctl} #{args}"
|
8
|
-
system command
|
9
|
-
end
|
10
|
-
|
11
|
-
def rabbit_plugins(args)
|
12
|
-
command = "#{$plugins} #{args}"
|
13
|
-
system command
|
14
|
-
end
|
15
|
-
|
16
|
-
|
17
|
-
# guest:guest has full access to /
|
18
|
-
|
19
|
-
rabbit_control 'add_vhost /'
|
20
|
-
rabbit_control 'add_user guest guest'
|
21
|
-
rabbit_control 'set_permissions -p / guest ".*" ".*" ".*"'
|
22
|
-
|
23
|
-
|
24
|
-
# bunny_gem:bunny_password has full access to bunny_testbed
|
25
|
-
|
26
|
-
rabbit_control 'add_vhost bunny_testbed'
|
27
|
-
rabbit_control 'add_user bunny_gem bunny_password'
|
28
|
-
rabbit_control 'set_permissions -p bunny_testbed bunny_gem ".*" ".*" ".*"'
|
29
|
-
|
30
|
-
|
31
|
-
# guest:guest has full access to bunny_testbed
|
32
|
-
|
33
|
-
rabbit_control 'set_permissions -p bunny_testbed guest ".*" ".*" ".*"'
|
34
|
-
|
35
|
-
|
36
|
-
# bunny_reader:reader_password has read access to bunny_testbed
|
37
|
-
|
38
|
-
rabbit_control 'add_user bunny_reader reader_password'
|
39
|
-
rabbit_control 'set_permissions -p bunny_testbed bunny_reader "^---$" "^---$" ".*"'
|
40
|
-
|
41
|
-
# requires RabbitMQ 3.0+
|
42
|
-
# rabbit_plugins 'enable rabbitmq_management'
|
43
|
-
|
44
|
-
# Reduce retention policy for faster publishing of stats
|
45
|
-
rabbit_control "eval 'supervisor2:terminate_child(rabbit_mgmt_sup_sup, rabbit_mgmt_sup), application:set_env(rabbitmq_management, sample_retention_policies, [{global, [{605, 1}]}, {basic, [{605, 1}]}, {detailed, [{10, 1}]}]), rabbit_mgmt_sup_sup:start_child().'"
|
46
|
-
rabbit_control "eval 'supervisor2:terminate_child(rabbit_mgmt_agent_sup_sup, rabbit_mgmt_agent_sup), application:set_env(rabbitmq_management_agent, sample_retention_policies, [{global, [{605, 1}]}, {basic, [{605, 1}]}, {detailed, [{10, 1}]}]), rabbit_mgmt_agent_sup_sup:start_child().'"
|