jdbc-sqlite3 3.6.14.2.056-java

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2007 David Crawshaw <david@zentus.com>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/jdbc
6
+ lib/sqlitejdbc-3.6.14.2.056.jar
7
+ lib/jdbc/sqlite3.rb
data/README.txt ADDED
@@ -0,0 +1,14 @@
1
+ = jdbc-sqlite3
2
+
3
+ * http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter/
4
+
5
+ == DESCRIPTION:
6
+
7
+ This is a SQLite JDBC driver gem for JRuby.
8
+
9
+ Use
10
+
11
+ require 'jdbc/sqlite'
12
+
13
+ to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
14
+
data/Rakefile ADDED
@@ -0,0 +1,29 @@
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.plugin :gemcutter
14
+ Hoe.spec("jdbc-sqlite3") do |p|
15
+ p.version = Jdbc::SQLite3::VERSION
16
+ p.spec_extras[:platform] = Gem::Platform.new("java")
17
+ p.rubyforge_name = "jruby-extras"
18
+ p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
19
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
20
+ p.email = "nick@nicksieger.com, ola.bini@gmail.com"
21
+ p.summary = "SQLite3 JDBC driver for Java and SQLite3/ActiveRecord-JDBC."
22
+ p.changes = "Updated to SQLite3 version #{Jdbc::SQLite3::VERSION}."
23
+ p.description = "Install this gem and require 'sqlite3' within JRuby to load the driver."
24
+ end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
25
+ rescue LoadError
26
+ puts "You really need Hoe installed to be able to package this gem"
27
+ rescue => e
28
+ puts "ignoring error while loading hoe: #{e.to_s}"
29
+ end
@@ -0,0 +1,10 @@
1
+ module Jdbc
2
+ module SQLite3
3
+ VERSION = "3.6.14.2.056" # Based on SQLite 3.6.14.2
4
+ end
5
+ end
6
+ if RUBY_PLATFORM =~ /java/
7
+ require "sqlitejdbc-#{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,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdbc-sqlite3
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 3
7
+ - 6
8
+ - 14
9
+ - 2
10
+ - 56
11
+ version: 3.6.14.2.056
12
+ platform: java
13
+ authors:
14
+ - Nick Sieger, Ola Bini and JRuby contributors
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2010-10-11 00:00:00 -05:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: rubyforge
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 4
34
+ version: 2.0.4
35
+ type: :development
36
+ version_requirements: *id001
37
+ description: Install this gem and require 'sqlite3' within JRuby to load the driver.
38
+ email: nick@nicksieger.com, ola.bini@gmail.com
39
+ executables: []
40
+
41
+ extensions: []
42
+
43
+ extra_rdoc_files:
44
+ - Manifest.txt
45
+ - README.txt
46
+ - LICENSE.txt
47
+ files:
48
+ - Manifest.txt
49
+ - Rakefile
50
+ - README.txt
51
+ - LICENSE.txt
52
+ - lib/sqlitejdbc-3.6.14.2.056.jar
53
+ - lib/jdbc/sqlite3.rb
54
+ has_rdoc: true
55
+ homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
56
+ licenses: []
57
+
58
+ post_install_message:
59
+ rdoc_options:
60
+ - --main
61
+ - README.txt
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ segments:
78
+ - 0
79
+ version: "0"
80
+ requirements: []
81
+
82
+ rubyforge_project: jruby-extras
83
+ rubygems_version: 1.3.7
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: SQLite3 JDBC driver for Java and SQLite3/ActiveRecord-JDBC.
87
+ test_files: []
88
+