jdbc-sqlite3 3.7.2.1 → 3.7.15.SNAPSHOT
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jdbc/sqlite3.rb +8 -4
- data/lib/jdbc/sqlite3/version.rb +6 -0
- data/lib/sqlite-jdbc-3.7.15-SNAPSHOT.jar +0 -0
- metadata +10 -11
- data/lib/sqlite-jdbc-3.7.2.jar +0 -0
data/lib/jdbc/sqlite3.rb
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
warn "Jdbc-SQLite3 is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
|
2
|
+
require 'jdbc/sqlite3/version'
|
2
3
|
|
3
4
|
module Jdbc
|
4
5
|
module SQLite3
|
5
|
-
DRIVER_VERSION = '3.7.2'
|
6
|
-
VERSION = DRIVER_VERSION + '.1'
|
7
6
|
|
8
7
|
def self.driver_jar
|
9
|
-
|
8
|
+
version = DRIVER_VERSION.split( '.' )
|
9
|
+
if version.size > 3
|
10
|
+
'sqlite-jdbc-%s.%s.%s-%s.jar' % version # 3.7.15-SNAPSHOT
|
11
|
+
else
|
12
|
+
"sqlite-jdbc-#{DRIVER_VERSION}.jar" # 3.7.2
|
13
|
+
end
|
10
14
|
end
|
11
15
|
|
12
16
|
def self.load_driver(method = :load)
|
@@ -18,7 +22,7 @@ module Jdbc
|
|
18
22
|
end
|
19
23
|
|
20
24
|
if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
|
21
|
-
( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
|
25
|
+
( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
|
22
26
|
Java::JavaLang::Boolean.get_boolean("jdbc.sqlite3.autoload") )
|
23
27
|
warn "autoloading JDBC driver on require 'jdbc/sqlite3'" if $VERBOSE
|
24
28
|
load_driver :require
|
Binary file
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
version: 3.7.15.SNAPSHOT
|
5
|
+
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Nick Sieger, Ola Bini and JRuby contributors
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Install this gem `require 'jdbc/sqlite3'` and invoke `Jdbc::SQLite3.load_driver` within JRuby to load the driver.
|
15
15
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
@@ -20,32 +20,31 @@ files:
|
|
20
20
|
- Rakefile
|
21
21
|
- README.md
|
22
22
|
- LICENSE.txt
|
23
|
-
- lib/sqlite-jdbc-3.7.
|
23
|
+
- lib/sqlite-jdbc-3.7.15-SNAPSHOT.jar
|
24
24
|
- lib/jdbc/sqlite3.rb
|
25
|
+
- lib/jdbc/sqlite3/version.rb
|
25
26
|
homepage: https://github.com/jruby/activerecord-jdbc-adapter
|
26
27
|
licenses: []
|
27
28
|
post_install_message:
|
28
29
|
rdoc_options:
|
29
|
-
-
|
30
|
+
- --main
|
30
31
|
- README.md
|
31
32
|
require_paths:
|
32
33
|
- lib
|
33
34
|
required_ruby_version: !ruby/object:Gem::Requirement
|
34
35
|
requirements:
|
35
|
-
- -
|
36
|
+
- - '>='
|
36
37
|
- !ruby/object:Gem::Version
|
37
38
|
segments:
|
38
39
|
- 0
|
39
40
|
hash: 2
|
40
|
-
version:
|
41
|
-
MA==
|
41
|
+
version: '0'
|
42
42
|
none: false
|
43
43
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>'
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
MA==
|
47
|
+
version: 1.3.1
|
49
48
|
none: false
|
50
49
|
requirements: []
|
51
50
|
rubyforge_project: jruby-extras
|
data/lib/sqlite-jdbc-3.7.2.jar
DELETED
Binary file
|