ruby_rabbitmq_janus 2.4.0.pre.208 → 2.5.0.pre.209
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rrj/info.rb +1 -1
- data/lib/rrj/tools/replaces/admin.rb +21 -0
- 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: 3e87ce388289e4d5fd839bce016e512e276d9d9499c2bb3807722128003661ae
|
4
|
+
data.tar.gz: ae2ea0b3a322c27562f795398c52ab06f4b25892941385f0395f908e111b3bbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a946627cebd96f61d2cf67e334303ce245e033e8d2c3b9ca644c893df04e6ac2dc19ad16d4d8ceb85d33a6267bf046966a94cb9176254819ff2ce8e5ef11dd67
|
7
|
+
data.tar.gz: 75faa8210db70496bf3324b07f1fa5e858e07b95de5787d8d4d6c12338268446102615e99124a43cd86f503a9a59aa2d2db87f67b65ed8efc83e5ee6074e5cc9
|
data/lib/rrj/info.rb
CHANGED
@@ -25,6 +25,9 @@ module RubyRabbitmqJanus
|
|
25
25
|
replace_admin
|
26
26
|
replace_level if request.key?('level')
|
27
27
|
replace_debug if request.key?('debug')
|
28
|
+
replace_folder if request.key?('folder')
|
29
|
+
replace_filename if request.key?('filename')
|
30
|
+
replace_truncate if request.key?('truncate')
|
28
31
|
end
|
29
32
|
|
30
33
|
def replace_admin
|
@@ -45,6 +48,24 @@ module RubyRabbitmqJanus
|
|
45
48
|
Tools::Log.instance.warn "Error replace debug : #{message}"
|
46
49
|
end
|
47
50
|
|
51
|
+
def replace_folder
|
52
|
+
request['folder'] = type.convert('folder', opts)
|
53
|
+
rescue => message
|
54
|
+
Tools::Log.instance.warn "Error replace folder : #{message}"
|
55
|
+
end
|
56
|
+
|
57
|
+
def replace_filename
|
58
|
+
request['filename'] = type.convert('filename', opts)
|
59
|
+
rescue => message
|
60
|
+
Tools::Log.instance.warn "Error replace filename : #{message}"
|
61
|
+
end
|
62
|
+
|
63
|
+
def replace_truncate
|
64
|
+
request['truncate'] = type.convert('truncate', opts)
|
65
|
+
rescue => message
|
66
|
+
Tools::Log.instance.warn "Error replace truncate : #{message}"
|
67
|
+
end
|
68
|
+
|
48
69
|
def admin_pass
|
49
70
|
Tools::Config.instance.options['rabbit']['admin_pass']
|
50
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_rabbitmq_janus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0.pre.209
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VAILLANT Jeremy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -619,7 +619,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
619
619
|
- !ruby/object:Gem::Version
|
620
620
|
version: 1.3.1
|
621
621
|
requirements: []
|
622
|
-
rubygems_version: 3.0.
|
622
|
+
rubygems_version: 3.0.3
|
623
623
|
signing_key:
|
624
624
|
specification_version: 4
|
625
625
|
summary: Ruby RabbitMQ Janus
|