denouncer 0.6.0 → 0.6.1
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/lib/denouncer/notifiers/amqp_notifier.rb +2 -2
- data/lib/denouncer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a77f3e86d725082c9c340e887f054db7af630aa
|
|
4
|
+
data.tar.gz: b3dfaa416e6d0285cb8fff1a038da98501993876
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a2f523840d14d12b7d43e264d140b66ce4a0f29905ea71e424839dbedf6b83fcff44c3a5e2adf9dc9844897247b010f4b9bda222dd8d17a7dd6842c919b8df6
|
|
7
|
+
data.tar.gz: ad47ec37b564d0c0d30b0c5cbd5144f34ed6df82e8b1b518264cfd8e4a244cdb87abbab04f7e6d99df992b7e4e5416e328b8d4c209cd8db038c17a5a481eaa5f
|
|
@@ -18,13 +18,13 @@ module Denouncer
|
|
|
18
18
|
def set_configuration!(options)
|
|
19
19
|
raise "Configuration error: :application_name is not set!" if options[:application_name].nil?
|
|
20
20
|
require 'bunny'
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
options[:server] = DEFAULT_SERVER if options[:server].nil?
|
|
23
23
|
options[:port] = DEFAULT_PORT if options[:port].nil?
|
|
24
24
|
options[:vhost] = DEFAULT_VHOST if options[:vhost].nil?
|
|
25
25
|
options[:username] = DEFAULT_USERNAME if options[:username].nil?
|
|
26
26
|
options[:password] = DEFAULT_PASSWORD if options[:password].nil?
|
|
27
|
-
options[:message_queue] = "#{options[:application_name]}.errors" if options[:
|
|
27
|
+
options[:message_queue] = "#{options[:application_name]}.errors" if options[:message_queue].nil?
|
|
28
28
|
return options
|
|
29
29
|
end
|
|
30
30
|
|
data/lib/denouncer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: denouncer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julian Weber
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03
|
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|