activerecord-jdbcmysql-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
@@ -23,9 +23,13 @@ begin
23
23
  p.summary = "MySQL JDBC adapter for JRuby on Rails."
24
24
  p.changes = "Updated to MySQL version #{Jdbc::MySQL::VERSION}."
25
25
  p.description = "Install this gem to use MySQL with JRuby on Rails."
26
+ driver = 'jdbc-mysql'
27
+ version = Jdbc::MySQL::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-mysql', ">= #{Jdbc::MySQL::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,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
  - 5
45
45
  - 0
46
- - 4
47
- version: 5.0.4
46
+ - 0
47
+ version: 5.0.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 MySQL with JRuby on Rails.