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 2021/01/01 17:03:54 UTC

[whimsy] branch master updated: Need to define ruby2js_version

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 2fa30af  Need to define ruby2js_version
2fa30af is described below

commit 2fa30afe2f67eb4ff057bed84431c6f8516b8e34
Author: Sebb <se...@apache.org>
AuthorDate: Fri Jan 1 17:03:45 2021 +0000

    Need to define ruby2js_version
---
 Rakefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Rakefile b/Rakefile
index 6e8e2e0..214e95d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -59,12 +59,14 @@ task :update, [:command] do |task, args|
 
     # Also need to define version for wunderbar as per the asf.gemspec file
     wunderbar_version = File.read(File.expand_path('wunderbar.version', __dir__)).chomp
+    ruby2js_version = File.read(File.expand_path('ruby2js.version', __dir__)).chomp
     require 'tmpdir'
     Dir.mktmpdir do |dir|
       Dir.chdir dir do
         contents = [
           "source 'https://rubygems.org'",
           "wunderbar_version = '#{wunderbar_version}'",
+          "ruby2js_version = '#{ruby2js_version}'",
           gems.values
         ].join("\n")
         File.write "Gemfile", contents