torquebox-configure 2.0.0.beta3-java → 2.0.0.cr1-java

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxConfigure
2
- VERSION = '2.0.0.beta3'
3
- MAVEN_VERSION = '2.0.0.beta3'
2
+ VERSION = '2.0.0.cr1'
3
+ MAVEN_VERSION = '2.0.0.cr1'
4
4
  end
5
5
  begin
6
6
  require 'java'
@@ -162,7 +162,6 @@ module TorqueBox
162
162
  end
163
163
  end
164
164
 
165
-
166
165
  class Configuration < Hash
167
166
  def initialize
168
167
  super { |hash, key| hash[key] = { } }
@@ -77,7 +77,7 @@ module TorqueBox
77
77
  { :durable => [true, false] },
78
78
  :client_id,
79
79
  :config,
80
- :filter,
80
+ :selector,
81
81
  :name
82
82
  ]
83
83
  }),
@@ -127,6 +127,9 @@ module TorqueBox
127
127
  metadata['auth'][name] = data
128
128
  end
129
129
 
130
+ when 'torquebox_init' # runtime intialization
131
+ metadata[entry_name] = entry_data
132
+
130
133
  when 'job' # => jobs:
131
134
  entry_data.each do |klass, data|
132
135
  name = data.delete( :name ) || unique_name( klass.to_s, metadata['jobs'].keys )
data/spec/global_spec.rb CHANGED
@@ -237,7 +237,7 @@ describe "TorqueBox.configure using the GlobalConfiguration" do
237
237
 
238
238
  it_should_allow_valid_options do
239
239
  topic 'a-topic' do
240
- processor 'AClass', :concurrency => 1, :config => '', :filter => '', :name => '', :durable => true, :client_id => 'client-id', :singleton=>true
240
+ processor 'AClass', :concurrency => 1, :config => '', :selector => '', :name => '', :durable => true, :client_id => 'client-id', :singleton=>true
241
241
  end
242
242
  end
243
243
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-configure
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 2.0.0.beta3
5
+ version: 2.0.0.cr1
6
6
  platform: java
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-01-24 00:00:00 Z
13
+ date: 2012-03-02 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: blankslate
@@ -50,11 +50,11 @@ files:
50
50
  - lib/gem_hook.rb
51
51
  - lib/torquebox/configuration.rb
52
52
  - lib/torquebox/configure.rb
53
- - lib/torquebox/configuration/global.rb
54
53
  - lib/torquebox/configuration/validator.rb
55
- - spec/global_spec.rb
54
+ - lib/torquebox/configuration/global.rb
56
55
  - spec/options_macros.rb
57
56
  - spec/validator_spec.rb
57
+ - spec/global_spec.rb
58
58
  homepage: http://www.torquebox.org/torquebox-gems-parent/torquebox-configure/
59
59
  licenses:
60
60
  - lgpl
@@ -78,10 +78,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements: []
79
79
 
80
80
  rubyforge_project:
81
- rubygems_version: 1.8.9
81
+ rubygems_version: 1.8.15
82
82
  signing_key:
83
83
  specification_version: 3
84
84
  summary: TorqueBox Configure Gem
85
85
  test_files:
86
- - spec/global_spec.rb
87
86
  - spec/validator_spec.rb
87
+ - spec/global_spec.rb