Skip to content

Commit e89530e

Browse files
authored
Merge pull request #951 from ruby-concurrency/ruby-versions
Update information on supported Ruby versions
2 parents 3a62f3b + 8040475 commit e89530e

File tree

9 files changed

+8
-43
lines changed

9 files changed

+8
-43
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby]
11+
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby]
1212

1313
env:
1414
JAVA_OPTS: '-Xmx1024m'

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,11 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
259259

260260
## Supported Ruby versions
261261

262-
* MRI 2.0 and above
263-
* JRuby 9000
264-
* TruffleRuby are supported.
265-
* Any Ruby interpreter that is compliant with Ruby 2.0 or newer.
262+
* MRI 2.2 and above
263+
* Latest JRuby 9000
264+
* Latest TruffleRuby
266265

267-
Actually we still support mri 1.9.3 and jruby 1.7.27 but we are looking at ways how to drop the support.
268-
Java 8 is preferred for JRuby but every Java version on which JRuby 9000 runs is supported.
269-
270-
The legacy support for Rubinius is kept but it is no longer maintained, if you would like to help
266+
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
271267
please respond to [#739](https://github.com/ruby-concurrency/concurrent-ruby/issues/739).
272268

273269
## Usage

concurrent-ruby-edge.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
2323
Please see http://concurrent-ruby.com for more information.
2424
TXT
2525

26-
s.required_ruby_version = '>= 1.9.3'
26+
s.required_ruby_version = '>= 2.2'
2727

2828
s.add_runtime_dependency 'concurrent-ruby', "~> #{Concurrent::VERSION}"
2929
end

concurrent-ruby-ext.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121
s.require_paths = ['lib']
2222
s.extensions = 'ext/concurrent-ruby-ext/extconf.rb'
2323

24-
s.required_ruby_version = '>= 1.9.3'
24+
s.required_ruby_version = '>= 2.2'
2525

2626
s.add_runtime_dependency 'concurrent-ruby', "= #{Concurrent::VERSION}"
2727
end

concurrent-ruby.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ Gem::Specification.new do |s|
2727
TXT
2828
s.metadata["source_code_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby"
2929
s.metadata["changelog_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md"
30-
s.required_ruby_version = '>= 1.9.3'
30+
s.required_ruby_version = '>= 2.2'
3131
end

ext/concurrent-ruby-ext/atomic_boolean.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "atomic_boolean.h"
44
#include "atomic_reference.h"
5-
#include "ruby_193_compatible.h"
65

76
void atomic_boolean_mark(void *value) {
87
rb_gc_mark_maybe((VALUE) value);

ext/concurrent-ruby-ext/atomic_fixnum.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "atomic_fixnum.h"
44
#include "atomic_reference.h"
5-
#include "ruby_193_compatible.h"
65

76
void atomic_fixnum_mark(void *value) {
87
rb_gc_mark_maybe((VALUE) value);

ext/concurrent-ruby-ext/ruby_193_compatible.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

lib/concurrent-ruby/concurrent/map.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ def key(value)
281281
each_pair { |k, v| return k if v == value }
282282
nil
283283
end unless method_defined?(:key)
284-
alias_method :index, :key if RUBY_VERSION < '1.9'
285284

286285
# Is map empty?
287286
# @return [true, false]

0 commit comments

Comments
 (0)