torquebox-base 1.0.1-java → 1.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/torquebox/injectors.rb +4 -3
- data/lib/torquebox-base.jar +0 -0
- data/lib/torquebox-base.rb +2 -2
- metadata +3 -3
data/lib/torquebox/injectors.rb
CHANGED
@@ -20,13 +20,14 @@ require 'torquebox/registry'
|
|
20
20
|
module TorqueBox
|
21
21
|
module Injectors
|
22
22
|
|
23
|
-
def
|
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
|
-
|
30
|
+
__inject__(key)
|
30
31
|
end
|
31
32
|
end
|
32
33
|
|
data/lib/torquebox-base.jar
CHANGED
Binary file
|
data/lib/torquebox-base.rb
CHANGED
metadata
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
name: torquebox-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 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-
|
13
|
+
date: 2011-07-13 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|