mnemosyne-ruby 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mnemosyne/configuration.rb +6 -1
- data/lib/mnemosyne/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b3674fc820231bdb3c0b6892c4664814297b4a1a1175f79b73e5dc8f7eab71d
|
4
|
+
data.tar.gz: b5e99d73a9c45673b0a49ef55db063c7a6dfeea06117ff71681cd73df73565b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 003cce5ff6fc29f506dac88eb3c442215045f268b04b47bd095064a88af46729951bfca2065d7ff1b469884c09b5cd39e2a62743f9340caf64d4efc72aca7228
|
7
|
+
data.tar.gz: e2d5e5cba337751ebe0511bc4fac7800fdc4f8ee922c9301a213a9b8ff962144cc156b45079f18c82a7a570910ed438b9357d27641205a8fa48647dbcccc8a45
|
data/CHANGELOG.md
CHANGED
@@ -52,13 +52,18 @@ module Mnemosyne
|
|
52
52
|
Socket.gethostname
|
53
53
|
end
|
54
54
|
|
55
|
+
DEFAULT_PORTS = {
|
56
|
+
'amqp' => 5672,
|
57
|
+
'amqps' => 5671
|
58
|
+
}
|
59
|
+
|
55
60
|
def make_amqp_uri(amqp) # rubocop:disable AbcSize
|
56
61
|
uri = URI('')
|
57
62
|
|
58
63
|
uri.scheme = amqp[:scheme]
|
59
64
|
uri.user = amqp[:user]
|
60
65
|
uri.host = amqp[:host]
|
61
|
-
uri.port = amqp[:port] if amqp[:port] !=
|
66
|
+
uri.port = amqp[:port] if amqp[:port] != DEFAULT_PORTS[uri.scheme]
|
62
67
|
uri.path = '/' + ::CGI.escape(amqp[:vhost]) if amqp[:vhost] != '/'
|
63
68
|
|
64
69
|
uri
|
data/lib/mnemosyne/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mnemosyne-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.7.
|
130
|
+
rubygems_version: 2.7.4
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Ruby/Rails client for Mnemosyne APM
|