msgr 0.7.0 → 0.8.0

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
  SHA1:
3
- metadata.gz: 74bc282f2c3490019c1352247ed06139fc418d18
4
- data.tar.gz: c83b3e95b5d586dcf50523b9ccee1640e00ac107
3
+ metadata.gz: e8a5f1855aedba423ec56af15b0c7eaae43de164
4
+ data.tar.gz: f381c0d8a3e7f03c71cf74f0442ed2f5da542513
5
5
  SHA512:
6
- metadata.gz: 65d7bffc592f29c546a64f509707060696226b935fac93b83662131025a7d52832c0970fcd71e092743917639a18f76f40ca07eec2075cafd94ef231485fd19b
7
- data.tar.gz: 9bca32dc98f02eb2802b3ef22be407666d5ebc8ea029ad3fdc813344886923c1e0a41c95c6d9f5975136875aaa3fa2f1defc2d54346d75623023051f3d279f5f
6
+ metadata.gz: 9b81be68fb9dfc0e0f85ced01240f2d9893378413bec0e29a1026b8b184596ba2854047872261b02b8ab22908a4b29889201ddc1856a38b706c3f8c77a0286f2
7
+ data.tar.gz: 68991d14641cee9915128bf7bd03ac371c7bcd8efda5803cfed61dca4da1c09d4415f873384ec48dd7c1a733c0306a1e68faca2f84a2b46b630bae58bbd9b0d2
data/lib/msgr/railtie.rb CHANGED
@@ -32,12 +32,13 @@ module Msgr
32
32
 
33
33
  def parse_config(cfg)
34
34
  unless cfg.is_a? Hash
35
- Rails.logger.wanr '[Msgr] Could not load rabbitmq config: Config must be a Hash'
35
+ Rails.logger.warn '[Msgr] Could not load rabbitmq config: Config must be a Hash'
36
36
  return nil
37
37
  end
38
38
 
39
39
  unless cfg[Rails.env].is_a?(Hash)
40
- raise ArgumentError, "Could not load rabbitmq config for environment \"#{Rails.env}\": is not a Hash"
40
+ Rails.logger.warn "Could not load rabbitmq config for environment \"#{Rails.env}\": is not a Hash"
41
+ return nil
41
42
  end
42
43
 
43
44
  cfg = HashWithIndifferentAccess.new cfg[Rails.env]
data/lib/msgr/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Msgr
2
2
  module VERSION
3
3
  MAJOR = 0
4
- MINOR = 7
4
+ MINOR = 8
5
5
  PATCH = 0
6
6
  STAGE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen