rake-compiler-dock 1.11.0.rc1 → 1.11.1

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: d5d20cc673c40ffa60102f730c837c2bd594a4c3f492898c43ba826aa86e4e77
4
+ data.tar.gz: 38cb0cf4233c363a2d86f7f86f96c964b86abc1a157eb29ff265e1337e12d8d3
5
5
  SHA512:
6
- metadata.gz: a44d3babc2a45bc8543321998c5304fb9edf2b32626764b878b29f307ad366d44f41a4ad1ce6076e6b9bd279b67a79c70079d6b663eeda6d9cfaae484e5d04ac
7
- data.tar.gz: 106e89b7340ec2ca007f8219af91ed24433efabf2f5ad821fc1e442cc6d068e15313497b08dacc10b288014fffef4ff8b557ee939df59ed8b17563cad87a371c
6
+ metadata.gz: 9b0d0f60cbe7c1e0a097ce57acad64240c34497d7fe257018fbcf286295e36a387dc7212c03cb15c766b7f8e6bad95e071785c885d18ffe6b631c014062cd4b7
7
+ data.tar.gz: 1ff93f160999d7ff66e918480810312503bb9e41f13f9c71d7d6f65804880d71f0c044b8a8522e97023078224bd73dd7fcfb869eaaaeacda23fdf71699ea3f59
@@ -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,28 @@
1
1
  # `rake-compiler/rake-compiler-dock` Changelog
2
2
 
3
- ## 1.11.0.rc1 / 2025-12-18
3
+ ## next / unreleased
4
+
5
+ ...
6
+
7
+
8
+ ## 1.11.1 / 2025-12-26
9
+
10
+ - Replace JRuby 9.4 with JRuby 10.0 in the JRuby build container. #185 @flavorjones
11
+
12
+
13
+ ## 1.11.0 / 2025-12-25
14
+
15
+ - Bump Ruby 4 cross-compilation support to 4.0.0.
16
+ - Drop support for Ruby 2.7. #180 @larskanis
17
+ - Remove native Ruby 3.4.8 from the host environment. #178 @larskanis
18
+
19
+ ### CRuby container summary
20
+
21
+ - native rubies: 4.0.0 (default), 3.1.7
22
+ - `RUBY_CC_VERSION=4.0.0:3.4.8:3.3.10:3.2.9:3.1.7:3.0.7`
23
+
24
+
25
+ ## 1.11.0.rc1 / 2025-12-19
4
26
 
5
27
  ### Changes
6
28
 
data/Dockerfile.jruby CHANGED
@@ -1,9 +1,9 @@
1
- FROM ubuntu:20.04
1
+ FROM ubuntu:24.04
2
2
 
3
3
  ENV DEBIAN_FRONTEND noninteractive
4
4
  RUN apt-get -y update && \
5
5
  apt-get install -y sudo wget curl git-core build-essential xz-utils unzip dirmngr && \
6
- apt-get install -y openjdk-11-jdk-headless maven && \
6
+ apt-get install -y openjdk-21-jdk-headless maven && \
7
7
  rm -rf /var/lib/apt/lists/*
8
8
 
9
9
  ##
@@ -11,7 +11,7 @@ RUN apt-get -y update && \
11
11
  ##
12
12
  RUN groupadd -r rubyuser && useradd -r -g rubyuser -G sudo -p "" --create-home rubyuser
13
13
 
14
- ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="jruby-9.4.0.0"
14
+ ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="jruby-10.0.0.0"
15
15
 
16
16
  # chown after running `rbenv init` because that command creates some subdirectories
17
17
  RUN git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT} && \
@@ -74,6 +74,6 @@ COPY build/runas /usr/local/bin/
74
74
  # Install sudoers configuration
75
75
  COPY build/sudoers /etc/sudoers.d/rake-compiler-dock
76
76
 
77
- RUN bash -c "rbenv global jruby-9.4.0.0"
77
+ RUN bash -c "rbenv global jruby-10.0.0.0"
78
78
 
79
79
  CMD bash
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
data/build/gem_helper.rb CHANGED
@@ -24,10 +24,6 @@ module RakeCompilerDock
24
24
  Time.now.strftime("%Y-%m-%d")
25
25
  end
26
26
 
27
- def version_tag
28
- "#{version}"
29
- end
30
-
31
27
  def update_history
32
28
  hin = File.read(hfile)
33
29
  hout = hin.sub(/#{headline}/) do
@@ -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.1"
3
+ IMAGE_VERSION = "1.11.1"
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
metadata CHANGED
@@ -1,37 +1,12 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
8
8
  bindir: bin
9
- cert_chain:
10
- - |
11
- -----BEGIN CERTIFICATE-----
12
- MIIEBDCCAmygAwIBAgIBAzANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1sYXJz
13
- L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDEyMjkxOTU2NTZaFw0yNTEy
14
- MjkxOTU2NTZaMCgxJjAkBgNVBAMMHWxhcnMvREM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YORQCB68OPzkWMfC7mBo3vpSsIqRoNs1FE4FJu4FGwZG8fBSrDC4H
31
- bZe+GtyS3e2SMjgT65zp35gLO9I7MquzYN9P6V2u1iBpTycchk5z9R1ghxzZSBT8
32
- DrkJ9tVlPQtJB0LqT0tvBap4upnwT1xYq721b5dwH6AF4Pi6iz/dc5vnq1/MH8bV
33
- 8VbbBzzeE7MsvgkP3sHlLmY8PtuyViJ8
34
- -----END CERTIFICATE-----
9
+ cert_chain: []
35
10
  date: 1980-01-02 00:00:00.000000000 Z
36
11
  dependencies:
37
12
  - !ruby/object:Gem::Dependency
@@ -171,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
146
  - !ruby/object:Gem::Version
172
147
  version: '0'
173
148
  requirements: []
174
- rubygems_version: 3.6.9
149
+ rubygems_version: 4.0.3
175
150
  specification_version: 4
176
151
  summary: Easy to use and reliable cross compiler environment for building Windows
177
152
  and Linux binary gems.
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file