communicator 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{communicator}
8
- s.version = "0.1.8"
8
+ s.version = "0.1.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christoph Olszowka"]
@@ -49,7 +49,7 @@ module Communicator::ActiveRecordIntegration
49
49
  self.updated_from_message = true
50
50
  save!
51
51
  rescue => err
52
- Communicator.logger.warn "Failed to process message on #{self.class} ##{id}! Errors: #{self.errors.to_s}"
52
+ Communicator.logger.warn "Failed to process message on #{self.class} ##{id}! Errors: #{self.errors.map{|k,v| "#{k}: #{v}"}.join(", ")}"
53
53
  raise err
54
54
  end
55
55
  end
@@ -53,7 +53,7 @@ class Communicator::InboundMessage < ActiveRecord::Base
53
53
  self.save!
54
54
  Communicator.logger.info "Processed inbound message ##{id} successfully"
55
55
  rescue => err
56
- Communicator.logger.warn "Failed to store inbound message ##{id}! Errors: #{self.errors.to_s}"
56
+ Communicator.logger.warn "Failed to store inbound message ##{id}! Errors: #{self.errors.map{|k,v| "#{k}: #{v}"}.join(", ")}"
57
57
  raise err
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: communicator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christoph Olszowka