rake-compiler-dock 1.10.0 → 1.11.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/ci.yml +23 -20
- data/.github/workflows/publish-images.yml +759 -42
- data/.github/workflows/publish-images.yml.erb +121 -0
- data/.github/workflows/release-images.yml +823 -50
- data/CHANGELOG.md +32 -1
- data/Dockerfile.jruby +3 -3
- data/Dockerfile.mri.erb +74 -64
- data/Rakefile +91 -32
- data/build/gem_helper.rb +1 -1
- data/build/parallel_docker_build.rb +55 -18
- data/build/patches/{rake-compiler-1.2.9 → rake-compiler-1.3.1}/0004-Enable-build-of-static-libruby.patch +1 -1
- data/build/patches/{rake-compiler-1.2.9 → rake-compiler-1.3.1}/0005-build-miniruby-first.patch +2 -3
- data/build/patches/rake-compiler-1.3.1/0006-ruby-4-rubyspec-capiext.patch +16 -0
- data/lib/rake_compiler_dock/version.rb +2 -2
- data/lib/rake_compiler_dock.rb +8 -8
- data/test/rcd_test/Gemfile +2 -2
- data/test/rcd_test/Rakefile +2 -2
- data/test/test_parallel_docker_build.rb +2 -2
- data/test/test_versions.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +6 -4
- metadata.gz.sig +0 -0
|
@@ -39,12 +39,12 @@ class TestParallelDockerBuild < Test::Unit::TestCase
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
private def hd(str)
|
|
42
|
-
"y" + Digest::SHA1.hexdigest(str)
|
|
42
|
+
"y" + Digest::SHA1.hexdigest(str)[0, 7]
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
def test_tasks
|
|
46
46
|
Dir.chdir(@tmpdir) do
|
|
47
|
-
RakeCompilerDock::ParallelDockerBuild.new(%w[ File0 File1 File2 File3 ], task_prefix: "y")
|
|
47
|
+
RakeCompilerDock::ParallelDockerBuild.new(%w[ File0 File1 File2 File3 ], task_prefix: "y").define_rake_tasks
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
assert_operator Rake::Task["File0"].prerequisites, :include?, hd("File0File1")
|
data/test/test_versions.rb
CHANGED
|
@@ -55,7 +55,7 @@ class TestVersions < Test::Unit::TestCase
|
|
|
55
55
|
assert_equal(expected, RakeCompilerDock.ruby_cc_version("~> 3.2.0", "~> 3.4.0"))
|
|
56
56
|
assert_equal(expected, RakeCompilerDock.ruby_cc_version(Gem::Requirement.new("~> 3.2.0"), Gem::Requirement.new("~> 3.4.0")))
|
|
57
57
|
|
|
58
|
-
expected = [cross["3.4"], cross["3.3"], cross["3.2"]].join(":")
|
|
58
|
+
expected = [cross["4.0"], cross["3.4"], cross["3.3"], cross["3.2"]].join(":")
|
|
59
59
|
assert_equal(expected, RakeCompilerDock.ruby_cc_version(">= 3.2"))
|
|
60
60
|
assert_equal(expected, RakeCompilerDock.ruby_cc_version(Gem::Requirement.new(">= 3.2")))
|
|
61
61
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rake-compiler-dock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lars Kanis
|
|
@@ -95,6 +95,7 @@ files:
|
|
|
95
95
|
- ".dockerignore"
|
|
96
96
|
- ".github/workflows/ci.yml"
|
|
97
97
|
- ".github/workflows/publish-images.yml"
|
|
98
|
+
- ".github/workflows/publish-images.yml.erb"
|
|
98
99
|
- ".github/workflows/release-images.yml"
|
|
99
100
|
- ".gitignore"
|
|
100
101
|
- CHANGELOG.md
|
|
@@ -113,8 +114,9 @@ files:
|
|
|
113
114
|
- build/mk_osxcross.sh
|
|
114
115
|
- build/mk_pkg_config.sh
|
|
115
116
|
- build/parallel_docker_build.rb
|
|
116
|
-
- build/patches/rake-compiler-1.
|
|
117
|
-
- build/patches/rake-compiler-1.
|
|
117
|
+
- build/patches/rake-compiler-1.3.1/0004-Enable-build-of-static-libruby.patch
|
|
118
|
+
- build/patches/rake-compiler-1.3.1/0005-build-miniruby-first.patch
|
|
119
|
+
- build/patches/rake-compiler-1.3.1/0006-ruby-4-rubyspec-capiext.patch
|
|
118
120
|
- build/rcd-env.sh
|
|
119
121
|
- build/runas
|
|
120
122
|
- build/sigfw.c
|
|
@@ -169,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
169
171
|
- !ruby/object:Gem::Version
|
|
170
172
|
version: '0'
|
|
171
173
|
requirements: []
|
|
172
|
-
rubygems_version:
|
|
174
|
+
rubygems_version: 4.0.3
|
|
173
175
|
specification_version: 4
|
|
174
176
|
summary: Easy to use and reliable cross compiler environment for building Windows
|
|
175
177
|
and Linux binary gems.
|
metadata.gz.sig
CHANGED
|
Binary file
|