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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03a15856825b7cd3185dcbf004dbc4b87dd8aa8cfc539fcb55f865ca6f6ce47d
4
- data.tar.gz: 0d3bc7ea574187a2098936d31d60a877ccd0ecf90cc92a98263e8ae2904c9474
3
+ metadata.gz: 3e87ce388289e4d5fd839bce016e512e276d9d9499c2bb3807722128003661ae
4
+ data.tar.gz: ae2ea0b3a322c27562f795398c52ab06f4b25892941385f0395f908e111b3bbf
5
5
  SHA512:
6
- metadata.gz: a8a926a97b1ad3ae6aaf112affa2d5a97d8745bf4dad33ccaaec8b0d63161c71ef7deee3f475a1e3adaf7eee5db28779ef0a3bd455e937e74eddd72f0c582b92
7
- data.tar.gz: 78021ab9cca50291a1098d181375a0d9e1e01cc8ff35411345024651d15646c8ce5f14220580f7dc24dd2aae5c30545c5b4adffb3b2d6c961eb10dd98a63903b
6
+ metadata.gz: a946627cebd96f61d2cf67e334303ce245e033e8d2c3b9ca644c893df04e6ac2dc19ad16d4d8ceb85d33a6267bf046966a94cb9176254819ff2ce8e5ef11dd67
7
+ data.tar.gz: 75faa8210db70496bf3324b07f1fa5e858e07b95de5787d8d4d6c12338268446102615e99124a43cd86f503a9a59aa2d2db87f67b65ed8efc83e5ee6074e5cc9
data/lib/rrj/info.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  # Define constant to gem.
7
7
  module RubyRabbitmqJanus
8
8
  # Define version to gem
9
- VERSION = '2.4.0'
9
+ VERSION = '2.5.0'
10
10
 
11
11
  # Name to gem
12
12
  GEM_NAME = 'ruby_rabbitmq_janus'
@@ -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.0.pre.208
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-01-31 00:00:00.000000000 Z
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.2
622
+ rubygems_version: 3.0.3
623
623
  signing_key:
624
624
  specification_version: 4
625
625
  summary: Ruby RabbitMQ Janus