jruby_art 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/{jruby_art-2.4.2.jar → jruby_art-2.4.3.jar} +0 -0
- data/lib/jruby_art/runner.rb +3 -2
- data/lib/jruby_art/version.rb +1 -1
- data/vendors/Rakefile +12 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cafc35006284d38ccaed17cef28be7d8021f2064379017e4e1b73317426cbc3d
|
4
|
+
data.tar.gz: 7b88b27b2600fc8936fb045b1dbe578b68f4e4a4e13500208a18b84c479ffc23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fced963e69ada654ec3650c6fa9b2493ca0e0d39a39b01482492572cca90a95b17af425cd2521fda286a44bcbdec1c665b3469bfb7928bbafa5d10b102e096b3
|
7
|
+
data.tar.gz: 81c447cfdcfe22ab23da5ee95a3f04b7d70d69957e8a54b1f418b4d796978562a2e959088b47c4cb6f31eb9b0416412afe7617626c24cf42ae1fc311425ee756
|
Binary file
|
data/lib/jruby_art/runner.rb
CHANGED
@@ -141,9 +141,10 @@ module Processing
|
|
141
141
|
def install(library = nil)
|
142
142
|
require_relative 'installer'
|
143
143
|
library ||= 'new'
|
144
|
-
|
144
|
+
choice = library.downcase
|
145
|
+
case choice
|
145
146
|
when /sound|video/
|
146
|
-
system "cd #{K9_ROOT}/vendors && rake
|
147
|
+
system "cd #{K9_ROOT}/vendors && rake install_#{choice}"
|
147
148
|
when /samples/
|
148
149
|
system "cd #{K9_ROOT}/vendors && rake install_samples"
|
149
150
|
when /jruby/
|
data/lib/jruby_art/version.rb
CHANGED
data/vendors/Rakefile
CHANGED
@@ -11,15 +11,15 @@ WARNING = <<~WARN
|
|
11
11
|
|
12
12
|
WARN
|
13
13
|
# https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip
|
14
|
-
JRUBYC_VERSION = '9.2.
|
14
|
+
JRUBYC_VERSION = '9.2.14.0'
|
15
15
|
SOUND = 'sound.zip'
|
16
|
-
SOUND_VERSION = 'v2.2.
|
17
|
-
VIDEO = 'video
|
18
|
-
VIDEO_VERSION = '
|
19
|
-
EXAMPLES = '3.
|
16
|
+
SOUND_VERSION = 'v2.2.3'
|
17
|
+
VIDEO = 'video.zip'
|
18
|
+
VIDEO_VERSION = 'v2.0'
|
19
|
+
EXAMPLES = '3.9'
|
20
20
|
HOME_DIR = ENV['HOME']
|
21
21
|
MAC_OR_LINUX = /linux|mac|darwin/.match?(RbConfig::CONFIG['host_os'])
|
22
|
-
|
22
|
+
DOWNLOAD = 'releases/download/latest'
|
23
23
|
CLOBBER << "jruby-complete-#{JRUBYC_VERSION}.jar"
|
24
24
|
CLOBBER << "jruby-complete-#{JRUBYC_VERSION}.jar.sha256"
|
25
25
|
|
@@ -82,15 +82,15 @@ task :init_dir do
|
|
82
82
|
end
|
83
83
|
|
84
84
|
desc 'download and copy sound library to ~/.jruby_art'
|
85
|
-
task
|
85
|
+
task install_sound: %i[wget_check init_dir download_sound copy_sound clobber]
|
86
86
|
|
87
87
|
desc 'download and copy video library to ~/.jruby_art'
|
88
|
-
task
|
88
|
+
task install_video: %i[wget_check init_dir download_video copy_video clobber]
|
89
89
|
|
90
90
|
desc 'download sound library'
|
91
91
|
task :download_sound do
|
92
92
|
wget_base = 'wget https://github.com/processing/processing-sound'
|
93
|
-
wget_string = [wget_base,
|
93
|
+
wget_string = [wget_base, DOWNLOAD, SOUND].join('/')
|
94
94
|
puts wget_string
|
95
95
|
system wget_string
|
96
96
|
end
|
@@ -98,12 +98,12 @@ end
|
|
98
98
|
desc 'download video library'
|
99
99
|
task :download_video do
|
100
100
|
wget_base = 'wget https://github.com/processing/processing-video'
|
101
|
-
wget_string = [wget_base,
|
101
|
+
wget_string = [wget_base, DOWNLOAD, VIDEO].join('/')
|
102
102
|
system wget_string
|
103
103
|
end
|
104
104
|
|
105
105
|
desc 'copy sound library'
|
106
|
-
task copy_sound
|
106
|
+
task :copy_sound do
|
107
107
|
system "unzip #{SOUND}"
|
108
108
|
if File.exist? "#{HOME_DIR}/.jruby_art/libraries/sound"
|
109
109
|
FileUtils.rm_r "#{HOME_DIR}/.picrate/libraries/sound"
|
@@ -113,7 +113,7 @@ task copy_sound: SOUND do
|
|
113
113
|
end
|
114
114
|
|
115
115
|
desc 'copy video library'
|
116
|
-
task copy_video
|
116
|
+
task :copy_video do
|
117
117
|
system "unzip #{VIDEO}"
|
118
118
|
if File.exist? "#{HOME_DIR}/.jruby_art/libraries/video"
|
119
119
|
FileUtils.rm_r "#{HOME_DIR}/.picrate/libraries/video"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby_art
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Prout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ files:
|
|
57
57
|
- lib/jogl-all-natives-macosx-universal.jar
|
58
58
|
- lib/jogl-all-natives-windows-amd64.jar
|
59
59
|
- lib/jogl-all.jar
|
60
|
-
- lib/jruby_art-2.4.
|
60
|
+
- lib/jruby_art-2.4.3.jar
|
61
61
|
- lib/jruby_art.rb
|
62
62
|
- lib/jruby_art/app.rb
|
63
63
|
- lib/jruby_art/config.rb
|