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

Update information on supported Ruby versions #951

Merged
merged 5 commits into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby]
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby]

env:
JAVA_OPTS: '-Xmx1024m'
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,11 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m

## Supported Ruby versions

* MRI 2.0 and above
* JRuby 9000
* TruffleRuby are supported.
* Any Ruby interpreter that is compliant with Ruby 2.0 or newer.
* MRI 2.2.10 and above
* Latest JRuby 9000
* Latest TruffleRuby

Actually we still support mri 1.9.3 and jruby 1.7.27 but we are looking at ways how to drop the support.
Java 8 is preferred for JRuby but every Java version on which JRuby 9000 runs is supported.

The legacy support for Rubinius is kept but it is no longer maintained, if you would like to help
The legacy support for Rubinius is kept for the moment but it is no longer maintained and is liable to be removed. If you would like to help
please respond to [#739](https://github.com/ruby-concurrency/concurrent-ruby/issues/739).

## Usage
Expand Down
2 changes: 1 addition & 1 deletion concurrent-ruby-edge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
Please see http://concurrent-ruby.com for more information.
TXT

s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.2.10'
chrisseaton marked this conversation as resolved.
Show resolved Hide resolved

s.add_runtime_dependency 'concurrent-ruby', "~> #{Concurrent::VERSION}"
end
2 changes: 1 addition & 1 deletion concurrent-ruby-ext.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']
s.extensions = 'ext/concurrent-ruby-ext/extconf.rb'

s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.2.10'

s.add_runtime_dependency 'concurrent-ruby', "= #{Concurrent::VERSION}"
end
2 changes: 1 addition & 1 deletion concurrent-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Gem::Specification.new do |s|
TXT
s.metadata["source_code_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby"
s.metadata["changelog_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md"
s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.2.10'
end
1 change: 0 additions & 1 deletion ext/concurrent-ruby-ext/atomic_boolean.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "atomic_boolean.h"
#include "atomic_reference.h"
#include "ruby_193_compatible.h"

void atomic_boolean_mark(void *value) {
rb_gc_mark_maybe((VALUE) value);
Expand Down
1 change: 0 additions & 1 deletion ext/concurrent-ruby-ext/atomic_fixnum.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "atomic_fixnum.h"
#include "atomic_reference.h"
#include "ruby_193_compatible.h"

void atomic_fixnum_mark(void *value) {
rb_gc_mark_maybe((VALUE) value);
Expand Down
28 changes: 0 additions & 28 deletions ext/concurrent-ruby-ext/ruby_193_compatible.h

This file was deleted.

1 change: 0 additions & 1 deletion lib/concurrent-ruby/concurrent/map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ def key(value)
each_pair { |k, v| return k if v == value }
nil
end unless method_defined?(:key)
alias_method :index, :key if RUBY_VERSION < '1.9'

# Is map empty?
# @return [true, false]
Expand Down