Skip to content

Commit 4848180

Browse files
committedFeb 2, 2020
Update to latest builds fixing "Insecure world writable dir" warnings
* Update to Rubinius 4.14 which fixes some segfaults.
1 parent 623e527 commit 4848180

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed
 

‎.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
- run: ruby --version
3636
- run: ridk version
3737
if: matrix.os == 'windows-latest' && !startsWith(matrix.ruby, '2.3')
38+
- name: Subprocess test
39+
run: ruby test_subprocess.rb
3840
- name: OpenSSL version
3941
run: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'
4042
- name: OpenSSL test

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby:
1414
| Ruby | 2.3.0 - 2.3.8, 2.4.0 - 2.4.9, 2.5.0 - 2.5.7, 2.6.0 - 2.6.5, 2.7.0, head |
1515
| JRuby | 9.2.9.0 |
1616
| TruffleRuby | 19.3.0, 19.3.1, head |
17-
| Rubinius | 4.13 |
17+
| Rubinius | 4.14 |
1818

1919
Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life,
2020
which means Ruby 2.3 is unmaintained and considered insecure.

‎dist/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ruby-builder-versions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function getVersions(platform) {
1919

2020
if (platform === 'ubuntu-18.04') {
2121
versions['rubinius'] = [
22-
"4.13"
22+
"4.14"
2323
]
2424
}
2525

‎ruby-builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const tc = require('@actions/tool-cache')
66
const rubyBuilderVersions = require('./ruby-builder-versions')
77
const axios = require('axios')
88

9-
const builderReleaseTag = 'builds-newer-openssl'
9+
const builderReleaseTag = 'builds-no-warn'
1010
const releasesURL = 'https://github.com/eregon/ruby-builder/releases'
1111

1212
export function getAvailableVersions(platform, engine) {

‎test_subprocess.rb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
require 'rbconfig'
2+
require 'stringio'
3+
4+
puts "CPPFLAGS: #{RbConfig::CONFIG["CPPFLAGS"]}"
5+
6+
$stderr = StringIO.new
7+
begin
8+
system RbConfig.ruby, "-e", "p :OK"
9+
out = $stderr.string
10+
ensure
11+
$stderr = STDERR
12+
end
13+
abort out unless out.empty?

0 commit comments

Comments
 (0)
Please sign in to comment.