FEATURE: we explicitly only support Ruby 2.3 and up

- remove 2.2 from travis
- be explicit in gemspec
- add note to readme
This commit is contained in:
Sam 2018-06-27 09:35:22 +10:00
parent 03a3d3236c
commit c1bcfcf536
4 changed files with 13 additions and 4 deletions

View File

@ -1,9 +1,9 @@
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- master
matrix:
include:
- rvm: 2.5.1
@ -19,5 +19,5 @@ dist: trusty
sudo: true
before_install:
- gem update --system
- gem install bundler -v 1.12.0
- gem install bundler -v 1.16.2
cache: bundler

View File

@ -1,6 +1,9 @@
- Unreleased
- Deprecate Isolate#idle_notification in favour of Isolate#idle_notification_deadline @ignisf
- FEATURE: context#call to allow for cheaper invocation of functions
- FIX: rare memory leak when terminating a long running attached function
- FIX: rare segfault when terminating a long running attached function
- FIX: Reimplement Isolate#idle_notification using idle_notification_deadline, API remains the same @ignisf
- Account for changes in the upstream V8 API @ignisf
- Bump dependency of V8 to 6.7

View File

@ -10,6 +10,12 @@ It was created as an alternative to the excellent [therubyracer](https://github.
MiniRacer has an adapter for [execjs](https://github.com/rails/execjs) so it can be used directly with Rails projects to minify assets, run babel or compile CoffeeScript.
### A note about Ruby version Support
MiniRacer only supports non-EOL versions of Ruby. See [Ruby](https://www.ruby-lang.org/en/downloads) to see the list of non-EOL Rubies.
If you require support for older versions of Ruby install an older version of the gem.
## Features
### Simple eval for JavaScript

View File

@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
spec.extensions = ["ext/mini_racer_extension/extconf.rb"]
spec.required_ruby_version = '>= 2.0'
spec.required_ruby_version = '>= 2.3'
end