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 e441305
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 139 deletions.
14 changes: 0 additions & 14 deletions .travis.yml
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
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
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.

4 changes: 0 additions & 4 deletions lib/execjs/runtimes.rb
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 Expand Up @@ -81,7 +78,6 @@ def self.names

def self.runtimes
@runtimes ||= [
RubyRacer,
RubyRhino,
Duktape,
MiniRacer,
Expand Down

0 comments on commit e441305

Please sign in to comment.