torquebox-configure 2.3.0-java → 2.3.1-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -163,12 +163,7 @@ module TorqueBox
163
163
 
164
164
  when 'pool' # => pooling:
165
165
  entry_data.each do |name, data|
166
- pool_type = data.delete( :type )
167
- if pool_type.to_s == 'shared'
168
- metadata['pooling'][name] = 'shared'
169
- else
170
- metadata['pooling'][name] = data
171
- end
166
+ metadata['pooling'][name] = data
172
167
  end
173
168
 
174
169
  when 'queue', 'topic' # => queues:/topics: & messaging:
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxConfigure
2
- VERSION = '2.3.0'
3
- MAVEN_VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
+ MAVEN_VERSION = '2.3.1'
4
4
  end
5
5
  begin
6
6
  require 'java'
data/spec/global_spec.rb CHANGED
@@ -528,7 +528,7 @@ describe "TorqueBox.configure using the GlobalConfiguration" do
528
528
  end
529
529
 
530
530
  it "should properly set pooling" do
531
- @metadata['pooling']['web'].should == 'shared'
531
+ @metadata['pooling']['web']['type'].should == :shared
532
532
  foo = @metadata['pooling']['foo']
533
533
  foo.should_not be_nil
534
534
  foo['min'].should == 1
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: torquebox-configure
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.3.0
5
+ version: 2.3.1
6
6
  platform: java
7
7
  authors:
8
8
  - The TorqueBox Team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-25 00:00:00.000000000 Z
12
+ date: 2013-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: blankslate
@@ -54,13 +54,13 @@ files:
54
54
  - lib/torquebox-configure.jar
55
55
  - lib/torquebox-configure.rb
56
56
  - lib/gem_hook.rb
57
- - lib/torquebox/configure.rb
58
57
  - lib/torquebox/configuration.rb
59
- - lib/torquebox/configuration/validator.rb
58
+ - lib/torquebox/configure.rb
60
59
  - lib/torquebox/configuration/global.rb
61
- - spec/options_macros.rb
60
+ - lib/torquebox/configuration/validator.rb
62
61
  - spec/global_spec.rb
63
62
  - spec/validator_spec.rb
63
+ - spec/options_macros.rb
64
64
  homepage: http://torquebox.org/
65
65
  licenses:
66
66
  - lgpl