Skip to content

Commit

Permalink
[WiP] Replace therubyracer with mini_racer (updates v8) (#1496)
Browse files Browse the repository at this point in the history
* Replace therubyracer with mini_racer (updates v8)
* Add some platforms to Gemfile
* Pin bundler to 2.1.4 for travis CI
  • Loading branch information
2called-chaos committed Apr 13, 2021
1 parent 1d9af20 commit a0592ab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rvm:
env:
global:
- COVERAGE=true JRUBY_OPTS=--debug
- BUNDLER_VERSION=2.1.4
matrix:
- MONGODB=ubuntu1604-4.2.3
- MONGODB=ubuntu1604-4.0.16
Expand All @@ -22,6 +23,7 @@ cache:

before_install:
- gem update --system
- gem install bundler --version 2.1.4

before_script:
- wget --directory-prefix=mongodb-install/ https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ group :heroku, :production do
end

group :no_docker, :test, :development do
gem 'therubyracer', platform: :ruby # C Ruby (MRI) or Rubinius, but NOT Windows
gem 'mini_racer', platform: :ruby # C Ruby (MRI) or Rubinius, but NOT Windows
end

gem 'puma'
Expand Down
21 changes: 15 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ GEM
launchy (2.4.3-java)
addressable (~> 2.3)
spoon (~> 0.0.1)
libv8 (3.16.14.19)
libv8 (8.4.255.0)
loofah (2.4.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -187,6 +187,8 @@ GEM
mime-types-data (3.2016.0521)
mini_mime (1.0.1)
mini_portile2 (2.5.0)
mini_racer (0.3.1)
libv8 (~> 8.4.255)
minitest (5.14.0)
mongo (2.11.3)
bson (>= 4.4.2, < 5.0.0)
Expand All @@ -208,8 +210,14 @@ GEM
nokogiri (1.11.1)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
nokogiri (1.11.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.11.1-java)
racc (~> 1.4)
nokogiri (1.11.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.11.1-x86_64-linux)
racc (~> 1.4)
oauth2 (1.4.1)
faraday (>= 0.8, < 0.16.0)
jwt (>= 1.0, < 3.0)
Expand Down Expand Up @@ -301,7 +309,6 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ref (2.0.0)
regexp_parser (1.3.0)
request_store (1.1.0)
responders (2.4.1)
Expand Down Expand Up @@ -383,9 +390,6 @@ GEM
temple (0.8.2)
term-ansicolor (1.6.0)
tins (~> 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thor (0.19.4)
thread_safe (0.3.6)
thread_safe (0.3.6-java)
Expand Down Expand Up @@ -416,8 +420,13 @@ GEM
yajl-ruby (1.4.1)

PLATFORMS
arm64-darwin-20
java
ruby
x86_64-darwin-18
x86_64-darwin-19
x86_64-darwin-20
x86_64-linux

DEPENDENCIES
actionmailer (~> 4.2.10)
Expand Down Expand Up @@ -450,6 +459,7 @@ DEPENDENCIES
kaminari-mongoid
launchy
meta_request
mini_racer
mongoid (~> 5.4)
mongoid-rspec
omniauth
Expand All @@ -476,7 +486,6 @@ DEPENDENCIES
rushover
sass-rails
sucker_punch
therubyracer
timecop
uglifier
underscore-rails
Expand Down

0 comments on commit a0592ab

Please sign in to comment.