ruby-changes:54360
From: mrkn <ko1@a...>
Date: Wed, 26 Dec 2018 17:17:35 +0900 (JST)
Subject: [ruby-changes:54360] mrkn:r66574 (trunk): Import bigdecimal 1.4.2
mrkn 2018-12-26 17:17:30 +0900 (Wed, 26 Dec 2018) New Revision: 66574 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66574 Log: Import bigdecimal 1.4.2 * https://github.com/ruby/bigdecimal/compare/v1.4.1..v1.4.2 Modified files: trunk/ext/bigdecimal/bigdecimal.gemspec trunk/ext/bigdecimal/util/extconf.rb Index: ext/bigdecimal/util/extconf.rb =================================================================== --- ext/bigdecimal/util/extconf.rb (revision 66573) +++ ext/bigdecimal/util/extconf.rb (revision 66574) @@ -4,11 +4,11 @@ require 'mkmf' https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/util/extconf.rb#L4 checking_for(checking_message("Windows")) do case RUBY_PLATFORM when /cygwin|mingw/ - if defined?($extlist) - build_dir = "$(TARGET_SO_DIR)../" - else + if ARGV.include?('-rdevkit') # check `rake -rdevkit compile` case base_dir = File.expand_path('../../../..', __FILE__) build_dir = File.join(base_dir, "tmp", RUBY_PLATFORM, "bigdecimal", RUBY_VERSION, "") + else + build_dir = "$(TARGET_SO_DIR)../" end $libs << " #{build_dir}bigdecimal.so" true Index: ext/bigdecimal/bigdecimal.gemspec =================================================================== --- ext/bigdecimal/bigdecimal.gemspec (revision 66573) +++ ext/bigdecimal/bigdecimal.gemspec (revision 66574) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.gemspec#L1 # coding: utf-8 -bigdecimal_version = '1.4.1' +bigdecimal_version = '1.4.2' Gem::Specification.new do |s| s.name = "bigdecimal" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/