Skip to content

Commit 75ba999

Browse files
committed
Update samples and video library
1 parent 31f2e6f commit 75ba999

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

lib/jruby_art/runner.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def watch_sketch
141141
def install(library = nil)
142142
require_relative 'installer'
143143
library ||= 'new'
144-
case library.downcase
144+
choice = library.downcase
145+
case choice
145146
when /sound|video/
146147
system "cd #{K9_ROOT}/vendors && rake download_and_copy_#{choice}"
147148
when /samples/

vendors/Rakefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ WARNING = <<~WARN
1111
1212
WARN
1313
# https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip
14-
JRUBYC_VERSION = '9.2.13.0'
14+
JRUBYC_VERSION = '9.2.14.0'
1515
SOUND = 'sound.zip'
16-
SOUND_VERSION = 'v2.2.2'
17-
VIDEO = 'video-2.0-beta4.zip'
18-
VIDEO_VERSION = 'r6-v2.0-beta4'
19-
EXAMPLES = '3.8'
16+
SOUND_VERSION = 'v2.2.3'
17+
VIDEO = 'video.zip'
18+
VIDEO_VERSION = 'v2.0'
19+
EXAMPLES = '3.9'
2020
HOME_DIR = ENV['HOME']
2121
MAC_OR_LINUX = /linux|mac|darwin/.match?(RbConfig::CONFIG['host_os'])
2222

@@ -98,7 +98,7 @@ end
9898
desc 'download video library'
9999
task :download_video do
100100
wget_base = 'wget https://github.com/processing/processing-video'
101-
wget_string = [wget_base, 'releases/download', VIDEO_VERSION, VIDEO].join('/')
101+
wget_string = [wget_base, 'releases/download', VIDEO].join('/')
102102
system wget_string
103103
end
104104

0 commit comments

Comments
 (0)