Commit d2a4a6c
CI: Change and test earliest supported Ruby version (1.9.2 -> 2.2.0) (#498)
* gemspec: Change required Ruby version from 1.9.2 to 2.2.0
There are some incompatibilities between Split's dependencies and
earlier versions of Ruby (see
#494 (comment)).
2.2.0 is a relatively old version of Ruby that can run Split with
minimal code changes.
* Fix Ruby syntax incompatibility with version < 2.3
`Hash#dig` and `&.` are available only in 2.3+, but Split is supposed to
be compatible with Ruby 2.2.2+.
* CI: Add Rails 5.1 Gemfile to build matrix1 parent 07b71ce commit d2a4a6c
3 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments