-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests pass with JRuby and reinstate 2.2 compat (#112)
Fixes #99 Rename the `String#encode` argument to `undef:` so that jRuby becomes compatible again. Also remove uses of the save navigation operator to restore compatibility with MRI 2.2, since we can have it so easily
- Loading branch information
1 parent
bc2b5a3
commit 4b7aa2c
Showing
4 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
rvm: | ||
- 2.2.0 | ||
- 2.3.0 | ||
- 2.4.2 | ||
- 2.5.0 | ||
- jruby-9.0 | ||
sudo: false | ||
cache: bundler | ||
matrix: | ||
allow_failures: | ||
- rvm: jruby-9.0 | ||
script: | ||
- bundle exec rubocop | ||
- bundle exec rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters