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

Sign up to get free protection for your applications and to get access to all the features.
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/jtds/lib"
11
11
  require "jdbc/jtds"
12
12
 
@@ -14,7 +14,7 @@ begin
14
14
  require 'hoe'
15
15
  Hoe.plugin :gemcutter
16
16
  hoe = Hoe.spec("activerecord-jdbcmssql-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"
@@ -23,7 +23,7 @@ begin
23
23
  p.summary = "MS-SQL JDBC adapter for JRuby on Rails."
24
24
  p.description = "Install this gem to use MS-SQL with JRuby on Rails."
25
25
  p.extra_deps += [
26
- ['activerecord-jdbc-adapter', "= #{JdbcAdapter::Version::VERSION}"],
26
+ ['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
27
27
  ['jdbc-jtds', ">= #{Jdbc::JTDS::VERSION}"]]
28
28
  end
29
29
  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/jtds"
14
- rescue LoadError
15
- raise if tried_gem
16
- require 'rubygems'
17
- gem "jdbc-mssql"
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 :jdbcmssql_connection, :mssql_connection
28
- end
29
- end
30
- end
1
+ require 'arjdbc/mssql'
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbcmssql-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
@@ -99,11 +101,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
101
  required_rubygems_version: !ruby/object:Gem::Requirement
100
102
  none: false
101
103
  requirements:
102
- - - ">="
104
+ - - ">"
103
105
  - !ruby/object:Gem::Version
104
106
  segments:
105
- - 0
106
- version: "0"
107
+ - 1
108
+ - 3
109
+ - 1
110
+ version: 1.3.1
107
111
  requirements: []
108
112
 
109
113
  rubyforge_project: jruby-extras