torquebox-base 1.0.1-java → 1.1-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.
@@ -20,13 +20,14 @@ require 'torquebox/registry'
20
20
  module TorqueBox
21
21
  module Injectors
22
22
 
23
- def inject something
23
+ def __inject__(something)
24
24
  TorqueBox::Registry[something.to_s]
25
25
  end
26
-
26
+ alias_method :inject, :__inject__
27
+
27
28
  %w{ mc cdi jndi queue topic }.each do |type|
28
29
  define_method("inject_#{type}".to_sym) do |key|
29
- inject(key)
30
+ __inject__(key)
30
31
  end
31
32
  end
32
33
 
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxBase
2
- VERSION = '1.0.1'
3
- MAVEN_VERSION = '1.0.1'
2
+ VERSION = '1.1'
3
+ MAVEN_VERSION = '1.1'
4
4
  end
5
5
  begin
6
6
  require 'java'
metadata CHANGED
@@ -2,15 +2,15 @@
2
2
  name: torquebox-base
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: "1.1"
6
6
  platform: java
7
- authors: []
7
+ authors: ["The TorqueBox Team"]
8
8
 
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-25 00:00:00 -04:00
13
+ date: 2011-07-13 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency