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 +1 -1
- data/communicator.gemspec +1 -1
- data/lib/communicator/active_record_integration.rb +1 -1
- data/lib/communicator/inbound_message.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/communicator.gemspec
CHANGED
@@ -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.
|
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.
|
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christoph Olszowka
|