activerecord-jdbchsqldb-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 -11
data/Rakefile CHANGED
@@ -23,9 +23,13 @@ begin
23
23
  p.summary = "HSQLDB JDBC adapter for JRuby on Rails."
24
24
  p.changes = "Updated to HSQLDB version #{Jdbc::HSQLDB::VERSION}."
25
25
  p.description = "Install this gem to use HSQLDB with JRuby on Rails."
26
+ driver = 'jdbc-hsqldb'
27
+ version = Jdbc::HSQLDB::VERSION
28
+ compat_version = "~> #{version.split(/\./)[0..1].join('.')}.0"
29
+ puts "#{p.name}: current #{driver} version #{version}, compat #{compat_version}"
26
30
  p.extra_deps += [
27
31
  ['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
28
- ['jdbc-hsqldb', ">= #{Jdbc::HSQLDB::VERSION}"]]
32
+ [driver, compat_version]]
29
33
  end
30
34
  task :gemspec do
31
35
  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,14 +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
  - 8
46
- - 1
47
- - 3
48
- version: 1.8.1.3
46
+ - 0
47
+ version: 1.8.0
49
48
  type: :runtime
50
49
  version_requirements: *id002
51
50
  - !ruby/object:Gem::Dependency
@@ -74,8 +73,8 @@ dependencies:
74
73
  segments:
75
74
  - 2
76
75
  - 6
77
- - 1
78
- version: 2.6.1
76
+ - 2
77
+ version: 2.6.2
79
78
  type: :development
80
79
  version_requirements: *id004
81
80
  description: Install this gem to use HSQLDB with JRuby on Rails.