torquebox-core 2.0.0.cr1-java → 2.0.0-java

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.
@@ -29,7 +29,7 @@ module TorqueBox
29
29
  end
30
30
  alias_method :inject, :__inject__
31
31
 
32
- %w{ mc cdi jndi queue topic }.each do |type|
32
+ %w{ msc service cdi jndi queue topic }.each do |type|
33
33
  define_method("inject_#{type}".to_sym) do |key|
34
34
  __inject__(key)
35
35
  end
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxCore
2
- VERSION = '2.0.0.cr1'
3
- MAVEN_VERSION = '2.0.0.cr1'
2
+ VERSION = '2.0.0'
3
+ MAVEN_VERSION = '2.0.0'
4
4
  end
5
5
  begin
6
6
  require 'java'
@@ -9,7 +9,8 @@ describe TorqueBox::Injectors do
9
9
  TorqueBox::Registry.merge!('this' => :that)
10
10
  TorqueBox::Registry['this'].should == :that
11
11
  inject('this').should == :that
12
- inject_mc('this').should == :that
12
+ inject_msc('this').should == :that
13
+ inject_service('this').should == :that
13
14
  inject_cdi(:this).should == :that
14
15
  inject_jndi('this').should == :that
15
16
  inject_queue('this').should == :that
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquebox-core
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 2.0.0.cr1
4
+ prerelease:
5
+ version: 2.0.0
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-03-02 00:00:00 Z
13
+ date: 2012-03-31 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -37,18 +37,18 @@ files:
37
37
  - lib/torquebox-core.jar
38
38
  - lib/torquebox-core.rb
39
39
  - lib/gem_hook.rb
40
+ - lib/torquebox/core.rb
40
41
  - lib/torquebox/service_registry.rb
41
42
  - lib/torquebox/kernel.rb
42
43
  - lib/torquebox/component_manager.rb
43
- - lib/torquebox/injectors.rb
44
44
  - lib/torquebox/logger.rb
45
+ - lib/torquebox/injectors.rb
45
46
  - lib/torquebox/registry.rb
46
- - lib/torquebox/core.rb
47
- - spec/service_registry_spec.rb
47
+ - spec/kernel_spec.rb
48
48
  - spec/logger_spec.rb
49
+ - spec/service_registry_spec.rb
49
50
  - spec/injectors_spec.rb
50
- - spec/kernel_spec.rb
51
- homepage: http://www.torquebox.org/torquebox-gems-parent/torquebox-core/
51
+ homepage: http://torquebox.org/
52
52
  licenses:
53
53
  - lgpl
54
54
  post_install_message:
@@ -65,9 +65,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
- - - ">"
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 1.3.1
70
+ version: "0"
71
71
  requirements: []
72
72
 
73
73
  rubyforge_project:
@@ -76,7 +76,7 @@ signing_key:
76
76
  specification_version: 3
77
77
  summary: TorqueBox Core Gem
78
78
  test_files:
79
- - spec/service_registry_spec.rb
79
+ - spec/kernel_spec.rb
80
80
  - spec/logger_spec.rb
81
+ - spec/service_registry_spec.rb
81
82
  - spec/injectors_spec.rb
82
- - spec/kernel_spec.rb