sqldroid 1.1.0.beta.3-java → 1.1.0.beta.4-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a8c24e3841415f6410dc613dc4ff50dbffae0b095dcbc1844609d9880cb921d
|
4
|
+
data.tar.gz: 6cd7efddc2a6b32562f46221fe548d7f33f0f64b28a048ac4f475f193d5acd03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 146a73c7d1c5b039bf7e12b181635dfabd4c404a911a15153e2160ca3c2eb61535debdb8d64f6d8646087ebff6005a1cfbc5885c8a392aa480e51be35478b159
|
7
|
+
data.tar.gz: 41fbcdd741f7df698ea8d060c3ec9b01f679a656631f6efc985ce698f7bd6bcae0050baa5821212e0b3f5a5e03dc2a436154c15587c3edae7f2289334282796d
|
data/lib/jdbc/sqlite3.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
warn 'SqlDroid is only for use with JRuby' if RUBY_ENGINE != 'jruby'
|
2
|
+
|
3
|
+
require 'sqldroid/version'
|
4
|
+
|
5
|
+
module Jdbc
|
6
|
+
module SQLite3
|
7
|
+
def self.driver_jar
|
8
|
+
"sqldroid/sqldroid-#{SQLDroid::MAVEN_VERSION}.jar"
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.load_driver(method = :load)
|
12
|
+
send method, driver_jar
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.driver_name
|
16
|
+
'org.sqlite.JDBC'
|
17
|
+
end
|
18
|
+
|
19
|
+
if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
|
20
|
+
(Java::JavaLang::Boolean.get_boolean('jdbc.driver.autoload') ||
|
21
|
+
Java::JavaLang::Boolean.get_boolean('jdbc.sqlite3.autoload'))
|
22
|
+
warn "autoloading JDBC driver on require 'jdbc/sqlite3'" if $VERBOSE
|
23
|
+
load_driver :require
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
Binary file
|
data/lib/sqldroid/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqldroid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.beta.
|
4
|
+
version: 1.1.0.beta.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- donv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
SQLDroid is a JDBC driver for Android's sqlite database (android.database.sqlite.SQLiteDatabase).
|
@@ -19,8 +19,9 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- lib/jdbc/sqlite3.rb
|
22
23
|
- lib/sqldroid.rb
|
23
|
-
- lib/sqldroid/sqldroid-1.1.
|
24
|
+
- lib/sqldroid/sqldroid-1.1.0beta4-SNAPSHOT.jar
|
24
25
|
- lib/sqldroid/version.rb
|
25
26
|
homepage: http://sqldroid.org/
|
26
27
|
licenses:
|
Binary file
|