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 +1 -1
- data/lib/trinidad_dbpool/webapp_extension.rb +3 -1
- metadata +54 -62
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
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
|
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
|
-
|
7
|
+
authors:
|
8
|
+
- David Calavera
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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
|
-
|
62
|
-
|
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
|
-
|
68
|
-
|
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
|
-
|
74
|
-
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
75
68
|
requirements: []
|
76
|
-
|
77
69
|
rubyforge_project:
|
78
|
-
rubygems_version: 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:
|