15 Commits
Author SHA1 Message Date
Tianon Gravi 53572dc196 Remove "dbm" and "gdbm" from Ruby 3.1 standard libraries 2021-11-09 09:46:05 -08:00
Tianon Gravi f3b75457e2 Remove webrick from Ruby 3.0+ stdlib (removed as of 3.0.0-RC1) 2020-12-21 09:41:33 -08:00
Tianon Gravi b5fcfd737c Update Ruby 3.0 removed gems list
Per https://github.com/docker-library/ruby/pull/326
2020-09-28 13:32:13 -07:00
Codruț Constantin Gușoi 7628e5eb90 Removed libraries no longer part of stdlib in ruby 3 2020-09-27 13:03:46 +01:00
Joe Ferguson 8291300480 Add ruby 2.7 stdlib removals 2019-10-29 16:00:03 -07:00
Tianon Gravi 2e61f1b449 Remove "profiler" in Ruby 2.7+ standard-libs test
See https://travis-ci.org/docker-library/ruby/jobs/539398758

> `require 'profiler' failed: cannot load such file -- profiler`
2019-05-31 13:04:39 -07:00
Tianon Gravi db5d5eadb9 Fix a minor oversight in "ruby-standard-libs"
We should always remove "mathn" if our effective Ruby version is 2.5+.

See https://github.com/docker-library/official-images/pull/4392
2018-05-25 13:35:25 -07:00
Fumiaki MATSUSHIMA ab9d3a522f Fix std libs test for Ruby 2.5
mathn.rb is removed from stdlib

https://github.com/ruby/ruby/blob/v2_5_0_preview1/NEWS#stdlib-compatibility-issues-excluding-feature-bug-fixes
2017-10-22 18:49:22 +09:00
Fumiaki MATSUSHIMA a607e87313 Fix condition
`defined? RUBY_ENGINE && RUBY_ENGINE == 'jruby'` is always truthy
because it's parsed as `defined?(RUBY_ENGINE && RUBY_ENGINE == 'jruby')`

```
$ docker run --rm ruby:2.4-alpine ruby -e "p (defined? RUBY_ENGINE && RUBY_ENGINE == 'jruby')"
"expression"
```

```
$ docker run --rm ruby:2.4-alpine ruby -e "p (defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby')"
false
```
2017-10-22 18:39:08 +09:00
Tianon Gravi 87d8402940 Improve the "ruby-standard-libs" test, especially with regards to jruby-specific exclusion and failure output 2015-04-30 14:17:36 -06:00
Tianon Gravi 338950ef2b Skip gdbm for now, too... 2015-04-30 13:44:59 -06:00
Tianon Gravi 7fb2508f8e Comment out "dbm" from the "ruby-standard-libs" test for now 2015-04-30 12:53:18 -06:00
Joe Ferguson aac24e42ad Fix tests for ruby 1.9.3 that needs a submodule specified for xmlrpc 2015-02-05 10:58:53 -08:00
Joe Ferguson 113f804f50 Implement expected-std-out checking 2015-02-05 10:58:53 -08:00
Joe Ferguson 1857b61623 Huge re-factor to ease writing of tests 2015-02-05 10:58:53 -08:00