rake-compiler 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ === 0.9.1 / 2013-08-03
2
+
3
+ * Bugfixes:
4
+ * Restore compatibility with RubyGems platforms for cross-compilation
5
+ (i386-mingw32 and x86-mingw32 are the same and supported)
6
+
1
7
  === 0.9.0 / 2013-08-03
2
8
 
3
9
  * Enhancements:
@@ -179,12 +179,18 @@ task 'update-config' do
179
179
 
180
180
  files.each do |rbconfig|
181
181
  version, platform = rbconfig.match(/.*-(\d.\d.\d).*\/([-\w]+)\/rbconfig/)[1,2]
182
- config["rbconfig-#{platform}-#{version}"] = rbconfig
182
+ platforms = [platform]
183
183
 
184
184
  # fake alternate (binary compatible) i386-mswin32-60 platform
185
- if platform == "i386-mingw32"
186
- alt_platform = "i386-mswin32-60"
187
- config["rbconfig-#{alt_platform}-#{version}"] = rbconfig
185
+ platform == "i386-mingw32" and
186
+ platforms.push "i386-mswin32-60"
187
+
188
+ platforms.each do |plat|
189
+ config["rbconfig-#{plat}-#{version}"] = rbconfig
190
+
191
+ # also store RubyGems-compatible version
192
+ gem_platform = Gem::Platform.new(plat)
193
+ config["rbconfig-#{gem_platform}-#{version}"] = rbconfig
188
194
  end
189
195
 
190
196
  puts "Found Ruby version #{version} for platform #{platform} (#{rbconfig})"
@@ -3,7 +3,7 @@ require 'rubygems/package_task'
3
3
  GEM_SPEC = Gem::Specification.new do |s|
4
4
  # basic information
5
5
  s.name = "rake-compiler"
6
- s.version = "0.9.0"
6
+ s.version = "0.9.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
 
9
9
  # description and details
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luis Lavena