rake-compiler 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +6 -0
- data/lib/rake/extensiontask.rb +0 -3
- data/spec/lib/rake/extensiontask_spec.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56dcf0e1f328862dc1b7b48d04288ee04cc36faab9d1a598b1bafa242673314c
|
4
|
+
data.tar.gz: 8283eec481c7d7adb3589de86a205c9747f4a428e3a2a8d9485c930f1ac58d17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08f90e5666ece41d70892f20cbc06ff42d8d2ef3f46ad1669ed1e75d3b6e96f2867c4072481a20656b8aaa90208df2a34cfc14e16a9510bba320829aa683b2c3'
|
7
|
+
data.tar.gz: 69426e3024fcb826bed92b86a9a63ad4b6b1203dd202758decb2e93a73f76cb7d7724492f56be61bb33dfb18b11cdbae796da87e1b02557c9bc32b59412a70f1
|
data/History.md
CHANGED
data/lib/rake/extensiontask.rb
CHANGED
@@ -377,9 +377,6 @@ Java extension should be preferred.
|
|
377
377
|
@lib_dir = "#{@lib_dir}/#{$1}"
|
378
378
|
end
|
379
379
|
|
380
|
-
# Update cross compiled platform/version combinations
|
381
|
-
@ruby_versions_per_platform[for_platform] << version
|
382
|
-
|
383
380
|
define_cross_platform_tasks_with_version(for_platform, version)
|
384
381
|
|
385
382
|
# restore lib_dir
|
@@ -456,14 +456,17 @@ describe Rake::ExtensionTask do
|
|
456
456
|
|
457
457
|
it "should set required_ruby_version from RUBY_CC_VERSION, set platform, clear extensions but keep metadata" do
|
458
458
|
platforms = ["x86-mingw32", "x64-mingw32"]
|
459
|
-
ruby_cc_versions = ["1.8.6", "2.1.10", "2.2.6", "2.3.3", "2.10.1"]
|
459
|
+
ruby_cc_versions = ["1.8.6", "2.1.10", "2.2.6", "2.3.3", "2.10.1", "2.11.0"]
|
460
460
|
ENV["RUBY_CC_VERSION"] = ruby_cc_versions.join(":")
|
461
461
|
config = Hash.new
|
462
462
|
ruby_cc_versions.each do |ruby_cc_version|
|
463
463
|
platforms.each do |platform|
|
464
|
+
unless platform == "x64-mingw32" && ruby_cc_version == "2.11.0"
|
465
|
+
rbconf = "/rubies/#{ruby_cc_version}/rbconfig.rb"
|
466
|
+
end
|
464
467
|
allow(config).to receive(:[]).
|
465
468
|
with("rbconfig-#{platform}-#{ruby_cc_version}").
|
466
|
-
and_return(
|
469
|
+
and_return(rbconf)
|
467
470
|
end
|
468
471
|
end
|
469
472
|
allow(YAML).to receive(:load_file).and_return(config)
|
@@ -490,7 +493,7 @@ describe Rake::ExtensionTask do
|
|
490
493
|
end
|
491
494
|
|
492
495
|
expected_required_ruby_versions = [
|
493
|
-
Gem::Requirement.new([">= 1.8", "< 2.
|
496
|
+
Gem::Requirement.new([">= 1.8", "< 2.12.dev"]),
|
494
497
|
Gem::Requirement.new([">= 1.8", "< 2.11.dev"]),
|
495
498
|
]
|
496
499
|
cross_specs.collect(&:required_ruby_version).should == expected_required_ruby_versions
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-01-
|
12
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|