dbd-jdbc 0.1.3 → 0.1.4
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/type_conversion.rb +6 -2
- metadata +24 -22
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.4") 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
@@ -106,8 +106,12 @@ module DBI::DBD::Jdbc::TypeConversions
|
|
106
106
|
cal.set(Calendar::HOUR_OF_DAY, dbitime.hour)
|
107
107
|
cal.set(Calendar::MINUTE, dbitime.min)
|
108
108
|
cal.set(Calendar::SECOND, dbitime.sec)
|
109
|
-
|
110
|
-
|
109
|
+
|
110
|
+
if dbitime.respond_to? :strftime
|
111
|
+
cal.set(Calendar::MILLISECOND, dbitime.strftime('%L').to_i)
|
112
|
+
else
|
113
|
+
cal.set(Calendar::MILLISECOND, 0)
|
114
|
+
end
|
111
115
|
end
|
112
116
|
|
113
117
|
def get_calendar(jdbctype)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbd-jdbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Chad Johnson
|
7
|
+
- Chad Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-03 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,41 +20,43 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
- README.txt
|
23
|
+
- README.txt
|
24
24
|
files:
|
25
|
-
- lib/dbd/
|
26
|
-
- lib/dbd/jdbc/
|
27
|
-
- lib/dbd/jdbc/
|
28
|
-
- lib/dbd/jdbc/
|
29
|
-
- lib/dbd/
|
30
|
-
- Rakefile
|
31
|
-
- README.txt
|
25
|
+
- lib/dbd/Jdbc.rb
|
26
|
+
- lib/dbd/jdbc/database.rb
|
27
|
+
- lib/dbd/jdbc/driver.rb
|
28
|
+
- lib/dbd/jdbc/statement.rb
|
29
|
+
- lib/dbd/jdbc/type_conversion.rb
|
30
|
+
- Rakefile
|
31
|
+
- README.txt
|
32
32
|
has_rdoc: true
|
33
33
|
homepage: http://kenai.com/projects/dbd-jdbc
|
34
|
+
licenses: []
|
35
|
+
|
34
36
|
post_install_message:
|
35
37
|
rdoc_options:
|
36
|
-
- --main
|
37
|
-
- README.txt
|
38
|
+
- --main
|
39
|
+
- README.txt
|
38
40
|
require_paths:
|
39
|
-
- lib
|
41
|
+
- lib
|
40
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
41
43
|
requirements:
|
42
|
-
|
43
|
-
|
44
|
-
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0"
|
45
47
|
version:
|
46
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
49
|
requirements:
|
48
|
-
|
49
|
-
|
50
|
-
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: "0"
|
51
53
|
version:
|
52
54
|
requirements: []
|
53
55
|
|
54
56
|
rubyforge_project: jruby-extras
|
55
|
-
rubygems_version: 1.3.
|
57
|
+
rubygems_version: 1.3.5
|
56
58
|
signing_key:
|
57
|
-
specification_version:
|
59
|
+
specification_version: 3
|
58
60
|
summary: JDBC driver for DBI, originally by Kristopher Schmidt and Ola Bini
|
59
61
|
test_files: []
|
60
62
|
|