activerecord-jdbcsqlite3-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 -12
data/Rakefile CHANGED
@@ -23,9 +23,13 @@ begin
23
23
  p.summary = "SQLite3 JDBC adapter for JRuby on Rails."
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
+ driver = 'jdbc-sqlite3'
27
+ version = Jdbc::SQLite3::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-sqlite3', ">= #{Jdbc::SQLite3::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,15 +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
  - 3
45
45
  - 6
46
- - 14
47
- - 2
48
- - 56
49
- version: 3.6.14.2.056
46
+ - 0
47
+ version: 3.6.0
50
48
  type: :runtime
51
49
  version_requirements: *id002
52
50
  - !ruby/object:Gem::Dependency
@@ -75,8 +73,8 @@ dependencies:
75
73
  segments:
76
74
  - 2
77
75
  - 6
78
- - 1
79
- version: 2.6.1
76
+ - 2
77
+ version: 2.6.2
80
78
  type: :development
81
79
  version_requirements: *id004
82
80
  description: Install this gem to use SQLite3 with JRuby on Rails.