activerecord-jdbcsqlite3-adapter 0.9.7-java → 1.0.0.beta1-java

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/Rakefile CHANGED
@@ -6,7 +6,7 @@ task :manifest do
6
6
  end
7
7
  Rake::Task['manifest'].invoke
8
8
 
9
- require File.dirname(__FILE__) + "/../../lib/jdbc_adapter/version"
9
+ require File.dirname(__FILE__) + "/../../lib/arjdbc/version"
10
10
  $LOAD_PATH << File.dirname(__FILE__) + "/../../drivers/sqlite3/lib"
11
11
  require "jdbc/sqlite3"
12
12
 
@@ -14,7 +14,7 @@ begin
14
14
  require 'hoe'
15
15
  Hoe.plugin :gemcutter
16
16
  hoe = Hoe.spec("activerecord-jdbcsqlite3-adapter") do |p|
17
- p.version = JdbcAdapter::Version::VERSION
17
+ p.version = ArJdbc::Version::VERSION
18
18
  p.spec_extras[:platform] = Gem::Platform.new("java")
19
19
  p.rubyforge_name = "jruby-extras"
20
20
  p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
@@ -24,7 +24,7 @@ begin
24
24
  p.changes = "Updated to SQLite3 version #{Jdbc::SQLite3::VERSION}."
25
25
  p.description = "Install this gem to use SQLite3 with JRuby on Rails."
26
26
  p.extra_deps += [
27
- ['activerecord-jdbc-adapter', "= #{JdbcAdapter::Version::VERSION}"],
27
+ ['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
28
28
  ['jdbc-sqlite3', ">= #{Jdbc::SQLite3::VERSION}"]]
29
29
  end
30
30
  task :gemspec do
@@ -1,30 +1 @@
1
- tried_gem = false
2
- begin
3
- require "jdbc_adapter"
4
- rescue LoadError
5
- raise if tried_gem
6
- require 'rubygems'
7
- gem "activerecord-jdbc-adapter"
8
- tried_gem = true
9
- retry
10
- end
11
- tried_gem = false
12
- begin
13
- require "jdbc/sqlite3"
14
- rescue LoadError
15
- raise if tried_gem
16
- require 'rubygems'
17
- gem "jdbc-sqlite3"
18
- tried_gem = true
19
- retry
20
- end
21
-
22
- require 'active_record/connection_adapters/jdbc_adapter'
23
-
24
- module ActiveRecord
25
- class Base
26
- class << self
27
- alias_method :jdbcsqlite3_connection, :sqlite3_connection
28
- end
29
- end
30
- end
1
+ require 'arjdbc/sqlite3'
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbcsqlite3-adapter
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
+ - 1
6
7
  - 0
7
- - 9
8
- - 7
9
- version: 0.9.7
8
+ - 0
9
+ - beta1
10
+ version: 1.0.0.beta1
10
11
  platform: java
11
12
  authors:
12
13
  - Nick Sieger, Ola Bini and JRuby contributors
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-25 00:00:00 -05:00
18
+ date: 2010-07-20 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -26,10 +27,11 @@ dependencies:
26
27
  - - "="
27
28
  - !ruby/object:Gem::Version
28
29
  segments:
30
+ - 1
31
+ - 0
29
32
  - 0
30
- - 9
31
- - 7
32
- version: 0.9.7
33
+ - beta1
34
+ version: 1.0.0.beta1
33
35
  type: :runtime
34
36
  version_requirements: *id001
35
37
  - !ruby/object:Gem::Dependency
@@ -100,11 +102,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
102
  required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  none: false
102
104
  requirements:
103
- - - ">="
105
+ - - ">"
104
106
  - !ruby/object:Gem::Version
105
107
  segments:
106
- - 0
107
- version: "0"
108
+ - 1
109
+ - 3
110
+ - 1
111
+ version: 1.3.1
108
112
  requirements: []
109
113
 
110
114
  rubyforge_project: jruby-extras