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.
- data/History.txt +6 -0
- data/tasks/bin/cross-ruby.rake +10 -4
- data/tasks/gem.rake +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/tasks/bin/cross-ruby.rake
CHANGED
@@ -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
|
-
|
182
|
+
platforms = [platform]
|
183
183
|
|
184
184
|
# fake alternate (binary compatible) i386-mswin32-60 platform
|
185
|
-
|
186
|
-
|
187
|
-
|
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})"
|
data/tasks/gem.rake
CHANGED
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:
|
4
|
+
hash: 57
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 1
|
10
|
+
version: 0.9.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luis Lavena
|