Skip to content

Commit

Permalink
therubyracer gem is no longer maintained and is incompatible with Rub…
Browse files Browse the repository at this point in the history
…y 3.0
  • Loading branch information
byroot committed May 7, 2021
1 parent ba0300d commit da36ee7
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 138 deletions.
14 changes: 0 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: 2.0.0
env: EXECJS_RUNTIME=Duktape
- rvm: 2.0.0
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.0.0
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -27,8 +25,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: 2.1.10
env: EXECJS_RUNTIME=Duktape
- rvm: 2.1.10
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.1.10
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -38,8 +34,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: 2.2.7
env: EXECJS_RUNTIME=Duktape
- rvm: 2.2.7
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.2.7
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -49,8 +43,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: 2.3.4
env: EXECJS_RUNTIME=Duktape
- rvm: 2.3.4
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.3.4
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -60,8 +52,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: 2.4.1
env: EXECJS_RUNTIME=Duktape
- rvm: 2.4.1
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.4.1
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -71,8 +61,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- rvm: ruby-head
env: EXECJS_RUNTIME=Duktape
- rvm: ruby-head
env: EXECJS_RUNTIME=RubyRacer
- rvm: ruby-head
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
Expand All @@ -89,8 +77,6 @@ matrix:
env: EXECJS_RUNTIME=Node
- os: osx
env: EXECJS_RUNTIME=Duktape
- os: osx
env: EXECJS_RUNTIME=RubyRacer
- os: osx
env: EXECJS_RUNTIME=V8
- os: osx
Expand Down
6 changes: 1 addition & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ gemspec

group :test do
gem 'duktape', platform: :mri
if ENV['EXECJS_RUNTIME'] == 'MiniRacer'
gem 'mini_racer', '0.1.0.beta.3', platform: :mri
else
gem 'therubyracer', platform: :mri
end
gem 'mini_racer', platform: :mri
gem 'therubyrhino', '>=1.73.3', platform: :jruby
gem 'minitest', require: false
end
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ returns the result to you as a Ruby object.

ExecJS supports these runtimes:

* [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8
embedded within Ruby
* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
Rhino embedded within JRuby
* [Duktape.rb](https://github.com/judofyr/duktape.rb) - Duktape JavaScript interpreter
Expand Down
114 changes: 0 additions & 114 deletions lib/execjs/ruby_racer_runtime.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/execjs/runtimes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require "execjs/disabled_runtime"
require "execjs/duktape_runtime"
require "execjs/external_runtime"
require "execjs/ruby_racer_runtime"
require "execjs/ruby_rhino_runtime"
require "execjs/mini_racer_runtime"

Expand All @@ -12,8 +11,6 @@ module Runtimes

Duktape = DuktapeRuntime.new

RubyRacer = RubyRacerRuntime.new

RubyRhino = RubyRhinoRuntime.new

MiniRacer = MiniRacerRuntime.new
Expand Down

0 comments on commit da36ee7

Please sign in to comment.