gregfitz23-chrono_trigger 0.1.4 → 0.1.5

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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 1
3
- :patch: 4
4
2
  :major: 0
3
+ :minor: 1
4
+ :patch: 5
@@ -95,7 +95,7 @@ module ChronoTrigger
95
95
  def execute_with_active_record
96
96
  begin
97
97
  @exec_block.call
98
- rescue ActiveRecord::ConnectionNotEstablished
98
+ rescue ActiveRecord::ConnectionNotEstablished, ActiveRecord::StatementInvalid
99
99
  ActiveRecord::Base.connection.reconnect!
100
100
  execute_without_active_record
101
101
  rescue Exception
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gregfitz23-chrono_trigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Fitzgerald