activerecord-jdbcmssql-adapter 1.0.1-java → 1.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/Rakefile +5 -1
  2. metadata +10 -10
data/Rakefile CHANGED
@@ -22,9 +22,13 @@ begin
22
22
  p.email = "nick@nicksieger.com, ola.bini@gmail.com"
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
+ driver = 'jdbc-jtds'
26
+ version = Jdbc::JTDS::VERSION
27
+ compat_version = "~> #{version.split(/\./)[0..1].join('.')}.0"
28
+ puts "#{p.name}: current #{driver} version #{version}, compat #{compat_version}"
25
29
  p.extra_deps += [
26
30
  ['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
27
- ['jdbc-jtds', ">= #{Jdbc::JTDS::VERSION}"]]
31
+ [driver, compat_version]]
28
32
  end
29
33
  task :gemspec do
30
34
  File.open("#{hoe.name}.gemspec", "w") {|f| f << hoe.spec.to_ruby }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: java
11
11
  authors:
12
12
  - Nick Sieger, Ola Bini and JRuby contributors
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-14 00:00:00 -05:00
17
+ date: 2010-10-20 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 1
30
30
  - 0
31
- - 1
32
- version: 1.0.1
31
+ - 2
32
+ version: 1.0.2
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
@@ -38,13 +38,13 @@ dependencies:
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ">="
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  segments:
44
44
  - 1
45
45
  - 2
46
- - 5
47
- version: 1.2.5
46
+ - 0
47
+ version: 1.2.0
48
48
  type: :runtime
49
49
  version_requirements: *id002
50
50
  - !ruby/object:Gem::Dependency
@@ -73,8 +73,8 @@ dependencies:
73
73
  segments:
74
74
  - 2
75
75
  - 6
76
- - 1
77
- version: 2.6.1
76
+ - 2
77
+ version: 2.6.2
78
78
  type: :development
79
79
  version_requirements: *id004
80
80
  description: Install this gem to use MS-SQL with JRuby on Rails.