dbd-jdbc 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/dbd/Jdbc.rb +1 -1
- data/lib/dbd/jdbc/database.rb +2 -2
- metadata +38 -40
data/Rakefile
CHANGED
@@ -28,7 +28,7 @@ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date lis
|
|
28
28
|
|
29
29
|
begin
|
30
30
|
require 'hoe'
|
31
|
-
Hoe.new("dbd-jdbc", "0.1.
|
31
|
+
Hoe.new("dbd-jdbc", "0.1.3") do |p|
|
32
32
|
p.rubyforge_name = "jruby-extras"
|
33
33
|
p.url = "http://kenai.com/projects/dbd-jdbc"
|
34
34
|
p.author = "Chad Johnson"
|
data/lib/dbd/Jdbc.rb
CHANGED
data/lib/dbd/jdbc/database.rb
CHANGED
@@ -136,7 +136,7 @@ module DBI::DBD::Jdbc
|
|
136
136
|
check_attribute(attribute)
|
137
137
|
case attribute
|
138
138
|
when "autocommit" then @connection.getAutoCommit()
|
139
|
-
when "isolation"
|
139
|
+
when "isolation", "isolation_level" then @connection.getTransactionIsolation()
|
140
140
|
else
|
141
141
|
@attributes[attribute]
|
142
142
|
end
|
@@ -149,7 +149,7 @@ module DBI::DBD::Jdbc
|
|
149
149
|
check_attribute(attribute)
|
150
150
|
case attribute
|
151
151
|
when "autocommit" then @connection.setAutoCommit(value)
|
152
|
-
when "isolation"
|
152
|
+
when "isolation", "isolation_level" then @connection.setTransactionIsolation(value)
|
153
153
|
else
|
154
154
|
@attributes[attribute] = value
|
155
155
|
end
|
metadata
CHANGED
@@ -1,62 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
3
|
-
requirements:
|
4
|
-
- - '>='
|
5
|
-
- !ruby/object:Gem::Version
|
6
|
-
version: "0"
|
7
|
-
version:
|
8
|
-
email: chad.j.johnson@gmail.com
|
9
|
-
cert_chain: []
|
10
|
-
|
11
|
-
summary: JDBC driver for DBI, originally by Kristopher Schmidt and Ola Bini
|
12
|
-
post_install_message:
|
13
|
-
extra_rdoc_files:
|
14
|
-
- README.txt
|
15
|
-
homepage: http://kenai.com/projects/dbd-jdbc
|
16
|
-
signing_key:
|
17
2
|
name: dbd-jdbc
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chad Johnson
|
22
8
|
autorequire:
|
23
|
-
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
24
11
|
|
25
|
-
|
12
|
+
date: 2009-10-06 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
26
15
|
|
27
16
|
description: A JDBC DBD driver for Ruby DBI
|
28
|
-
|
29
|
-
|
17
|
+
email: chad.j.johnson@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README.txt
|
30
24
|
files:
|
31
|
-
- lib/dbd/Jdbc.rb
|
32
25
|
- lib/dbd/jdbc/database.rb
|
33
26
|
- lib/dbd/jdbc/driver.rb
|
34
27
|
- lib/dbd/jdbc/statement.rb
|
35
28
|
- lib/dbd/jdbc/type_conversion.rb
|
29
|
+
- lib/dbd/Jdbc.rb
|
36
30
|
- Rakefile
|
37
31
|
- README.txt
|
32
|
+
has_rdoc: true
|
33
|
+
homepage: http://kenai.com/projects/dbd-jdbc
|
34
|
+
post_install_message:
|
35
|
+
rdoc_options:
|
36
|
+
- --main
|
37
|
+
- README.txt
|
38
|
+
require_paths:
|
39
|
+
- lib
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: "0"
|
45
|
+
version:
|
38
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
47
|
requirements:
|
40
|
-
- -
|
48
|
+
- - ">="
|
41
49
|
- !ruby/object:Gem::Version
|
42
50
|
version: "0"
|
43
51
|
version:
|
44
|
-
extensions: []
|
45
|
-
|
46
|
-
rubygems_version: 1.3.3
|
47
52
|
requirements: []
|
48
53
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
54
|
+
rubyforge_project: jruby-extras
|
55
|
+
rubygems_version: 1.3.1
|
56
|
+
signing_key:
|
57
|
+
specification_version: 2
|
58
|
+
summary: JDBC driver for DBI, originally by Kristopher Schmidt and Ola Bini
|
53
59
|
test_files: []
|
54
60
|
|
55
|
-
version: !ruby/object:Gem::Version
|
56
|
-
version: 0.1.2
|
57
|
-
require_paths:
|
58
|
-
- lib
|
59
|
-
dependencies: []
|
60
|
-
|
61
|
-
bindir: bin
|
62
|
-
has_rdoc: true
|