trinidad_dbpool 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -4,7 +4,7 @@ module Trinidad
4
4
  def configure(tomcat, app_context)
5
5
  case @options
6
6
  when Hash
7
- [create_resource tomcat, app_context, @options]
7
+ [create_resource(tomcat, app_context, @options)]
8
8
  when Array
9
9
  @options.map { |opts| create_resource tomcat, app_context, opts }
10
10
  end
@@ -16,6 +16,8 @@ module Trinidad
16
16
  url = opts.delete(:url)
17
17
  url = protocol + url unless %r{^#{protocol}} =~ url
18
18
  opts[:url] = url
19
+
20
+ driver_name = opts.delete(:driver) || self.driver_name
19
21
 
20
22
  resource = Trinidad::Tomcat::ContextResource.new
21
23
  resource.set_auth(opts.delete(:auth)) if opts.key?(:auth)
metadata CHANGED
@@ -1,83 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: trinidad_dbpool
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.1
4
5
  prerelease:
5
- version: 0.3.0
6
6
  platform: ruby
7
- authors:
8
- - David Calavera
7
+ authors:
8
+ - David Calavera
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-02 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: trinidad_jars
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: "0"
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rspec
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: 1.2.9
36
- type: :development
37
- version_requirements: *id002
12
+ date: 2012-03-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: trinidad_jars
16
+ requirement: &2155018540 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2155018540
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &2155018000 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.2.9
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2155018000
38
36
  description: Addon to support database pools in Trinidad
39
37
  email: calavera@apache.org
40
38
  executables: []
41
-
42
39
  extensions: []
43
-
44
- extra_rdoc_files:
45
- - LICENSE
46
- - README.rdoc
47
- files:
48
- - LICENSE
49
- - README.rdoc
50
- - VERSION
51
- - lib/trinidad_dbpool.rb
52
- - lib/trinidad_dbpool/webapp_extension.rb
53
- - trinidad-libs/tomcat-dbcp.jar
54
- has_rdoc: true
55
- homepage: http://github.com/calavera/trinidad-dbpool
40
+ extra_rdoc_files:
41
+ - LICENSE
42
+ - README.rdoc
43
+ files:
44
+ - LICENSE
45
+ - README.rdoc
46
+ - VERSION
47
+ - lib/trinidad_dbpool.rb
48
+ - lib/trinidad_dbpool/webapp_extension.rb
49
+ - trinidad-libs/tomcat-dbcp.jar
50
+ homepage: http://github.com/trinidad/trinidad_dbpool_extension
56
51
  licenses: []
57
-
58
52
  post_install_message:
59
53
  rdoc_options: []
60
-
61
- require_paths:
62
- - lib
63
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
64
57
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
69
- required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
63
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: "0"
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
75
68
  requirements: []
76
-
77
69
  rubyforge_project:
78
- rubygems_version: 1.5.1
70
+ rubygems_version: 1.8.10
79
71
  signing_key:
80
72
  specification_version: 3
81
73
  summary: Addon to support database pools in Trinidad
82
74
  test_files: []
83
-
75
+ has_rdoc: