infopark_reactor 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -454,6 +454,17 @@ module Reactor
454
454
  def set_obj_class(obj_class)
455
455
  self.obj_class = obj_class
456
456
  end
457
+
458
+
459
+ # disables active record transactions
460
+ def with_transaction_returning_status
461
+ yield
462
+ end
463
+
464
+ # disables active record transactions
465
+ def rollback_active_record_state!
466
+ yield
467
+ end
457
468
  end
458
469
  module ClassMethods
459
470
  def sanitize_name(old_name)
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Reactor
3
- VERSION = "1.8.2"
3
+ VERSION = "1.8.3"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_reactor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 2
10
- version: 1.8.2
9
+ - 3
10
+ version: 1.8.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomasz Przedmojski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-07-10 00:00:00 +02:00
18
+ date: 2013-07-17 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency