jdbc-sqlite3 3.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/LICENSE.txt ADDED
@@ -0,0 +1 @@
1
+ check the site
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/jdbc
6
+ lib/jdbc/sqlite3.rb
7
+ lib/sqlite-3.5.8.jar
data/README.txt ADDED
@@ -0,0 +1,6 @@
1
+ This is a SQLite JDBC driver gem for JRuby. Use
2
+
3
+ require 'jdbc/sqlite'
4
+
5
+ to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
6
+
data/Rakefile ADDED
@@ -0,0 +1,26 @@
1
+ MANIFEST = FileList["Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*"]
2
+
3
+ file "Manifest.txt" => :manifest
4
+ task :manifest do
5
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
6
+ end
7
+ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
8
+
9
+ $LOAD_PATH << "lib"
10
+ require "jdbc/sqlite3"
11
+ begin
12
+ require 'hoe'
13
+ Hoe.new("jdbc-sqlite3", Jdbc::SQLite3::VERSION) do |p|
14
+ p.rubyforge_name = "jruby-extras"
15
+ p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
16
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
17
+ p.email = "nick@nicksieger.com, ola.bini@gmail.com"
18
+ p.summary = "SQLite3 JDBC driver for Java and SQLite3/ActiveRecord-JDBC."
19
+ p.changes = "Updated to SQLite3 version #{Jdbc::SQLite3::VERSION}."
20
+ p.description = "Install this gem and require 'sqlite3' within JRuby to load the driver."
21
+ end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
22
+ rescue LoadError
23
+ puts "You really need Hoe installed to be able to package this gem"
24
+ rescue => e
25
+ puts "ignoring error while loading hoe: #{e.to_s}"
26
+ end
@@ -0,0 +1,10 @@
1
+ module Jdbc
2
+ module SQLite3
3
+ VERSION = "3.5.8"
4
+ end
5
+ end
6
+ if RUBY_PLATFORM =~ /java/
7
+ require "sqlite-#{Jdbc::SQLite3::VERSION}.jar"
8
+ else
9
+ warn "jdbc-SQLite3 is only for use with JRuby"
10
+ end
Binary file
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdbc-sqlite3
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.5.8
5
+ platform: ruby
6
+ authors:
7
+ - Nick Sieger, Ola Bini and JRuby contributors
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-03 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Install this gem and require 'sqlite3' within JRuby to load the driver.
17
+ email: nick@nicksieger.com, ola.bini@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - Manifest.txt
24
+ - README.txt
25
+ - LICENSE.txt
26
+ files:
27
+ - Manifest.txt
28
+ - Rakefile
29
+ - README.txt
30
+ - LICENSE.txt
31
+ - lib/jdbc
32
+ - lib/jdbc/sqlite3.rb
33
+ - lib/sqlite-3.5.8.jar
34
+ has_rdoc: true
35
+ homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
36
+ post_install_message:
37
+ rdoc_options:
38
+ - --main
39
+ - README.txt
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: "0"
47
+ version:
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: "0"
53
+ version:
54
+ requirements: []
55
+
56
+ rubyforge_project: jruby-extras
57
+ rubygems_version: 1.0.1
58
+ signing_key:
59
+ specification_version: 2
60
+ summary: SQLite3 JDBC driver for Java and SQLite3/ActiveRecord-JDBC.
61
+ test_files: []
62
+