rake-compiler 1.0.8 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 196b8e433ab869ede009a6b0691c86e228e929143102558f7bc7ba30d7c33a32
4
- data.tar.gz: 23d6a72c3bfbd1cded05b7b58d5ccac030209da10b7f214392584520743f4c39
3
+ metadata.gz: 83d5f854b75073d4180da9ece3502bb86995335a52e8b59a83212ec70b08206d
4
+ data.tar.gz: cd2840623dd94c1377ad5c9304e19fc37907af1e4f5fb3cb8ce3011e80e9729e
5
5
  SHA512:
6
- metadata.gz: 704df0198fbeb45b4d1f033e43e49a440088ca7b34107d93e1d11f818f4d2307a63614d480f707ca39ba44b74e153a913bc6bb568ea8debfd6882529ba567868
7
- data.tar.gz: a90fd28b0b81f88ede892c914676acb1f2ac6791df8ba443800b5e9ad281b62104d8e000d6eae0863c44ea9cb313bb4d7b27cf146007c4f6f22e3b003773efbf
6
+ metadata.gz: 02e09a4a2ee0fb199d54f6f063225be7a731abb7752b2cdd3eb05f409b0bac16c0dc32c5222b4167b3a4b39507093ce5fd6a1e3eb5012c5d77233423ecabbb3b
7
+ data.tar.gz: ff48af6c3b541170420f5c3351ab328052219fb906052d7813923975c231245c8613f212ce7e6e88ff63ccb8d0f5191a5a03935c382b53885db4e7d858800f8f
data/History.md ADDED
@@ -0,0 +1,510 @@
1
+ ### 1.1.2 / 2021-12-07
2
+
3
+ * Changes:
4
+ * Use .tar.gz instead of .tar.bz2 for Ruby archive.
5
+ [#179](https://github.com/rake-compiler/rake-compiler/pull/179) [Patch by Masaki Hara]
6
+ * Stop removing `CC`, `CXX`, `CPPFLAGS` and `LDFLAGS` environment variables for cross-build.
7
+ [#182](https://github.com/rake-compiler/rake-compiler/pull/182) [Patch by Lars Kanis]
8
+ * Remove IronRuby related message.
9
+ [#184](https://github.com/rake-compiler/rake-compiler/pull/184) [Patch by Thomas E Enebo]
10
+ * Suppress a warning.
11
+ [#185](https://github.com/rake-compiler/rake-compiler/pull/185) [Patch by Olle Jonsson]
12
+ * Rename `History.txt` to `History.md`.
13
+ [#174](https://github.com/rake-compiler/rake-compiler/pull/174) [Patch by MSP-Greg]
14
+ * Use `make install` instead of copying artifacts manually.
15
+ [#191](https://github.com/rake-compiler/rake-compiler/pull/191) [Patch by Lars Kanis]
16
+
17
+ * Enhancements:
18
+ * Add support for building cross rubies in parallel.
19
+ [#169](https://github.com/rake-compiler/rake-compiler/pull/169) [Patch by Lars Kanis]
20
+ * Use `RAKE_EXTENSION_TASK_NO_NATIVE` environment variable as the default `no_native` value.
21
+ * Add support for `rake native gem` without `cross`.
22
+ [#166](https://github.com/rake-compiler/rake-compiler/pull/166) [Patch by Lars Kanis]
23
+
24
+ ### 1.1.1 / 2020-07-10
25
+
26
+ * Changes:
27
+ * Bump the default Java bytecode to 1.7.
28
+ [#172](https://github.com/rake-compiler/rake-compiler/pull/172) [Patch by Charles Oliver Nutter]
29
+
30
+ * Enhancements:
31
+ * Add support for finding x86_64 MinGW GCC.
32
+ [#164](https://github.com/rake-compiler/rake-compiler/pull/164) [Patch by Lars Kanis]
33
+ * Strip cross compiled shared library automatically.
34
+ [#165](https://github.com/rake-compiler/rake-compiler/pull/165) [Patch by Lars Kanis]
35
+
36
+ ### 1.1.0 / 2019-12-25
37
+
38
+ * Bugfixes:
39
+ * Fix a bug that JavaExtenstionTask can't build anything.
40
+ [#163](https://github.com/rake-compiler/rake-compiler/issues/163) [Reported by Kai Kuchenbecker]
41
+
42
+ ### 1.0.9 / 2019-12-23
43
+
44
+ * Changes:
45
+ * Use "-Xlint" option for JRuby native extension by default.
46
+ [#158](https://github.com/rake-compiler/rake-compiler/pull/158) [Patch by Stephen George]
47
+
48
+ * Enhancements:
49
+ * Make customizable compiler Xlint option for JRuby native extension.
50
+ [#118](https://github.com/rake-compiler/rake-compiler/pull/118) [Patch by Hiroshi Hatake]
51
+ * Add support for Ruby 2.7.
52
+ [#161](https://github.com/rake-compiler/rake-compiler/pull/161) [Reported by Masaki Hara]
53
+
54
+ ### 1.0.8 / 2019-09-21
55
+
56
+ * Enhancements:
57
+ * Added Rake::JavaExtensionTask#encoding= to pass the -encoding option to
58
+ javac.
59
+ [#157](https://github.com/rake-compiler/rake-compiler/pull/157) [Patch by Tiago Dias]
60
+
61
+ * Bugfixes:
62
+ * Drop EOL'd rubyforge_project directive from .gemspec.
63
+ [#155](https://github.com/rake-compiler/rake-compiler/pull/155) [Patch by Olle Jonsson]
64
+
65
+ ### 1.0.7 / 2019-01-04
66
+
67
+ * Bugfixes:
68
+ * Fix a bug that JRuby class path detection is failed on
69
+ cross-compilation.
70
+ [#149](https://github.com/rake-compiler/rake-compiler/issues/149) [#151](https://github.com/rake-compiler/rake-compiler/pull/151) [Reported by Chalupa Petr][Patch by Prashant Vithani]
71
+
72
+ ### 1.0.6 / 2018-12-23
73
+
74
+ * Enhancements:
75
+ * Stop to make unreleased Ruby installable.
76
+ [#150](https://github.com/rake-compiler/rake-compiler/issues/150) [Reported by MSP-Greg]
77
+
78
+ ### 1.0.5 / 2018-08-31
79
+
80
+ * Enhancements:
81
+ * Improve JRuby class pass detection.
82
+ [#147](https://github.com/rake-compiler/rake-compiler/pull/147) [Patch by Prashant Vithani]
83
+ * Update the default source and target versions to Java 6.
84
+ [#148](https://github.com/rake-compiler/rake-compiler/pull/148) [Patch by Prashant Vithani]
85
+
86
+ ### 1.0.4 / 2017-05-27
87
+
88
+ * Enhancements:
89
+ * Migrate to RSpec 3 from RSpec 2.
90
+ * Add more tests.
91
+ [#140](https://github.com/rake-compiler/rake-compiler/pull/140) [Patch by Lars Kanis]
92
+ * Support C++ source files by default.
93
+ [#141](https://github.com/rake-compiler/rake-compiler/pull/141) [Patch by Takashi Kokubun]
94
+ * Suppress warnings.
95
+ [#142](https://github.com/rake-compiler/rake-compiler/pull/142) [Patch by Akira Matsuda]
96
+
97
+ ### 1.0.3 / 2016-12-02
98
+
99
+ * Enhancements:
100
+ * Support specifying required Ruby versions.
101
+ [#137](https://github.com/rake-compiler/rake-compiler/pull/137) [Patch by Lars Kanis]
102
+
103
+ ### 1.0.2 / 2016-11-13
104
+
105
+ * Bugfixes:
106
+ * Fix Ruby version detection example code in README.
107
+ [#135](https://github.com/rake-compiler/rake-compiler/pull/135) [Patch by Nicolas Noble]
108
+ * Fix version detection.
109
+ [#136](https://github.com/rake-compiler/rake-compiler/pull/136) [Patch by Lars Kanis]
110
+
111
+ ### 1.0.1 / 2016-06-21
112
+
113
+ * Bugfixes:
114
+ * Add missing dependency.
115
+
116
+ ### 1.0.0 / 2016-06-21
117
+
118
+ * Enhancements:
119
+ * Really support extension in sub directory.
120
+
121
+ ### 0.9.9 / 2016-05-10
122
+
123
+ * Bugfixes:
124
+ * Support Symbol as extension name again.
125
+ [#134](https://github.com/rake-compiler/rake-compiler/pull/134) [Patch by Takashi Kokubun]
126
+
127
+ ### 0.9.8 / 2016-04-29
128
+
129
+ * Enhancements:
130
+ * Support extension in sub directory.
131
+ [#128](https://github.com/rake-compiler/rake-compiler/pull/128), [#129](https://github.com/rake-compiler/rake-compiler/pull/129) [Patch by Kenta Murata]
132
+
133
+ ### 0.9.7 / 2016-03-16
134
+
135
+ * Bugfixes:
136
+ * May fix "make" detection on Windows.
137
+ [#123](https://github.com/rake-compiler/rake-compiler/issues/123) [Reported by Aaron Stone]
138
+
139
+ ### 0.9.6 / 2016-03-04
140
+
141
+ * Enhancements:
142
+ * Add more descriptions into README.
143
+ Closes [#105](https://github.com/rake-compiler/rake-compiler/pull/105) [Patch by Aaron Stone]
144
+ * Remove needless executable bits.
145
+ Closes [#107](https://github.com/rake-compiler/rake-compiler/pull/107) [Patch by Thibault Jouan]
146
+ * Update .gitignore.
147
+ Closes [#108](https://github.com/rake-compiler/rake-compiler/pull/108) [Patch by Thibault Jouan]
148
+ * Improve "make" detection on some platforms such as FreeBSD.
149
+ Closes [#109](https://github.com/rake-compiler/rake-compiler/pull/109) [Patch by Thibault Jouan]
150
+ * Enable cucumber steps for POSIX on *BSD.
151
+ Closes [#110](https://github.com/rake-compiler/rake-compiler/pull/110) [Patch by Thibault Jouan]
152
+ * Stop to build bundled extensions.
153
+ * Add description about CLI option into README.
154
+ Closes [#115](https://github.com/rake-compiler/rake-compiler/pull/115) [Patch by Richard Michael]
155
+ * Update description about using rake-compiler on virtual machine in
156
+ README.
157
+ Closes [#116](https://github.com/rake-compiler/rake-compiler/pull/116), [#117](https://github.com/rake-compiler/rake-compiler/pull/117) [Patch by Lars Kanis]
158
+ * Update fake mechanism to be compatible with Bundler.
159
+ Closes [#121](https://github.com/rake-compiler/rake-compiler/pull/121) [Patch by Lars Kanis]
160
+
161
+ * Bugfixes:
162
+ * Fix typos in README.
163
+ Closes [#102](https://github.com/rake-compiler/rake-compiler/pull/102), [#103](https://github.com/rake-compiler/rake-compiler/pull/103) [Patch by Robert Fletcher]
164
+
165
+ ### 0.9.5 / 2015-01-03
166
+
167
+ * Enhancements:
168
+ * Support adding bundled files in cross_compiling block.
169
+ Closes [#100](https://github.com/rake-compiler/rake-compiler/pull/100) [Patch by Aaron Stone]
170
+
171
+ ### 0.9.4 / 2014-12-28
172
+
173
+ * Notes:
174
+ * Change maintainer to Kouhei Sutou from Luis Lavena.
175
+ Thanks Luis Lavena for your great works!
176
+ * Change repository to https://github.com/rake-compiler/rake-compiler
177
+ from https://github.com/luislavena/rake-compiler .
178
+
179
+ * Bugfixes:
180
+ * Loose RubyGems dependency a little bit to ease old Debian/Ubuntu.
181
+ Closes [#93](https://github.com/rake-compiler/rake-compiler/issues/93)
182
+
183
+ ### 0.9.3 / 2014-08-03
184
+
185
+ * Bugfixes:
186
+ * Fix specs to run (and pass) on Ruby 2.1 and beyond.
187
+ Pull [#94](https://github.com/rake-compiler/rake-compiler/pull/94) [hggh]
188
+
189
+ ### 0.9.2 / 2013-11-14
190
+
191
+ * Bugfixes:
192
+ * Pre-load resolver to avoid Bundler blow up during cross-compilation
193
+ Pull [#83](https://github.com/rake-compiler/rake-compiler/pull/83) [larskanis]
194
+
195
+ ### 0.9.1 / 2013-08-03
196
+
197
+ * Bugfixes:
198
+ * Restore compatibility with RubyGems platforms for cross-compilation
199
+ (i386-mingw32 and x86-mingw32 are the same and supported)
200
+
201
+ ### 0.9.0 / 2013-08-03
202
+
203
+ * Enhancements:
204
+ * Add support for cross-builds and multiple platforms (x86/x64).
205
+ Pull [#74](https://github.com/rake-compiler/rake-compiler/pull/74) [larskanis]
206
+
207
+ ```text
208
+ $ rake-compiler cross-ruby VERSION=1.8.7-p371
209
+ $ rake-compiler cross-ruby VERSION=1.9.3-p392
210
+ $ rake-compiler cross-ruby VERSION=2.0.0-p0
211
+ $ rake-compiler cross-ruby VERSION=2.0.0-p0 HOST=x86_64-w64-mingw32
212
+ $ rake cross compile RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0
213
+
214
+ # Rakefile
215
+ ext.cross_platform = %w[i386-mingw32 x64-mingw32]
216
+ ```
217
+
218
+ * Support for cross-platform specific options. Pull [#74](https://github.com/rake-compiler/rake-compiler/pull/74) [larskanis]
219
+
220
+ ```ruby
221
+ # Rakefile
222
+ ext.cross_config_options << "--with-common-option"
223
+ ext.cross_config_options << {"x64-mingw32" => "--enable-64bits"}
224
+ ```
225
+
226
+ * Bugfixes:
227
+ * Correct fat-gems support caused by RubyGems issues. Pull [#76](https://github.com/rake-compiler/rake-compiler/pull/76) [knu]
228
+
229
+ * Deprecations:
230
+ * Requires minimum Ruby 1.8.7 and RubyGems 1.8.25
231
+ * Usage of 'i386-mswin32' needs to be changed to 'i386-mswin32-60'
232
+
233
+ ### 0.9.0.pre.1 / 2013-05-05
234
+
235
+ See 0.9.0 changes.
236
+
237
+ ### 0.8.3 / 2013-02-16
238
+
239
+ * Bugfixes:
240
+ * Support FreeBSD 'mingw32-gcc' cross compiler. Closes [#72](https://github.com/rake-compiler/rake-compiler/pull/72) [knu]
241
+
242
+ ### 0.8.2 / 2013-01-11
243
+
244
+ * Bugfixes:
245
+ * Unset CC, LDFLAGS and CPPFLAGS prior cross-compiling. Closes [#55](https://github.com/rake-compiler/rake-compiler/issues/55)
246
+
247
+ ### 0.8.1 / 2012-04-15
248
+
249
+ * Bugfixes:
250
+ * Raise error when either make or gmake could be found. Closes [#53](https://github.com/rake-compiler/rake-compiler/issues/53), [#54](https://github.com/rake-compiler/rake-compiler/pull/54)
251
+
252
+ ### 0.8.0 / 2012-01-08
253
+
254
+ * Enhancements:
255
+ * Invocation from command line now support extra options similar to RubyGems.
256
+ Closes [#4](https://github.com/rake-compiler/rake-compiler/issues/4) from Pull [#47](https://github.com/rake-compiler/rake-compiler/pull/47) [jonforums]
257
+
258
+ $ rake compile -- --with-opt-dir=/opt/local
259
+
260
+ * Bugfixes:
261
+ * Only emit cross-compilation warnings for C when `cross` is invoked.
262
+ Closes [#16](https://github.com/rake-compiler/rake-compiler/issues/16) from Pull [#48](https://github.com/rake-compiler/rake-compiler/pull/48) [mvz]
263
+ * Only emit warnings when invoking cross-compilation tasks for JRuby.
264
+ Pull [#45](https://github.com/rake-compiler/rake-compiler/pull/45) [jfirebaugh]
265
+ * Use x86 MinGW cross-compiler. Pull [#49](https://github.com/rake-compiler/rake-compiler/pull/49) [larskanis]
266
+
267
+ ### 0.7.9 / 2011-06-08
268
+
269
+ * Enhancements:
270
+ * Consistently use RubyGems features available since version 1.3.2 and avoid
271
+ deprecation warnings with Rake > 0.8.7.
272
+
273
+ * Bugfixes:
274
+ * Use correct platform in fake.rb. Pull [#39](https://github.com/rake-compiler/rake-compiler/pull/39) [kou]
275
+ * Workaround Gem::Specification and Gem::PackageTask limitations. Closes [#43](https://github.com/rake-compiler/rake-compiler/issues/43)
276
+
277
+ ### 0.7.8 / 2011-04-26
278
+
279
+ * Enhancements:
280
+ * Bump default cross-ruby version to 1.8.7-p334.
281
+ * ExtensionTask now support config_includes to load additional directories.
282
+ [jfinkhaeuser]
283
+
284
+ ```ruby
285
+ Rake::ExtensionTask.new("myext", GEM_SPEC) do |ext|
286
+ ext.config_includes << File.expand_path("my", "custom", "dir")
287
+ end
288
+ ```
289
+
290
+ * Bugfixes:
291
+ * Warn if compiled files exists in extension's source directory. Closes [#35](https://github.com/rake-compiler/rake-compiler/issues/35)
292
+ * Workaround issue with WINE using proper build option. Closes [#37](https://github.com/rake-compiler/rake-compiler/issues/37)
293
+ * Use FileUtils#install instead of cp. Closes [#33](https://github.com/rake-compiler/rake-compiler/issues/33) [Eric Wong]
294
+ * Update README instructions for OSX. Closes [#29](https://github.com/rake-compiler/rake-compiler/issues/29) [tmm1]
295
+
296
+ ### 0.7.7 / 2011-04-04
297
+
298
+ * Bugfixes:
299
+ * Use Winsock2 as default to match Ruby 1.9.2 library linking.
300
+
301
+ ### 0.7.6 / 2011-02-04
302
+
303
+ * Bugfixes:
304
+ * Prefer Psych over Syck for YAML parsing on Ruby 1.9.2. [tenderlove]
305
+
306
+ ### 0.7.5 / 2010-11-25
307
+
308
+ * Enhancements:
309
+ * Promoted stable version for cross-compilation to 1.8.6-p398. Closes [#19](https://github.com/rake-compiler/rake-compiler/issues/19)
310
+
311
+ * Bugfixes:
312
+ * Generate a fake.rb compatible with Ruby 1.9.2. Closes [#25](https://github.com/rake-compiler/rake-compiler/issues/25)
313
+ * fake.rb will not try to mimic Ruby's own fake to the letter. Closes [#28](https://github.com/rake-compiler/rake-compiler/issues/28)
314
+ * Expand symlinks for tmp_dir. Closes [#24](https://github.com/rake-compiler/rake-compiler/issues/24)
315
+ * Silence make output during rake-compiler invocation.
316
+ * Usage of Gem.ruby instead of RbConfig ruby_install_name
317
+ This solve issues with ruby vs. ruby.exe and jruby.exe
318
+
319
+ * Experimental:
320
+ * Allow setting of HOST during cross-compilation. This enable usage
321
+ of mingw-w64 compiler and not the first one found in the PATH.
322
+
323
+ rake-compiler cross-ruby VERSION=1.9.2-p0 HOST=i686-w64-mingw32
324
+ rake-compiler cross-ruby HOST=i386-mingw32 (OSX mingw32 port)
325
+ rake-compiler cross-ruby HOST=i586-pc-mingw32 (Debian/Ubuntu mingw32)
326
+
327
+ ### 0.7.1 / 2010-08-07
328
+
329
+ * Bugfixes:
330
+ * Update gem files to make "gem install -t" works. Closes [#14](https://github.com/rake-compiler/rake-compiler/issues/14)
331
+ * Update mocks to work under 1.8.7. Closes [#15](https://github.com/rake-compiler/rake-compiler/issues/15) [luisparravicini]
332
+ * Do not allow cross-ruby be executed under Windows. Closes [#22](https://github.com/rake-compiler/rake-compiler/issues/22)
333
+
334
+ * Experimental:
335
+ * Allow JRuby to compile C extensions [timfel].
336
+ It is now possible compile C extensions using latest JRuby. Offered
337
+ in experimental mode since JRuby cext hasn't been officially released.
338
+
339
+ ### 0.7.0 / 2009-12-08
340
+
341
+ * Enhancements
342
+ * Allow generation of JRuby extensions. Thanks to Alex Coles (myabc) for the
343
+ contribution.
344
+ This will allow, with proper JDK tools, cross compilation of JRuby gems
345
+ from MRI.
346
+
347
+ ```ruby
348
+ Rake::JavaExtensionTask.new('my_java_extension', GEM_SPEC) do |ext|
349
+ # most of ExtensionTask options can be used
350
+ # plus, java_compiling:
351
+ ext.java_compiling do |gem_spec|
352
+ gem_spec.post_install_message = "This is a native JRuby gem!"
353
+ end
354
+ end
355
+ ```
356
+
357
+ Please note that cross-compiling JRuby gems requires either JRUBY_HOME or
358
+ JRUBY_PARENT_CLASSPATH environment variables being properly set.
359
+
360
+ * Allow alteration of the Gem Specification when cross compiling. Closes [#3](https://github.com/rake-compiler/rake-compiler/issues/3)
361
+ This is useful to indicate a custom requirement message, like DLLs
362
+ installation or similar.
363
+
364
+ ```ruby
365
+ Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext|
366
+ ext.cross_compile = true
367
+ # ...
368
+ ext.cross_compiling do |gem_spec|
369
+ gem_spec.post_install_message = "You've installed a binary version of this gem"
370
+ end
371
+ end
372
+ ```
373
+
374
+ * Bugfixes
375
+ * Detect GNU make independently of distribution based naming.
376
+ Thanks to flori for patches.
377
+ * Usage of #dup to duplicate gemspec instead of YAML dumping.
378
+ * No longer support Ruby older than 1.8.6
379
+ * No longer support RubyGems older than 1.3.5
380
+ * Force definition of binary directory and executables. Closes [#11](https://github.com/rake-compiler/rake-compiler/issues/11)
381
+ * Workaround path with spaces issues using relative paths. Closes [#6](https://github.com/rake-compiler/rake-compiler/issues/6)
382
+ * Removed gemspec, GitHub gems no more
383
+
384
+ * Known issues
385
+ * Usage of rake-compiler under projects with Jeweler requires some tweaks
386
+ Please read issue 73) for Jeweler:
387
+ http://github.com/technicalpickles/jeweler/issues/73
388
+
389
+ For a workaround, look here:
390
+ http://gist.github.com/251663
391
+
392
+ ### 0.6.0 / 2009-07-25
393
+
394
+ * Enhancements
395
+ * Implemented 'fat-binaries' generation for cross compiling
396
+ (for now). Thanks to Aaron Patterson for the suggestion and
397
+ original idea.
398
+
399
+ rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1
400
+
401
+ Will package extensions for 1.8 and 1.9 versions of Ruby.
402
+ * Can now cross compile extensions for 1.9 using 1.8.x as base.
403
+ Be warned: works from 1.8 to 1.9, but not if your default ruby is 1.9
404
+
405
+ rake cross compile RUBY_CC_VERSION=1.9.1
406
+
407
+ * Allow simultaneous versions of Ruby to compile extensions.
408
+ This change allow 1.8.x compiles co-exist with 1.9.x ones
409
+ and don't override each other.
410
+
411
+ Please perform <tt>rake clobber</tt> prior compiling again.
412
+ * Allow optional source file URL for cross-compile tasks.
413
+ (Thanks to deepj for the patches)
414
+
415
+ rake-compiler cross-ruby VERSION=1.9.1-p0 SOURCE=http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.bz2
416
+
417
+ * Bugfixes
418
+ * Removed strict versioning for gems since it clash with fat binaries.
419
+ From now on, if your gem only targets a specific version of Ruby, please
420
+ indicate it in the Gem::Specification (<tt>required_ruby_version</tt>)
421
+
422
+ ### 0.5.0 / 2009-04-25
423
+
424
+ * Enhancements
425
+ * Allow generation of multiple gems for Windows (EXPERIMENTAL)
426
+ This allows build gems for both VC6 and MinGW builts of Ruby
427
+ (Thanks to Jonathan Stott for the suggestion)
428
+
429
+ ```ruby
430
+ Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext|
431
+ ext.cross_compile = true
432
+ ext.cross_platform = ['i386-mswin32', 'i386-mingw32']
433
+ end
434
+ ```
435
+
436
+ ### 0.4.1 / 2009-04-09
437
+
438
+ * Enhancements
439
+ * Target specific versions of Ruby when generating binaries.
440
+ This avoids installing a 1.8.x binary gem in 1.9.x and viceversa.
441
+ (Thanks to Aaron Patterson for the patches)
442
+
443
+ * Bugfixes
444
+ * No longer raises error if rake-compiler configuration is missing.
445
+ Not all users of a project would have it installed.
446
+ (Thanks to Aaron Patterson for the patch)
447
+
448
+ ### 0.4.0 / 2009-04-03
449
+
450
+ * Enhancements
451
+ * Bended the convention for extension folder.
452
+ Defining <tt>ext_dir</tt> for custom extension location.
453
+
454
+ ```ruby
455
+ Rake::ExtensionTask.new('my_extension') do |ext|
456
+ ext.ext_dir = 'custom/location' # look into custom/location
457
+ end # instead of ext/my_extension
458
+ ```
459
+
460
+ * Better detection of mingw target across Linux/OSX.
461
+ Exposed it as Rake::ExtensionCompiler
462
+ * Display list of available tasks when calling rake-compiler script
463
+ * Track Ruby full versioning (x.y.z).
464
+ This will help the compilation of extensions targetting 1.8.6/7 and 1.9.1
465
+
466
+ * Bugfixes
467
+ * Better output of Rake development tasks (Thanks to Luis Parravicini).
468
+ * Proper usage of Gem::Platform for native gems (Thanks to Dirkjan Bussink).
469
+ * Don't use autoload for YAML (present problems with Ruby 1.9.1).
470
+
471
+ ### 0.3.1 / 2009-01-09
472
+
473
+ * Enhancements
474
+ * Download cross-ruby source code using HTTP instead of FTP.
475
+ * Disabled Tcl/Tk extension building on cross-ruby (helps with 1.9).
476
+
477
+ * Bugfixes
478
+ * Workaround bug introduced by lack of Gem::Specification cloning. Fixes DM LH #757.
479
+ * Use proper binary extension on OSX (reported by Dirkjan Bussink).
480
+ * Ensure lib/binary task is defined prior clear of requisites.
481
+
482
+ ### 0.3.0 / 2008-12-07
483
+
484
+ * New features
485
+ * Let you specify the Ruby version used for cross compilation instead
486
+ of default one.
487
+
488
+ rake cross compile RUBY_CC_VERSION=1.8
489
+
490
+ * Enhancements
491
+ * Properly update rake-compiler configuration when new version is installed.
492
+ * Automated release process to RubyForge, yay!
493
+
494
+ * Bugfixes
495
+ * Corrected documentation to reflect the available options
496
+
497
+ ### 0.2.1 / 2008-11-30
498
+
499
+ * New features
500
+
501
+ * Allow cross compilation (cross compile) using mingw32 on Linux or OSX.
502
+ * Allow packaging of gems for Windows on Linux or OSX.
503
+
504
+ * Enhancements
505
+
506
+ * Made generation of extensions safe and target folders per-platform
507
+
508
+ * Bugfixes
509
+
510
+ * Ensure binaries for the specific platform are copied before packaging.