Skip to content

Commit e3fd16a

Browse files
committed
Update notes on supported MRI versions
1 parent f306917 commit e3fd16a

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,19 @@ Obviously, you will get different (random) results if you try these yourself!
5252
```
5353

5454
## Supported ruby versions
55-
* MRI 2.0.x
56-
* MRI 2.1.x
57-
* MRI 2.2.x
58-
* MRI 2.3.x
59-
* MRI 2.4.x
60-
* MRI 2.5.x
61-
* MRI 2.6.x
62-
63-
MRI ≤ 1.9.3 are not supported. This is primarily because MRI 2.0.0 introduced a new
55+
MRI 2.4.0 (oldest non-[EOL](https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/) version) --> 2.6.3 (latest stable version)
56+
57+
MRI ≤ 1.9.3 were never supported by this library. This is primarily because MRI 2.0.0 introduced a new
6458
regexp engine (`Oniguruma` was replaced by `Onigmo`). Whilst *most* of this gem could
65-
be made to work with MRI 1.9.x (or even 1.8.x), I feel the changes are too significant
59+
be made to work with MRI 1.9.x (or even 1.8.x), I considered the changes too significant
6660
to implement backwards compatability (especially since [long-term support for MRI
67-
1.9.3 has now ended](https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)).
61+
1.9.3 has long ended](https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)).
6862

6963
For example, named properties (e.g. `/\p{Alpha}/`) are illegal syntax on MRI 1.9.3.
7064

65+
MRI 2.0.0 --> 2.3.7 were supported until version `1.5.0` of this gem. Support was dropped primarily
66+
because of the need to use `RbConfig::CONFIG['UNICODE_VERSION']`, which was added to `2.4.0`.
67+
7168
Other implementations, such as JRuby, could probably work fine -
7269
but I haven't fully tried/tested it. Pull requests are welcome.
7370

0 commit comments

Comments
 (0)