rake-compiler-dock 1.11.0.rc1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b9a2f0d923f15cbc4fe407bf349950e9d17cc3d34ced2d1998f5f326e73355
4
- data.tar.gz: 46b66db870a95c7f540c0bb05967a00da1e37c55c69ea78ffa21f4ad7b988949
3
+ metadata.gz: b460cc3cd1ba5ef3c6410749a04b6da2de3fb4299e24d8b66114458c254f8fb5
4
+ data.tar.gz: 2d756b273405f0f363b695af76c94f4a4603d04a2c44ef407a4fa987b3d7051a
5
5
  SHA512:
6
- metadata.gz: a44d3babc2a45bc8543321998c5304fb9edf2b32626764b878b29f307ad366d44f41a4ad1ce6076e6b9bd279b67a79c70079d6b663eeda6d9cfaae484e5d04ac
7
- data.tar.gz: 106e89b7340ec2ca007f8219af91ed24433efabf2f5ad821fc1e442cc6d068e15313497b08dacc10b288014fffef4ff8b557ee939df59ed8b17563cad87a371c
6
+ metadata.gz: 425ffc11aeb0d6f3394008739a2dc8dfc5f78681b3351716fa1305d1e6b6fd20b6bd1fa6bb90191ed54d6e70bab1f75695a6633a22d7a45766f63ec95869e91a
7
+ data.tar.gz: 12e5b8ad94379ea7274d36f3b58d93bf3e5afc392e22c5e73b2281ec61b8b3d3852e0893ac6ca9233b9bc6a9b7d7a5452303efae64108b26c87035ea370ec736
checksums.yaml.gz.sig CHANGED
Binary file
@@ -167,7 +167,7 @@ jobs:
167
167
  fail-fast: false
168
168
  matrix:
169
169
  os: [ubuntu-latest]
170
- ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
170
+ ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
171
171
  runs-on: ${{ matrix.os }}
172
172
  steps:
173
173
  - uses: actions/checkout@v4
@@ -192,11 +192,10 @@ jobs:
192
192
  fail-fast: false
193
193
  matrix:
194
194
  platform: [x86_64-linux, x86_64-linux-gnu]
195
- ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
195
+ ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
196
196
  include:
197
197
  # declare rubygems for each ruby version
198
198
  - { ruby: "3.0", rubygems: "3.5.23" }
199
- - { ruby: "2.7", rubygems: "3.4.22" }
200
199
  runs-on: ubuntu-latest
201
200
  steps:
202
201
  - uses: actions/checkout@v4
@@ -235,11 +234,10 @@ jobs:
235
234
  - x86_64-linux
236
235
  - x86_64-linux-gnu
237
236
  - x86_64-linux-musl
238
- ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
237
+ ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
239
238
  include:
240
239
  # declare rubygems for each ruby version
241
240
  - { ruby: "3.0", rubygems: "3.5.23" }
242
- - { ruby: "2.7", rubygems: "3.4.22" }
243
241
  # declare docker image for each platform
244
242
  - { platform: aarch64-linux-musl, runon: "ubuntu-24.04-arm", docker_tag: "-alpine" }
245
243
  - { platform: arm-linux-musl, runon: "ubuntu-24.04-arm", docker_tag: "-alpine" }
@@ -283,7 +281,7 @@ jobs:
283
281
  fail-fast: false
284
282
  matrix:
285
283
  os: [macos-15-intel, macos-15]
286
- ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
284
+ ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
287
285
  include:
288
286
  - os: macos-15-intel
289
287
  platform: x86_64-darwin
@@ -292,9 +290,6 @@ jobs:
292
290
  - os: ubuntu-latest
293
291
  ruby: jruby
294
292
  platform: jruby
295
- - os: windows-latest
296
- ruby: "2.7"
297
- platform: x64-mingw32
298
293
  - os: windows-latest
299
294
  ruby: "3.0"
300
295
  platform: x64-mingw32
@@ -311,7 +306,7 @@ jobs:
311
306
  ruby: "3.4"
312
307
  platform: x64-mingw-ucrt
313
308
  - os: windows-latest
314
- ruby: "head" # setup-ruby does not have 4.0 previews yet on windows
309
+ ruby: "4.0"
315
310
  platform: x64-mingw-ucrt
316
311
  runs-on: ${{ matrix.os }}
317
312
  steps:
@@ -341,9 +336,6 @@ jobs:
341
336
  fail-fast: false
342
337
  matrix:
343
338
  include:
344
- - os: windows-latest
345
- ruby: "2.7"
346
- platform: x64-mingw32
347
339
  - os: windows-latest
348
340
  ruby: "3.0"
349
341
  platform: x64-mingw32
@@ -360,7 +352,7 @@ jobs:
360
352
  ruby: "3.4"
361
353
  platform: x64-mingw-ucrt
362
354
  - os: windows-latest
363
- ruby: "head" # setup-ruby does not have 4.0 previews yet on windows
355
+ ruby: "4.0"
364
356
  platform: x64-mingw-ucrt
365
357
  runs-on: ${{ matrix.os }}
366
358
  steps:
@@ -391,9 +383,14 @@ jobs:
391
383
  matrix:
392
384
  include:
393
385
  - runon: ubuntu-24.04-arm
394
- from_image: navikey/raspbian-bullseye
386
+ from_image: ghcr.io/dtcooper/raspberrypi-os:latest
387
+ image_platform: linux/arm64
388
+ platform: aarch64-linux
389
+ dockerfile: debian
390
+ - runon: ubuntu-24.04-arm
391
+ from_image: ghcr.io/dtcooper/raspberrypi-os:latest
395
392
  image_platform: linux/arm/v7
396
- platform: arm-linux # bullseye ships ruby 2.7, rubygems won't recognize -gnu suffix
393
+ platform: arm-linux
397
394
  dockerfile: debian
398
395
  - runon: ubuntu-24.04-arm
399
396
  from_image: arm64v8/ubuntu
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # `rake-compiler/rake-compiler-dock` Changelog
2
2
 
3
- ## 1.11.0.rc1 / 2025-12-18
3
+ ## 1.11.0 / 2025-12-25
4
+
5
+ - Bump Ruby 4 cross-compilation support to 4.0.0.
6
+ - Drop support for Ruby 2.7. #180
7
+ - Remove native Ruby 3.4.8 from the host environment. #178
8
+
9
+ ### CRuby container summary
10
+
11
+ - native rubies: 4.0.0-preview3 (default), 3.1.7
12
+ - `RUBY_CC_VERSION=4.0.0:3.4.8:3.3.10:3.2.9:3.1.7:3.0.7`
13
+
14
+
15
+ ## 1.11.0.rc1 / 2025-12-19
4
16
 
5
17
  ### Changes
6
18
 
data/Dockerfile.mri.erb CHANGED
@@ -39,7 +39,7 @@ ENV BASH_ENV=/etc/rubybashrc
39
39
  ##
40
40
  USER rubyuser
41
41
 
42
- ENV RBENV_RUBIES="3.1.7 3.4.8 4.0.0-preview2"
42
+ ENV RBENV_RUBIES="3.1.7 4.0.0"
43
43
 
44
44
  # Install the bootstrap rubies
45
45
  RUN bash -c " \
@@ -151,23 +151,28 @@ USER rubyuser
151
151
  xrubies_build_plan = if platform =~ /x64-mingw-ucrt/
152
152
  [
153
153
  # Rubyinstaller-3.1+ is platform x64-mingw-ucrt
154
- ["3.4.8:3.3.10:3.2.9:3.1.7", "3.4.8"],
155
- ["4.0.0-preview2", "4.0.0-preview2"],
154
+ ["3.3.10:3.2.9:3.1.7", "3.1.7"],
155
+ ["4.0.0:3.4.8", "4.0.0"],
156
156
  ]
157
157
  elsif platform =~ /aarch64-mingw-ucrt/
158
158
  [
159
- ["3.4.8", "3.1.7"],
159
+ ["4.0.0:3.4.8", "4.0.0"],
160
160
  ]
161
161
  elsif platform =~ /x64-mingw32/
162
162
  [
163
163
  # Rubyinstaller prior to 3.1 is platform x64-mingw32
164
- ["3.0.7:2.7.8", "3.1.7"],
164
+ ["3.0.7", "3.1.7"],
165
+ ]
166
+ elsif platform =~ /x86-mingw32/
167
+ [
168
+ # There's no Rubyinstaller-4.x for platform x86-mingw32
169
+ ["3.3.10:3.2.9:3.1.7:3.0.7", "3.1.7"],
170
+ ["3.4.8", "4.0.0"],
165
171
  ]
166
172
  else
167
173
  [
168
- ["2.7.8", "3.1.7"],
169
- ["3.4.8:3.3.10:3.2.9:3.1.7:3.0.7", "3.4.8"],
170
- ["4.0.0-preview2", "4.0.0-preview2"],
174
+ ["3.3.10:3.2.9:3.1.7:3.0.7", "3.1.7"],
175
+ ["4.0.0:3.4.8", "4.0.0"],
171
176
  ]
172
177
  end
173
178
 
@@ -194,7 +199,7 @@ RUN bash -c " \
194
199
  RUN find /usr/local/rake-compiler/ruby/*linux*/ -name libruby.so | xargs rm
195
200
  RUN find /usr/local/rake-compiler/ruby/*linux*/ -name libruby-static.a | while read f ; do cp $f `echo $f | sed s/-static//` ; done
196
201
  RUN find /usr/local/rake-compiler/ruby/*linux*/ -name libruby.a | while read f ; do ar t $f | xargs ar d $f ; done
197
- RUN find /usr/local/rake-compiler/ruby/*linux*/ -name mkmf.rb | while read f ; do sed -i ':a;N;$!ba;s/TRY_LINK = [^\n]*\n[^\n]*\n[^\n]*LOCAL_LIBS)/& -lruby-static -lpthread -lrt -ldl/' $f ; done
202
+ RUN find /usr/local/rake-compiler/ruby/*linux*/ -name mkmf.rb | while read f ; do sed -i ':a;N;$!ba;s/TRY_LINK = [^\n]*\n[^\n]*\n[^\n]*LOCAL_LIBS)/& -lruby-static -lpthread -lrt -ldl -latomic/' $f ; done
198
203
  <% end %>
199
204
 
200
205
  <% if platform =~ /mingw/ %>
@@ -269,8 +274,8 @@ RUN echo 'source /etc/profile.d/rcd-env.sh' >> /etc/rubybashrc
269
274
  # Install sudoers configuration
270
275
  COPY build/sudoers /etc/sudoers.d/rake-compiler-dock
271
276
 
272
- RUN bash -c "rbenv global 3.4.8"
277
+ RUN bash -c "rbenv global 4.0.0"
273
278
 
274
- ENV RUBY_CC_VERSION=4.0.0:3.4.8:3.3.10:3.2.9:3.1.7:3.0.7:2.7.8
279
+ ENV RUBY_CC_VERSION=4.0.0:3.4.8:3.3.10:3.2.9:3.1.7:3.0.7
275
280
 
276
281
  CMD bash
@@ -1,4 +1,4 @@
1
1
  module RakeCompilerDock
2
- VERSION = "1.11.0.rc1"
3
- IMAGE_VERSION = "1.11.0.rc1"
2
+ VERSION = "1.11.0"
3
+ IMAGE_VERSION = "1.11.0"
4
4
  end
@@ -98,7 +98,6 @@ module RakeCompilerDock
98
98
  "3.2" => "3.2.9",
99
99
  "3.1" => "3.1.7",
100
100
  "3.0" => "3.0.7",
101
- "2.7" => "2.7.8",
102
101
  }
103
102
  end
104
103
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in rcd_test.gemspec
6
- gemspec
5
+ # No rcd_test gem, since "bundle package" fails on bundler-2.7+, if the extension isn't built
6
+ # gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
  gem "rake-compiler"
@@ -66,7 +66,7 @@ namespace "gem" do
66
66
  # - and to bundle the rake-compiler-dock under test
67
67
  RakeCompilerDock.sh <<-EOT, platform: plat, mountdir: Dir.pwd + "/../..", verbose: true
68
68
  (cp tmp/gem/gem-*.pem ~/.gem/ || true) &&
69
- bundle --local &&
69
+ bundle install --local &&
70
70
  rake native:#{plat} pkg/#{exttask.gem_spec.full_name}-#{plat}.gem "MAKE=make V=1" #{config}
71
71
  EOT
72
72
  end
@@ -79,7 +79,7 @@ namespace "gem" do
79
79
  sh "bundle package"
80
80
  RakeCompilerDock.sh <<-EOT, rubyvm: "jruby", platform: "jruby", mountdir: Dir.pwd + "/../..", verbose: true
81
81
  mvn archetype:generate -DartifactId=test -DarchetypeVersion=1.4 -DinteractiveMode=false -DgroupId=test -Dpackage=test &&
82
- bundle --local &&
82
+ bundle install --local &&
83
83
  bundle exec rake java gem
84
84
  EOT
85
85
  end
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.11.0.rc1
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubygems_version: 3.6.9
174
+ rubygems_version: 4.0.3
175
175
  specification_version: 4
176
176
  summary: Easy to use and reliable cross compiler environment for building Windows
177
177
  and Linux binary gems.
metadata.gz.sig CHANGED
Binary file