Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Data since 3.0.0 #2593

Merged
merged 1 commit into from
Aug 22, 2021
Merged

Remove Data since 3.0.0 #2593

merged 1 commit into from
Aug 22, 2021

Conversation

ima1zumi
Copy link
Contributor

Data クラスは Ruby 3.0 で削除されたため、3.0以降はリンクしないようにしました。
Data クラス自体の説明は残しています。

ref: ruby/ruby@c30f03d
ref: #2458

Copy link
Member

@hanachin hanachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

よさそう

% docker run --rm -e ALL_RUBY_SINCE=ruby-1.8 rubylang/all-ruby ./all-ruby -e 'Data'
ruby-1.8.0
...
ruby-2.5.0-preview1
ruby-2.5.0-rc1        -e:1: warning: constant ::Data is deprecated
...
ruby-2.7.1            -e:1: warning: constant ::Data is deprecated
ruby-2.7.2
...
ruby-3.0.0-rc1
ruby-3.0.0            -e:1:in `<main>': uninitialized constant Data (NameError)
                  exit 1
...
ruby-3.0.2            -e:1:in `<main>': uninitialized constant Data (NameError)
                  exit 1

@hanachin hanachin merged commit d28960b into rurema:master Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants