17417: switch our Rails codebases from therubyracer to mini_racer.
authorWard Vandewege <ward@curii.com>
Wed, 22 Dec 2021 20:47:08 +0000 (15:47 -0500)
committerWard Vandewege <ward@jhvc.com>
Wed, 22 Dec 2021 21:03:48 +0000 (16:03 -0500)
       Remove old dependency on `less` and `less-rails` from WB1.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

apps/workbench/Gemfile
apps/workbench/Gemfile.lock
services/api/Gemfile
services/api/Gemfile.lock

index 46c1e8e60c9c2d3db64c5b75f865392616762d17..bc08b2dedd787004289b7497bfe9c729561ec2cd 100644 (file)
@@ -31,8 +31,8 @@ group :assets do
   gem 'sassc-rails'
   gem 'uglifier', '~> 2.0'
 
-  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
-  gem 'therubyracer', :platforms => :ruby
+  # See https://github.com/rails/execjs#readme for more supported runtimes
+  gem 'mini_racer', :platforms => :ruby
 end
 
 group :development, :test, :performance do
@@ -77,8 +77,6 @@ gem 'bootstrap-tab-history-rails'
 
 gem 'angularjs-rails', '~> 1.3.8'
 
-gem 'less'
-gem 'less-rails'
 gem 'sshkey'
 
 # To use ActiveModel has_secure_password
index 13c4430965c3244bee92111d5ee7238cfe6f0797..f9575ac503917d297c846ac7401acea50a0fca99 100644 (file)
@@ -118,7 +118,6 @@ GEM
       coffee-script-source
       execjs
     coffee-script-source (1.12.2)
-    commonjs (0.2.7)
     concurrent-ruby (1.1.9)
     crass (1.0.6)
     deep_merge (1.2.1)
@@ -152,13 +151,7 @@ GEM
     jwt (1.5.6)
     launchy (2.4.3)
       addressable (~> 2.3)
-    less (2.6.0)
-      commonjs (~> 0.2.7)
-    less-rails (4.0.0)
-      actionpack (>= 4)
-      less (~> 2.6.0)
-      sprockets (>= 2)
-    libv8 (3.16.14.19)
+    libv8-node (15.14.0.1)
     lograge (0.10.0)
       actionpack (>= 4)
       activesupport (>= 4)
@@ -179,6 +172,8 @@ GEM
     mime-types-data (3.2019.0331)
     mini_mime (1.1.0)
     mini_portile2 (2.6.1)
+    mini_racer (0.4.0)
+      libv8-node (~> 15.14.0.0)
     minitest (5.10.3)
     mocha (1.8.0)
       metaclass (~> 0.0.1)
@@ -254,7 +249,6 @@ GEM
     rb-fsevent (0.10.3)
     rb-inotify (0.10.0)
       ffi (~> 1.0)
-    ref (2.0.0)
     request_store (1.4.1)
       rack (>= 1.4)
     responders (2.4.1)
@@ -304,9 +298,6 @@ GEM
       activesupport (>= 4.0)
       sprockets (>= 3.0.0)
     sshkey (2.0.0)
-    therubyracer (0.12.3)
-      libv8 (~> 3.16.14.15)
-      ref
     thor (1.1.0)
     thread_safe (0.3.6)
     tilt (2.0.9)
@@ -342,11 +333,10 @@ DEPENDENCIES
   httpclient (~> 2.5)
   jquery-rails
   launchy (~> 2.4.0)
-  less
-  less-rails
   lograge
   logstash-event
   mime-types
+  mini_racer
   minitest (~> 5.10.3)
   mocha
   morrisjs-rails
@@ -375,7 +365,6 @@ DEPENDENCIES
   sprockets (~> 3.0)
   sshkey
   themes_for_rails!
-  therubyracer
   uglifier (~> 2.0)
 
 BUNDLED WITH
index 39ce5def17e0feddaafc04a91c7a1bfeadd997a6..677d4d0cda98703865ba818ec40fb995540f667c 100644 (file)
@@ -30,7 +30,7 @@ gem 'pg', '~> 1.0'
 gem 'multi_json'
 gem 'oj'
 
-gem 'therubyracer'
+gem 'mini_racer'
 gem 'uglifier', '~> 2.0'
 
 gem 'jquery-rails'
index bdf791153446a7f56013edeaed00a04cb524646a..40f30782e51ab7974397ce80225e0aacc7492cc9 100644 (file)
@@ -122,7 +122,7 @@ GEM
     jwt (1.5.6)
     launchy (2.5.0)
       addressable (~> 2.7)
-    libv8 (3.16.14.19)
+    libv8-node (15.14.0.1)
     listen (3.2.1)
       rb-fsevent (~> 0.10, >= 0.10.3)
       rb-inotify (~> 0.9, >= 0.9.10)
@@ -143,6 +143,8 @@ GEM
     method_source (1.0.0)
     mini_mime (1.1.0)
     mini_portile2 (2.6.1)
+    mini_racer (0.4.0)
+      libv8-node (~> 15.14.0.0)
     minitest (5.10.3)
     mocha (1.8.0)
       metaclass (~> 0.0.1)
@@ -207,7 +209,6 @@ GEM
     rb-fsevent (0.10.3)
     rb-inotify (0.9.10)
       ffi (>= 0.5.0, < 2)
-    ref (2.0.0)
     request_store (1.4.1)
       rack (>= 1.4)
     responders (2.4.1)
@@ -250,9 +251,6 @@ GEM
     sshkey (2.0.0)
     test-unit (3.3.1)
       power_assert
-    therubyracer (0.12.3)
-      libv8 (~> 3.16.14.15)
-      ref
     thor (1.1.0)
     thread_safe (0.3.6)
     tilt (2.0.8)
@@ -279,6 +277,7 @@ DEPENDENCIES
   listen
   lograge
   logstash-event
+  mini_racer
   minitest (= 5.10.3)
   mocha
   multi_json
@@ -301,7 +300,6 @@ DEPENDENCIES
   sshkey
   test-unit (~> 3.0)
   themes_for_rails!
-  therubyracer
   uglifier (~> 2.0)
 
 BUNDLED WITH