torquebox-transactions 2.0.3 → 2.1.0

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.
@@ -74,7 +74,7 @@ module TorqueBox
74
74
  end
75
75
 
76
76
  def initialize()
77
- @tm = inject('transaction-manager')
77
+ @tm = fetch('transaction-manager')
78
78
  @transactions = []
79
79
  end
80
80
 
@@ -25,7 +25,7 @@ module ActiveRecord
25
25
 
26
26
  def configurations
27
27
  xa_configs = configurations_before_torquebox.dup
28
- inject( 'xa-ds-info' ).configurations.each do |config|
28
+ fetch( 'xa-ds-info' ).configurations.each do |config|
29
29
  xa_configs[ config.name ][ 'jndi' ] = config.jndi_name
30
30
  end
31
31
  xa_configs
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-transactions
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.3
5
+ version: 2.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-04 00:00:00 Z
13
+ date: 2012-07-26 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: torquebox-core
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.0.3
23
+ version: 2.1.0
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency
@@ -45,8 +45,8 @@ extra_rdoc_files: []
45
45
 
46
46
  files:
47
47
  - licenses/lgpl-2.1.txt
48
- - lib/torquebox/transactions.rb
49
48
  - lib/torquebox/active_record_adapters.rb
49
+ - lib/torquebox/transactions.rb
50
50
  - lib/torquebox/transactions/ext/active_record/base.rb
51
51
  homepage: http://torquebox.org/
52
52
  licenses: