Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tom-lord/regexp-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Lord committed Feb 1, 2016
2 parents 375d3d1 + aafde19 commit 32baf4f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ language: ruby
rvm:
- 2.0.0-p598
- 2.1.6
- 2.2.0
- 2.2.2
- 2.2.4
- 2.3.0
- ruby-head
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@ If you'd like to understand how/why this gem works, please check out my [blog po
/written by tom lord/i.random_example #=> "WrITtEN bY tOM LORD"
```

## Supported ruby versions
* MRI 2.0.x
* MRI 2.1.x
* MRI 2.2.x
* MRI 2.3.x
* MRI 2.4.0-dev

MRI ≤ 1.9.3 are not supported. This is primarily because MRI 2.0.0 introduced a new
regexp engine (`Oniguruma` was replaced by `Onigmo`). Whilst *most* of this gem could
be made to work with MRI 1.9.x (or even 1.8.x), I feel the changes are too significant
to implement backwards compatability (especially since [long-term support for MRI
1.9.3 has now ended](https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)).

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

Other implementations, such as JRuby, could probably work fine -
but I haven't fully tried/tested it. Pull requests are welcome.

## Installation

Add this line to your application's Gemfile:
Expand Down
1 change: 0 additions & 1 deletion db/unicode_ranges_2.3.pstore

This file was deleted.

Binary file added db/unicode_ranges_2.3.pstore
Binary file not shown.
Binary file added db/unicode_ranges_2.4.pstore
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/regexp-examples/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Gem version
module RegexpExamples
VERSION = '1.1.3'
VERSION = '1.1.4'
end

0 comments on commit 32baf4f

Please sign in to comment.