rabbitmq_http_api_client 3.0.0 → 3.1.0
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.
- checksums.yaml +4 -4
- data/ChangeLog.md +20 -0
- data/README.md +27 -17
- data/lib/rabbitmq/http/client/version.rb +1 -1
- metadata +13 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 112665308e0fdad4c85aac225f8cfb3628a87361eec6636fd66d228fd3f217b2
|
|
4
|
+
data.tar.gz: 85d90413b2a24161eab37b3c6a66024743f0e49965ae49d853705838df086f95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91fc2fa48278d2e272a09b685ed158be459e10e5da145fb66cca7ce276ba7027481a8a123b37920d766de9bebe001eb7b3fa79d0c68cee0a7ca87a613e9db2f3
|
|
7
|
+
data.tar.gz: b98f7a71da163fea31407b4f8fef74966d782ec6faacdf4fc63eef9960177d9d04b5b87281d437246c94d3a30fb6d372fc4bf322e47843e0f48969de4b9a08b4
|
data/ChangeLog.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## Changes Between 3.1.0 and 3.2.0 (in development)
|
|
2
|
+
|
|
3
|
+
No changes yet.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Changes Between 3.0.0 and 3.1.0 (Nov 4, 2025)
|
|
7
|
+
|
|
8
|
+
### Dependency Updates
|
|
9
|
+
|
|
10
|
+
* `addressable` to `2.8`
|
|
11
|
+
* `faraday` to `2.14`
|
|
12
|
+
* `faraday-follow_redirects` to `0.4`
|
|
13
|
+
* `hashie` to `5.0`
|
|
14
|
+
* `multi_json` to `1.17`
|
|
15
|
+
|
|
16
|
+
Contributed by @fretb.
|
|
17
|
+
|
|
18
|
+
GitHub issue: [#67](https://github.com/ruby-amqp/rabbitmq_http_api_client/pull/67)
|
|
19
|
+
|
|
20
|
+
|
|
1
21
|
## Changes Between 2.2.0 and 3.0.0 (July 20, 2024)
|
|
2
22
|
|
|
3
23
|
### Why the Major Version Bump?
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RabbitMQ HTTP API Client for Ruby
|
|
2
2
|
|
|
3
|
-
This gem is a [RabbitMQ HTTP API](
|
|
3
|
+
This gem is a [RabbitMQ HTTP API](https://www.rabbitmq.com/docs/http-api-reference) client for Ruby. It supports
|
|
4
4
|
|
|
5
5
|
* Getting cluster overview information
|
|
6
6
|
* Getting cluster nodes status (# file descriptors used, RAM consumption and so on)
|
|
@@ -18,30 +18,44 @@ and will support more HTTP API features in the future
|
|
|
18
18
|
|
|
19
19
|
## Supported Ruby Versions
|
|
20
20
|
|
|
21
|
-
* CRuby 2.
|
|
21
|
+
* CRuby 2.7 through 3.x
|
|
22
22
|
* JRuby 9K
|
|
23
23
|
|
|
24
24
|
## Supported RabbitMQ Versions
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
This library targets [RabbitMQ release series covered by community support](https://www.rabbitmq.com/release-information).
|
|
27
27
|
|
|
28
|
-
All versions require [
|
|
28
|
+
All versions require the [Management UI plugin](https://www.rabbitmq.com/docs/management/) to be enabled.
|
|
29
29
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
|
32
|
-
Add this line to your application's Gemfile
|
|
32
|
+
Add this line to your application's Gemfile to
|
|
33
|
+
use the latest version of this library:
|
|
33
34
|
|
|
34
35
|
``` ruby
|
|
35
|
-
|
|
36
|
+
# Depends on Faraday 2.x
|
|
37
|
+
gem 'rabbitmq_http_api_client', '>= 3.1.0'
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
If you **absolutely must** use Faraday 1.x, use the 2.x series:
|
|
41
|
+
|
|
42
|
+
``` ruby
|
|
43
|
+
# Depends on Faraday 1.x.
|
|
44
|
+
# Consider using 3.0.0 and later versions.
|
|
45
|
+
gem 'rabbitmq_http_api_client', '~> 2.2.0'
|
|
36
46
|
```
|
|
37
47
|
|
|
38
48
|
And then execute:
|
|
39
49
|
|
|
40
|
-
|
|
50
|
+
``` shell
|
|
51
|
+
bundle install
|
|
52
|
+
```
|
|
41
53
|
|
|
42
|
-
Or install it
|
|
54
|
+
Or install it manually with:
|
|
43
55
|
|
|
44
|
-
|
|
56
|
+
``` shell
|
|
57
|
+
gem install rabbitmq_http_api_client
|
|
58
|
+
```
|
|
45
59
|
|
|
46
60
|
## Usage
|
|
47
61
|
|
|
@@ -349,8 +363,8 @@ ps = client.clear_permissions_of("/", "guest")
|
|
|
349
363
|
Before running the test suites, run a script that will set up the local node:
|
|
350
364
|
|
|
351
365
|
``` shell
|
|
352
|
-
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL="rabbitmqctl"
|
|
353
|
-
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQ_PLUGINS="rabbitmq-plugins"
|
|
366
|
+
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL="/path/to/sbin/rabbitmqctl"
|
|
367
|
+
export RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQ_PLUGINS="/path/to/sbin/rabbitmq-plugins"
|
|
354
368
|
|
|
355
369
|
./bin/ci/before_build.sh
|
|
356
370
|
```
|
|
@@ -365,10 +379,6 @@ bundle exec rspec -cfd spec
|
|
|
365
379
|
The test suite assumes that RabbitMQ is running locally with stock settings
|
|
366
380
|
and rabbitmq-management plugin enabled.
|
|
367
381
|
|
|
368
|
-
## Continuous Integration
|
|
369
|
-
|
|
370
|
-
[](https://travis-ci.org/ruby-amqp/rabbitmq_http_api_client)
|
|
371
|
-
|
|
372
382
|
|
|
373
383
|
## Contributing
|
|
374
384
|
|
|
@@ -381,6 +391,6 @@ and rabbitmq-management plugin enabled.
|
|
|
381
391
|
|
|
382
392
|
## License & Copyright
|
|
383
393
|
|
|
384
|
-
Double-licensed under the MIT and Mozilla Public License (same as RabbitMQ).
|
|
394
|
+
Double-licensed under the MIT and the Mozilla Public License 2.0 ([same as RabbitMQ](https://github.com/rabbitmq/rabbitmq-server/blob/main/LICENSE)).
|
|
385
395
|
|
|
386
|
-
(c) Michael S. Klishin, 2012-
|
|
396
|
+
(c) Michael S. Klishin, 2012-2024.
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rabbitmq_http_api_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Klishin
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: addressable
|
|
@@ -16,70 +15,70 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '2.
|
|
18
|
+
version: '2.8'
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '2.
|
|
25
|
+
version: '2.8'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: hashie
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '5.0'
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
39
|
+
version: '5.0'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: multi_json
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - "~>"
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '1.
|
|
46
|
+
version: '1.17'
|
|
48
47
|
type: :runtime
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - "~>"
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '1.
|
|
53
|
+
version: '1.17'
|
|
55
54
|
- !ruby/object:Gem::Dependency
|
|
56
55
|
name: faraday
|
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
|
58
57
|
requirements:
|
|
59
58
|
- - "~>"
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '2.
|
|
60
|
+
version: '2.14'
|
|
62
61
|
type: :runtime
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
65
|
- - "~>"
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '2.
|
|
67
|
+
version: '2.14'
|
|
69
68
|
- !ruby/object:Gem::Dependency
|
|
70
69
|
name: faraday-follow_redirects
|
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
|
72
71
|
requirements:
|
|
73
72
|
- - "~>"
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.
|
|
74
|
+
version: '0.4'
|
|
76
75
|
type: :runtime
|
|
77
76
|
prerelease: false
|
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
78
|
requirements:
|
|
80
79
|
- - "~>"
|
|
81
80
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.
|
|
81
|
+
version: '0.4'
|
|
83
82
|
description: RabbitMQ HTTP API client for Ruby
|
|
84
83
|
email:
|
|
85
84
|
- michael@clojurewerkz.org
|
|
@@ -100,7 +99,6 @@ licenses:
|
|
|
100
99
|
- MIT
|
|
101
100
|
- MPL-2.0
|
|
102
101
|
metadata: {}
|
|
103
|
-
post_install_message:
|
|
104
102
|
rdoc_options: []
|
|
105
103
|
require_paths:
|
|
106
104
|
- lib
|
|
@@ -115,8 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
113
|
- !ruby/object:Gem::Version
|
|
116
114
|
version: '0'
|
|
117
115
|
requirements: []
|
|
118
|
-
rubygems_version: 3.
|
|
119
|
-
signing_key:
|
|
116
|
+
rubygems_version: 3.6.7
|
|
120
117
|
specification_version: 4
|
|
121
118
|
summary: RabbitMQ HTTP API client for Ruby
|
|
122
119
|
test_files: []
|