trinidad_dbpool 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -1
- data/lib/trinidad_dbpool/webapp_extension.rb +0 -5
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -3,7 +3,6 @@ module Trinidad
|
|
3
3
|
class DbpoolWebAppExtension < WebAppExtension
|
4
4
|
def configure(tomcat, app_context)
|
5
5
|
jndi = @options.delete(:jndi)
|
6
|
-
extension_name = jndi.gsub(/\//, '_')
|
7
6
|
url = @options.delete(:url)
|
8
7
|
url = protocol + url unless %r{^#{protocol}} =~ url
|
9
8
|
@options[:url] = url
|
@@ -23,10 +22,6 @@ module Trinidad
|
|
23
22
|
app_context.naming_resources.add_resource(resource)
|
24
23
|
app_context.naming_resources = resource.naming_resources
|
25
24
|
|
26
|
-
resource_context = tomcat.addContext("/#{extension_name}", '.')
|
27
|
-
resource_context.naming_resources.addResource(resource)
|
28
|
-
resource_context.naming_resources = resource.naming_resources
|
29
|
-
|
30
25
|
resource
|
31
26
|
end
|
32
27
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David Calavera
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-05-05 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|