jruby_art 1.0.0 → 1.0.1
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/runner.rb +4 -8
- data/lib/jruby_art/version.rb +1 -1
- data/lib/rpextras.jar +0 -0
- data/vendors/Rakefile +3 -3
- metadata +15 -41
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e92b1c57e195448c0318778dea7e979c92298158
|
|
4
|
+
data.tar.gz: 7f1c4de33b5bb59c8e70365bee02ad806c687969
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ab55691fef0923dd6b89df0f71d9e7c7dc21ab80b4d45e29c84b01826a31df7835f6fa8d404965c748e33ad658ccd215bfd4e6375347f9a5e7ca8ad8168a344
|
|
7
|
+
data.tar.gz: 8641fee1460310e3ffb6810171a341504ed08d537dc4300968f432fc26b1f64f349e1a3b9ab5a3aa1981d6392bb8fd031da4b130bc4c1ea6cd10a8a22287f371
|
data/lib/jruby_art/runner.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Processing
|
|
|
28
28
|
|
|
29
29
|
Common options:
|
|
30
30
|
--nojruby: use jruby-complete in place of an installed version of jruby
|
|
31
|
-
(Set [JRUBY: 'false'] in .
|
|
31
|
+
(Set [JRUBY: 'false'] in .jruby_art/config.yml to make using jruby-complete default)
|
|
32
32
|
|
|
33
33
|
Examples:
|
|
34
34
|
k9 setup unpack_samples
|
|
@@ -38,7 +38,7 @@ module Processing
|
|
|
38
38
|
k9 watch some_new_sketch.rb
|
|
39
39
|
|
|
40
40
|
Everything Else:
|
|
41
|
-
|
|
41
|
+
https://ruby-processing.github.io/
|
|
42
42
|
|
|
43
43
|
EOS
|
|
44
44
|
|
|
@@ -143,12 +143,8 @@ module Processing
|
|
|
143
143
|
root = ' PROCESSING_ROOT = Not Set!!!' unless root_exist
|
|
144
144
|
root ||= " PROCESSING_ROOT = #{Processing::RP_CONFIG['PROCESSING_ROOT']}"
|
|
145
145
|
jruby = Processing::RP_CONFIG['JRUBY']
|
|
146
|
-
x_off = Processing::RP_CONFIG['X_OFF']
|
|
147
|
-
y_off = Processing::RP_CONFIG['Y_OFF']
|
|
148
146
|
puts root
|
|
149
147
|
puts " JRUBY = #{jruby}" unless jruby.nil?
|
|
150
|
-
puts " X_OFF = #{x_off}" unless x_off.nil?
|
|
151
|
-
puts " Y_OFF = #{y_off}" unless y_off.nil?
|
|
152
148
|
puts " jruby-complete installed = #{installed}"
|
|
153
149
|
end
|
|
154
150
|
|
|
@@ -165,10 +161,10 @@ module Processing
|
|
|
165
161
|
private
|
|
166
162
|
|
|
167
163
|
# Trade in this Ruby instance for a JRuby instance, loading in a starter
|
|
168
|
-
# script and passing it some arguments.Unless '--nojruby' is passed, the
|
|
164
|
+
# script and passing it some arguments. Unless '--nojruby' is passed, the
|
|
169
165
|
# installed version of jruby is used instead of our vendored jarred one
|
|
170
166
|
# (which is required for some sketches eg shaders). To use
|
|
171
|
-
# jruby-complete by default set JRUBY: false in ~/.
|
|
167
|
+
# jruby-complete by default set JRUBY: false in ~/.jruby_art/config.yml
|
|
172
168
|
# (but that will make using other gems in your sketches hard....)
|
|
173
169
|
def spin_up(starter_script, sketch, args)
|
|
174
170
|
runner = "#{K9_ROOT}/lib/jruby_art/runners/#{starter_script}"
|
data/lib/jruby_art/version.rb
CHANGED
data/lib/rpextras.jar
CHANGED
|
Binary file
|
data/vendors/Rakefile
CHANGED
|
@@ -8,8 +8,8 @@ WARNING = <<-EOS
|
|
|
8
8
|
|
|
9
9
|
EOS
|
|
10
10
|
|
|
11
|
-
JRUBYC_VERSION = '9.0.
|
|
12
|
-
EXAMPLES = '1.
|
|
11
|
+
JRUBYC_VERSION = '9.0.4.0'
|
|
12
|
+
EXAMPLES = '1.1'
|
|
13
13
|
HOME_DIR = ENV['HOME']
|
|
14
14
|
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
|
|
15
15
|
|
|
@@ -27,7 +27,7 @@ file "jruby-complete-#{JRUBYC_VERSION}.jar" do
|
|
|
27
27
|
rescue
|
|
28
28
|
warn(WARNING)
|
|
29
29
|
end
|
|
30
|
-
check_sha1("jruby-complete-#{JRUBYC_VERSION}.jar", "
|
|
30
|
+
check_sha1("jruby-complete-#{JRUBYC_VERSION}.jar", "4f094b4b7915def9d1cd35ce69ee12c1f102c8b2")
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
directory "../lib/ruby"
|
metadata
CHANGED
|
@@ -1,68 +1,40 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jruby_art
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Ashkenas
|
|
8
8
|
- Guillaume Pierronnet
|
|
9
9
|
- Martin Prout
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
|
|
17
|
-
requirements:
|
|
18
|
-
- - "~>"
|
|
19
|
-
- !ruby/object:Gem::Version
|
|
20
|
-
version: '1.10'
|
|
21
|
-
name: bundler
|
|
22
|
-
prerelease: false
|
|
23
|
-
type: :development
|
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
requirements:
|
|
26
|
-
- - "~>"
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
version: '1.10'
|
|
29
|
-
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: rake
|
|
30
17
|
requirement: !ruby/object:Gem::Requirement
|
|
31
18
|
requirements:
|
|
32
19
|
- - "~>"
|
|
33
20
|
- !ruby/object:Gem::Version
|
|
34
21
|
version: '10.4'
|
|
35
|
-
name: rake
|
|
36
|
-
prerelease: false
|
|
37
22
|
type: :development
|
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
-
requirements:
|
|
40
|
-
- - "~>"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '10.4'
|
|
43
|
-
- !ruby/object:Gem::Dependency
|
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
|
45
|
-
requirements:
|
|
46
|
-
- - "~>"
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
version: '0.9'
|
|
49
|
-
name: rake-compiler
|
|
50
23
|
prerelease: false
|
|
51
|
-
type: :development
|
|
52
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
25
|
requirements:
|
|
54
26
|
- - "~>"
|
|
55
27
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: '
|
|
28
|
+
version: '10.4'
|
|
57
29
|
- !ruby/object:Gem::Dependency
|
|
30
|
+
name: minitest
|
|
58
31
|
requirement: !ruby/object:Gem::Requirement
|
|
59
32
|
requirements:
|
|
60
33
|
- - "~>"
|
|
61
34
|
- !ruby/object:Gem::Version
|
|
62
35
|
version: '5.8'
|
|
63
|
-
name: minitest
|
|
64
|
-
prerelease: false
|
|
65
36
|
type: :development
|
|
37
|
+
prerelease: false
|
|
66
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
67
39
|
requirements:
|
|
68
40
|
- - "~>"
|
|
@@ -111,7 +83,8 @@ homepage: https://ruby-processing.github.io/
|
|
|
111
83
|
licenses:
|
|
112
84
|
- MIT
|
|
113
85
|
metadata: {}
|
|
114
|
-
post_install_message: Use 'k9 setup install' to install jruby-complete, and 'k9 setup
|
|
86
|
+
post_install_message: Use 'k9 setup install' to install jruby-complete, and 'k9 setup
|
|
87
|
+
check' to check config.
|
|
115
88
|
rdoc_options: []
|
|
116
89
|
require_paths:
|
|
117
90
|
- lib
|
|
@@ -119,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
119
92
|
requirements:
|
|
120
93
|
- - ">="
|
|
121
94
|
- !ruby/object:Gem::Version
|
|
122
|
-
version: '2.
|
|
95
|
+
version: '2.2'
|
|
123
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
97
|
requirements:
|
|
125
98
|
- - ">="
|
|
@@ -128,10 +101,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
101
|
requirements:
|
|
129
102
|
- A decent graphics card
|
|
130
103
|
- java runtime >= 1.8+
|
|
131
|
-
- processing = 3.0+
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
104
|
+
- processing = 3.0.1+
|
|
105
|
+
- maven = 3.3.3
|
|
106
|
+
rubyforge_project:
|
|
107
|
+
rubygems_version: 2.5.0
|
|
108
|
+
signing_key:
|
|
135
109
|
specification_version: 4
|
|
136
110
|
summary: Code as Art, Art as Code. Processing and Ruby are meant for each other.
|
|
137
111
|
test_files: []
|