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 CHANGED
@@ -37,7 +37,6 @@ http://commons.apache.org/dbcp/configuration.html
37
37
  production:
38
38
  adapter: jdbc
39
39
  jndi: java:/comp/env/jdbc/TestDB
40
- driver: com.mysql.jdbc.Driver
41
40
 
42
41
  == Note on Patches/Pull Requests
43
42
 
@@ -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
- - 0
9
- version: 0.1.0
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-04-04 00:00:00 +02:00
17
+ date: 2010-05-05 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency