You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/12/29 16:52:31 UTC
[whimsy] branch master updated: ruby2js 3.6.0 causes a crash:
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9b1bd40 ruby2js 3.6.0 causes a crash:
9b1bd40 is described below
commit 9b1bd40e277969936f7b8138efb70b0ef28416f6
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 29 16:52:21 2020 +0000
ruby2js 3.6.0 causes a crash:
#<SecurityError: Insecure operation, eval without binding option>
/var/lib/gems/2.7.0/gems/ruby2js-3.6.0/lib/ruby2js/converter/xstr.rb:13:in `block in <class:Converter>'
---
ruby2js.version | 1 +
www/board/agenda/Gemfile | 3 ++-
www/project/icla/Gemfile | 3 ++-
www/roster/Gemfile | 3 ++-
www/secretary/Gemfile | 3 ++-
www/secretary/workbench/Gemfile | 3 ++-
6 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/ruby2js.version b/ruby2js.version
new file mode 100644
index 0000000..678fd88
--- /dev/null
+++ b/ruby2js.version
@@ -0,0 +1 @@
+3.5.3
\ No newline at end of file
diff --git a/www/board/agenda/Gemfile b/www/board/agenda/Gemfile
index f39f3f8..a3e8681 100644
--- a/www/board/agenda/Gemfile
+++ b/www/board/agenda/Gemfile
@@ -14,7 +14,8 @@ end
gem 'rake'
wunderbar_version = File.read(File.expand_path("#{root}/wunderbar.version", __FILE__)).chomp
gem 'wunderbar', wunderbar_version
-gem 'ruby2js', '>=3.3.6'
+ruby2js_version = File.read(File.expand_path("#{root}/ruby2js.version", __FILE__)).chomp
+gem 'ruby2js', ruby2js_version
gem 'sinatra', '~> 2.0'
gem 'nokogumbo'
gem 'execjs'
diff --git a/www/project/icla/Gemfile b/www/project/icla/Gemfile
index aee6d61..059e88b 100644
--- a/www/project/icla/Gemfile
+++ b/www/project/icla/Gemfile
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
root = '../../../..'
version_file = File.expand_path("#{root}/asf.version", __FILE__)
wunderbar_version = File.read(File.expand_path("#{root}/wunderbar.version", __FILE__)).chomp
+ruby2js_version = File.read(File.expand_path("#{root}/ruby2js.version", __FILE__)).chomp
if File.exist? version_file
# for deployment and local testing
@@ -16,7 +17,7 @@ end
gem 'mail'
gem 'rake'
gem 'wunderbar', wunderbar_version
-gem 'ruby2js'
+gem 'ruby2js', ruby2js_version
gem 'sinatra'
gem 'nokogumbo'
gem 'execjs'
diff --git a/www/roster/Gemfile b/www/roster/Gemfile
index 1b4cd01..efca641 100644
--- a/www/roster/Gemfile
+++ b/www/roster/Gemfile
@@ -15,7 +15,8 @@ end
gem 'rake'
wunderbar_version = File.read(File.expand_path("#{root}/wunderbar.version", __FILE__)).chomp
gem 'wunderbar', wunderbar_version
-gem 'ruby2js', '>=3.3.1'
+ruby2js_version = File.read(File.expand_path("#{root}/ruby2js.version", __FILE__)).chomp
+gem 'ruby2js', ruby2js_version
gem 'sinatra', '~> 2.0'
gem 'nokogumbo'
gem 'mail'
diff --git a/www/secretary/Gemfile b/www/secretary/Gemfile
index 6fe553d..2ffe4ab 100644
--- a/www/secretary/Gemfile
+++ b/www/secretary/Gemfile
@@ -8,7 +8,8 @@ if File.exist? version_file
gem 'whimsy-asf', asf_version, path: File.expand_path(root, __FILE__)
end
-gem 'ruby2js', '>=3.3.1'
+ruby2js_version = File.read(File.expand_path("#{root}/ruby2js.version", __FILE__)).chomp
+gem 'ruby2js', ruby2js_version
wunderbar_version = File.read(File.expand_path("#{root}/wunderbar.version", __FILE__)).chomp
gem 'wunderbar', wunderbar_version
gem 'mail'
diff --git a/www/secretary/workbench/Gemfile b/www/secretary/workbench/Gemfile
index 8e9e112..dd64140 100644
--- a/www/secretary/workbench/Gemfile
+++ b/www/secretary/workbench/Gemfile
@@ -18,7 +18,8 @@ gem 'sinatra', '~> 2.0'
gem 'sanitize'
wunderbar_version = File.read(File.expand_path("#{root}/wunderbar.version", __FILE__)).chomp
gem 'wunderbar', wunderbar_version
-gem 'ruby2js', '>=3.3.1'
+ruby2js_version = File.read(File.expand_path("#{root}/ruby2js.version", __FILE__)).chomp
+gem 'ruby2js', ruby2js_version
gem 'execjs'
gem 'listen'
gem 'escape'