Hello community,
here is the log from the commit of package rubygem-rake-compiler for
openSUSE:Factory checked in at 2015-02-10 20:22:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rake-compiler (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rake-compiler"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-rake-compiler/rubygem-rake-compiler.changes
2014-10-14 07:12:14.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new/rubygem-rake-compiler.changes
2015-02-10 20:22:09.000000000 +0100
@@ -1,0 +2,26 @@
+Fri Feb 6 18:18:14 UTC 2015 - [email protected]
+
+- updated to version 0.9.5
+ * Enhancements
+ * Support adding bundled files in cross_compiling block.
+ Closes #100 [Patch by Aaron Stone]
+
+ === 0.9.4 / 2014-12-28
+
+ * Notes:
+ * Change maintainer to Kouhei Sutou from Luis Lavena.
+ Thanks Luis Lavena for your great works!
+ * Change repository to https://github.com/rake-compiler/rake-compiler
+ from https://github.com/luislavena/rake-compiler .
+
+ * Bugfixes:
+ * Loose RubyGems dependency a little bit to ease old Debian/Ubuntu.
+ Closes #93
+
+ === 0.9.3 / 2014-08-03
+
+ * Bugfixes:
+ * Fix specs to run (and pass) on Ruby 2.1 and beyond.
+ Pull #94 [hggh]
+
+-------------------------------------------------------------------
Old:
----
rake-compiler-0.9.2.gem
New:
----
gem2rpm.yml
rake-compiler-0.9.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rake-compiler.spec ++++++
--- /var/tmp/diff_new_pack.02KeWv/_old 2015-02-10 20:22:10.000000000 +0100
+++ /var/tmp/diff_new_pack.02KeWv/_new 2015-02-10 20:22:10.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rake-compiler
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,27 @@
#
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
Name: rubygem-rake-compiler
-Version: 0.9.2
+Version: 0.9.5
Release: 0
%define mod_name rake-compiler
%define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 902
-
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{ruby >= 1.8.7}
+BuildRequires: %{rubygem gem2rpm}
+BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
-BuildRequires: rubygem(rdoc) > 3.10
-Url: http://github.com/luislavena/rake-compiler
+Url: https://github.com/rake-compiler/rake-compiler
Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: Rake-based Ruby Extension (C, Java) task generator
License: MIT
Group: Development/Languages/Ruby
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#
++++++ rake-compiler-0.9.2.gem -> rake-compiler-0.9.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/History.txt 2015-01-03 06:43:52.000000000 +0100
@@ -1,3 +1,27 @@
+=== 0.9.5 / 2015-01-03
+
+* Enhancements
+ * Support adding bundled files in cross_compiling block.
+ Closes #100 [Patch by Aaron Stone]
+
+=== 0.9.4 / 2014-12-28
+
+* Notes:
+ * Change maintainer to Kouhei Sutou from Luis Lavena.
+ Thanks Luis Lavena for your great works!
+ * Change repository to https://github.com/rake-compiler/rake-compiler
+ from https://github.com/luislavena/rake-compiler .
+
+* Bugfixes:
+ * Loose RubyGems dependency a little bit to ease old Debian/Ubuntu.
+ Closes #93
+
+=== 0.9.3 / 2014-08-03
+
+* Bugfixes:
+ * Fix specs to run (and pass) on Ruby 2.1 and beyond.
+ Pull #94 [hggh]
+
=== 0.9.2 / 2013-11-14
* Bugfixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 1970-01-01 01:00:00.000000000 +0100
+++ new/README.rdoc 2015-01-03 06:43:52.000000000 +0100
@@ -71,7 +71,8 @@
# File: extconf.rb
- # this line should already exist
+ # these lines must exist already
+ require 'mkmf'
create_makefile('hello_world')
@@ -389,7 +390,7 @@
Check our wiki with links to the proper rake files used by many developers and
projects and how they use rake-compiler.
-http://github.com/luislavena/rake-compiler/wiki/projects-using-rake-compiler
+http://github.com/rake-compiler/rake-compiler/wiki/projects-using-rake-compiler
== Future
@@ -398,11 +399,10 @@
You can find more information about rake-compiler:
-* GitHub: https://github.com/luislavena/rake-compiler
-* Issues: https://github.com/luislavena/rake-compiler/issues
-* Blog: http://blog.mmediasys.com
+* GitHub: https://github.com/rake-compiler/rake-compiler
+* Issues: https://github.com/rake-compiler/rake-compiler/issues
* Docs: http://rubydoc.info/gems/rake-compiler
-* Wiki: https://github.com/luislavena/rake-compiler/wiki
+* Wiki: https://github.com/rake-compiler/rake-compiler/wiki
== Disclaimer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/appveyor.yml new/appveyor.yml
--- old/appveyor.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/appveyor.yml 2015-01-03 06:43:52.000000000 +0100
@@ -0,0 +1,22 @@
+---
+version: "{build}"
+branches:
+ only:
+ - master
+clone_depth: 10
+install:
+ - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
+ - ruby --version
+ - gem --version
+ - gem install bundler --quiet --no-ri --no-rdoc
+ - bundler --version
+ - bundle install
+build: off
+test_script:
+ - bundle exec rake spec
+
+environment:
+ matrix:
+ - ruby_version: "193"
+ - ruby_version: "200"
+ - ruby_version: "200-x64"
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rake/extensiontask.rb
new/lib/rake/extensiontask.rb
--- old/lib/rake/extensiontask.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rake/extensiontask.rb 2015-01-03 06:43:52.000000000 +0100
@@ -87,6 +87,26 @@
end
private
+ # copy other gem files to staging directory
+ def define_staging_file_tasks(files, lib_path, stage_path, platf, ruby_ver)
+ files.each do |gem_file|
+ # ignore directories and the binary extension
+ next if File.directory?(gem_file) || gem_file ==
"#{lib_path}/#{binary(platf)}"
+ stage_file = "#{stage_path}/#{gem_file}"
+
+ # copy each file from base to stage directory
+ unless Rake::Task.task_defined?(stage_file) then
+ directory File.dirname(stage_file)
+ file stage_file => [File.dirname(stage_file), gem_file] do
+ cp gem_file, stage_file
+ end
+ end
+
+ # append each file to the copy task
+ task "copy:#{@name}:#{platf}:#{ruby_ver}" => [stage_file]
+ end
+ end
+
def define_compile_tasks(for_platform = nil, ruby_ver = RUBY_VERSION)
# platform usage
platf = for_platform || platform
@@ -120,24 +140,7 @@
end
# copy other gem files to staging directory
- if @gem_spec
- @gem_spec.files.each do |gem_file|
- # ignore directories and the binary extension
- next if File.directory?(gem_file) || gem_file ==
"#{lib_path}/#{binary(platf)}"
- stage_file = "#{stage_path}/#{gem_file}"
-
- # copy each file from base to stage directory
- unless Rake::Task.task_defined?(stage_file) then
- directory File.dirname(stage_file)
- file stage_file => [File.dirname(stage_file), gem_file] do
- cp gem_file, stage_file
- end
- end
-
- # append each file to the copy task
- task "copy:#{@name}:#{platf}:#{ruby_ver}" => [stage_file]
- end
- end
+ define_staging_file_tasks(@gem_spec.files, lib_path, stage_path, platf,
ruby_ver) if @gem_spec
# binary in temporary folder depends on makefile and source files
# tmp/extension_name/extension_name.{so,bundle}
@@ -253,9 +256,7 @@
spec.files += ext_files
# expose gem specification for customization
- if callback
- callback.call(spec)
- end
+ callback.call(spec) if callback
# Generate a package for this gem
pkg = Gem::PackageTask.new(spec) do |pkg|
@@ -266,6 +267,9 @@
pkg.package_files.clear
end
+ # copy other gem files to staging directory if added by the callback
+ define_staging_file_tasks(spec.files, lib_path, stage_path, platf,
ruby_ver)
+
# Copy from staging directory to gem package directory.
# This is derived from the code of Gem::PackageTask
# but uses stage_path as source directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 1970-01-01 01:00:00.000000000 +0100
+++ new/metadata 2015-01-03 06:43:52.000000000 +0100
@@ -1,81 +1,80 @@
---- !ruby/object:Gem::Specification
+--- !ruby/object:Gem::Specification
name: rake-compiler
-version: !ruby/object:Gem::Version
- hash: 63
- prerelease:
- segments:
- - 0
- - 9
- - 2
- version: 0.9.2
+version: !ruby/object:Gem::Version
+ version: 0.9.5
platform: ruby
-authors:
+authors:
+- Kouhei Sutou
- Luis Lavena
autorequire:
bindir: bin
cert_chain: []
-
-date: 2013-11-14 00:00:00 Z
-dependencies:
-- !ruby/object:Gem::Dependency
- version_requirements: &id001 !ruby/object:Gem::Requirement
- none: false
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- hash: 3
- segments:
- - 0
- version: "0"
- prerelease: false
+date: 2015-01-03 00:00:00.000000000 Z
+dependencies:
+- !ruby/object:Gem::Dependency
name: rake
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: '0'
type: :runtime
- requirement: *id001
-- !ruby/object:Gem::Dependency
- version_requirements: &id002 !ruby/object:Gem::Requirement
- none: false
- requirements:
- - - ~>
- - !ruby/object:Gem::Version
- hash: 47
- segments:
- - 2
- - 8
- - 0
- version: 2.8.0
prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: '0'
+- !ruby/object:Gem::Dependency
name: rspec
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: 2.8.0
type: :development
- requirement: *id002
-- !ruby/object:Gem::Dependency
- version_requirements: &id003 !ruby/object:Gem::Requirement
- none: false
- requirements:
- - - ~>
- - !ruby/object:Gem::Version
- hash: 27
- segments:
- - 1
- - 1
- - 4
- version: 1.1.4
prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: 2.8.0
+- !ruby/object:Gem::Dependency
name: cucumber
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: 1.1.4
type: :development
- requirement: *id003
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+ - - "~>"
+ - !ruby/object:Gem::Version
+ version: 1.1.4
description: |-
Provide a standard and simplified way to build and package
Ruby extensions (C, Java) using Rake as glue.
-email: [email protected]
-executables:
+email:
+- [email protected]
+- [email protected]
+executables:
- rake-compiler
extensions: []
-
-extra_rdoc_files:
+extra_rdoc_files:
- README.rdoc
- LICENSE.txt
- History.txt
-files:
+files:
+- Gemfile
+- History.txt
+- LICENSE.txt
+- README.rdoc
+- Rakefile
+- appveyor.yml
+- bin/rake-compiler
+- cucumber.yml
- features/compile.feature
- features/cross-compile.feature
- features/cross-package-multi.feature
@@ -94,14 +93,13 @@
- features/support/file_template_helpers.rb
- features/support/generator_helpers.rb
- features/support/platform_extension_helpers.rb
-- bin/rake-compiler
- lib/rake/baseextensiontask.rb
- lib/rake/extensioncompiler.rb
- lib/rake/extensiontask.rb
- lib/rake/javaextensiontask.rb
-- spec/spec.opts
- spec/lib/rake/extensiontask_spec.rb
- spec/lib/rake/javaextensiontask_spec.rb
+- spec/spec.opts
- spec/spec_helper.rb
- spec/support/capture_output_helper.rb
- tasks/bin/cross-ruby.rake
@@ -112,51 +110,32 @@
- tasks/news.rake
- tasks/release.rake
- tasks/rspec.rake
-- Rakefile
-- Gemfile
-- History.txt
-- LICENSE.txt
-- README.rdoc
-- cucumber.yml
-homepage: http://github.com/luislavena/rake-compiler
-licenses:
+homepage: https://github.com/rake-compiler/rake-compiler
+licenses:
- MIT
+metadata: {}
post_install_message:
-rdoc_options:
-- --main
+rdoc_options:
+- "--main"
- README.rdoc
-- --title
+- "--title"
- rake-compiler -- Documentation
-require_paths:
+require_paths:
- lib
-required_ruby_version: !ruby/object:Gem::Requirement
- none: false
- requirements:
+required_ruby_version: !ruby/object:Gem::Requirement
+ requirements:
- - ">="
- - !ruby/object:Gem::Version
- hash: 57
- segments:
- - 1
- - 8
- - 7
+ - !ruby/object:Gem::Version
version: 1.8.7
-required_rubygems_version: !ruby/object:Gem::Requirement
- none: false
- requirements:
+required_rubygems_version: !ruby/object:Gem::Requirement
+ requirements:
- - ">="
- - !ruby/object:Gem::Version
- hash: 5
- segments:
- - 1
- - 8
- - 25
- version: 1.8.25
+ - !ruby/object:Gem::Version
+ version: 1.8.23
requirements: []
-
rubyforge_project: rake-compiler
-rubygems_version: 1.8.25
+rubygems_version: 2.2.2
signing_key:
-specification_version: 3
+specification_version: 4
summary: Rake-based Ruby Extension (C, Java) task generator.
test_files: []
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/lib/rake/extensiontask_spec.rb
new/spec/lib/rake/extensiontask_spec.rb
--- old/spec/lib/rake/extensiontask_spec.rb 1970-01-01 01:00:00.000000000
+0100
+++ new/spec/lib/rake/extensiontask_spec.rb 2015-01-03 06:43:52.000000000
+0100
@@ -338,9 +338,39 @@
}.should_not raise_error
end
+ it 'should generate additional rake tasks if files are added when cross
compiling' do
+ config = mock(Hash)
+ config.stub!(:[]).and_return('/rubies/1.9.1/rbconfig.rb')
+ YAML.stub!(:load_file).and_return(config)
+
+ # Use a real spec instead of a mock because define_native_tasks dups
and
+ # calls methods on Gem::Specification, which is more than mock can do.
+ spec = Gem::Specification.new do |s|
+ s.name = 'my_gem'
+ s.platform = Gem::Platform::RUBY
+ end
+
+ # Gem::PackageTask calls Rake::PackageTask which sets
Gem.configuration.verbose,
+ # which initializes Gem::ConfigFile,
+ # which gets mad if it cannot find `sysconfdir`/gemrc
+ Gem.stub_chain(:configuration, :verbose=).and_return(true)
+
+ ENV['RUBY_CC_VERSION'] = '1.9.1'
+ Rake::ExtensionTask.new('extension_one', spec) do |ext|
+ ext.cross_compile = true
+ ext.cross_platform = 'universal-unknown'
+ ext.cross_compiling do |gem_spec|
+ gem_spec.files << 'somedir/somefile'
+ end
+ end
+ Rake::Task['native:my_gem:universal-unknown'].execute
+ Rake::Task.should have_defined("tmp/universal-unknown/stage/somedir")
+ Rake::Task.should
have_defined("tmp/universal-unknown/stage/somedir/somefile")
+ end
+
it 'should allow usage of RUBY_CC_VERSION to indicate a different
version of ruby' do
config = mock(Hash)
-
config.should_receive(:[]).with("rbconfig-i386-mingw32-1.9.1").and_return('/path/to/ruby/1.9.1/rbconfig.rb')
+
config.should_receive(:[]).with("rbconfig-i386-mingw32-1.9.1").and_return('/rubies/1.9.1/rbconfig.rb')
YAML.stub!(:load_file).and_return(config)
ENV['RUBY_CC_VERSION'] = '1.9.1'
@@ -351,8 +381,8 @@
it 'should allow multiple versions be supplied to RUBY_CC_VERSION' do
config = mock(Hash)
-
config.should_receive(:[]).once.with("rbconfig-i386-mingw32-1.8.6").and_return('/path/to/ruby/1.8.6/rbconfig.rb')
-
config.should_receive(:[]).once.with("rbconfig-i386-mingw32-1.9.1").and_return('/path/to/ruby/1.9.1/rbconfig.rb')
+
config.should_receive(:[]).once.with("rbconfig-i386-mingw32-1.8.6").and_return('/rubies/1.8.6/rbconfig.rb')
+
config.should_receive(:[]).once.with("rbconfig-i386-mingw32-1.9.1").and_return('/rubies/1.9.1/rbconfig.rb')
YAML.stub!(:load_file).and_return(config)
ENV['RUBY_CC_VERSION'] = '1.8.6:1.9.1'
@@ -368,7 +398,7 @@
context "(cross compile for multiple versions)" do
before :each do
config = mock(Hash)
- config.stub!(:[]).and_return('/path/to/ruby/1.8.6/rbconfig.rb',
'/path/to/ruby/1.9.1/rbconfig.rb')
+ config.stub!(:[]).and_return('/rubies/1.8.6/rbconfig.rb',
'/rubies/1.9.1/rbconfig.rb')
YAML.stub!(:load_file).and_return(config)
ENV['RUBY_CC_VERSION'] = '1.8.6:1.9.1'
@@ -475,24 +505,34 @@
end
def mock_config_yml
- {
- 'rbconfig-i386-mingw32-1.8.6' => '/some/path/version/1.8/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.8.6' =>
'/some/path/version/1.8/to/rbconfig.rb',
- 'rbconfig-i386-mingw32-1.8.7' => '/some/path/version/1.8/to/rbconfig.rb',
- 'rbconfig-universal-known-1.8.7' =>
'/some/path/version/1.8/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.8.7' =>
'/some/path/version/1.8/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.9.1' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.9.2' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.9.3' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-i386-mingw32-1.9.3' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-universal-known-1.9.3' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-universal-known-2.0.0' =>
'/some/path/version/2.0.0/to/rbconfig.rb',
- 'rbconfig-universal-unknown-1.9.3' =>
'/some/path/version/1.9.1/to/rbconfig.rb',
- 'rbconfig-universal-unknown-2.0.0' =>
'/some/path/version/2.0.0/to/rbconfig.rb',
- 'rbconfig-i386-mingw32-2.0.0' =>
'/some/path/version/2.0.0/to/rbconfig.rb',
- 'rbconfig-x64-mingw32-2.0.0' =>
'/some/path/version/2.0.0/to/rbconfig.rb',
- 'rbconfig-x64-mingw32-3.0.0' => '/some/fake/version/3.0.0/to/rbconfig.rb'
+ return @mock_config_yml if @mock_config_yml
+
+ versions = {
+ "1.8.6" => "1.8",
+ "1.8.7" => "1.8",
+ "1.9.3" => "1.9.1",
+ "2.0.0" => "2.0.0",
+ "2.1.2" => "2.1.0",
+ RUBY_VERSION => RbConfig::CONFIG["ruby_version"]
}
+
+ platforms = [
+ "i386-mingw32",
+ "universal-known",
+ "universal-unknown",
+ "x64-mingw32",
+ RUBY_PLATFORM
+ ]
+
+ @mock_config_yml = {}
+
+ platforms.collect do |platform|
+ versions.each do |version, api_version|
+ @mock_config_yml["rbconfig-#{platform}-#{version}"] =
"/rubies/#{api_version}/rbconfig.rb"
+ end
+ end
+
+ @mock_config_yml
end
def mock_fake_rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/bin/cross-ruby.rake
new/tasks/bin/cross-ruby.rake
--- old/tasks/bin/cross-ruby.rake 1970-01-01 01:00:00.000000000 +0100
+++ new/tasks/bin/cross-ruby.rake 2015-01-03 06:43:52.000000000 +0100
@@ -13,7 +13,7 @@
# http://eigenclass.org/hiki/cross+compiling+rcovrt
#
# This recipe only cleanup the dependency chain and automate it.
-# Also opens the door to usage different ruby versions
+# Also opens the door to usage different ruby versions
# for cross-compilation.
#
@@ -79,7 +79,7 @@
if RUBY_SOURCE
url = RUBY_SOURCE
else
- url =
"http://ftp.ruby-lang.org/pub/ruby/#{MAJOR}/#{File.basename(t.name)}"
+ url =
"http://cache.ruby-lang.org/pub/ruby/#{MAJOR}/#{File.basename(t.name)}"
end
sh "wget #{url} || curl -O #{url}"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/gem.rake new/tasks/gem.rake
--- old/tasks/gem.rake 1970-01-01 01:00:00.000000000 +0100
+++ new/tasks/gem.rake 2015-01-03 06:43:52.000000000 +0100
@@ -3,7 +3,7 @@
GEM_SPEC = Gem::Specification.new do |s|
# basic information
s.name = "rake-compiler"
- s.version = "0.9.2"
+ s.version = "0.9.5"
s.platform = Gem::Platform::RUBY
# description and details
@@ -12,7 +12,7 @@
# requirements
s.required_ruby_version = ">= 1.8.7"
- s.required_rubygems_version = ">= 1.8.25"
+ s.required_rubygems_version = ">= 1.8.23"
# dependencies
s.add_dependency 'rake'
@@ -38,13 +38,13 @@
s.extra_rdoc_files = %w(README.rdoc LICENSE.txt History.txt)
# project information
- s.homepage = 'http://github.com/luislavena/rake-compiler'
+ s.homepage = 'https://github.com/rake-compiler/rake-compiler'
s.rubyforge_project = 'rake-compiler'
s.licenses = ['MIT']
# author and contributors
- s.author = 'Luis Lavena'
- s.email = '[email protected]'
+ s.authors = ['Kouhei Sutou', 'Luis Lavena']
+ s.email = ['[email protected]', '[email protected]']
end
gem_package = Gem::PackageTask.new(GEM_SPEC) do |pkg|
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]