jruby_art 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jruby_art/installer.rb +1 -1
- data/lib/jruby_art/version.rb +1 -1
- data/lib/rpextras.jar +0 -0
- data/library/color_group/color_group.rb +26 -0
- data/vendors/Rakefile +3 -3
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84cc485001db3b20b00cd886945eacc00513b9941b6a5db19a5919c6e50b4ef4
|
4
|
+
data.tar.gz: b16776047856d509191c03fe4a11dbd957da6f1e9768dff76e0ce4186578d0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdb98851670c58a909cbee43f90b5519e8944e9f8565fa2501f31aa468b1a2f3c7704717ef1bcb9809579b07ed8bd23eaefed5546ce449fc347b3dcf584da2cc
|
7
|
+
data.tar.gz: f466f428a0e7a3c7d8e1f3d35d0d50efacae38e803b590a285b704cc530edcbdc161939bc0773b576c39cbff6b8a74ae7d06c8fc351bb5dd53302b8abd4631ea
|
data/lib/jruby_art/installer.rb
CHANGED
data/lib/jruby_art/version.rb
CHANGED
data/lib/rpextras.jar
CHANGED
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
java_import Java::Monkstone::ColorUtil
|
2
|
+
|
3
|
+
# class wraps a java color array, supports shuffle!, last and ruby_string
|
4
|
+
# as well as ability to initialize with an array of "web" color string
|
5
|
+
class ColorGroup
|
6
|
+
attr_reader :colors
|
7
|
+
def initialize(p5cols)
|
8
|
+
@colors = p5cols
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.from_web_array(web)
|
12
|
+
ColorGroup.new(ColorUtil.web_array(web))
|
13
|
+
end
|
14
|
+
|
15
|
+
def shuffle!
|
16
|
+
@colors = ColorUtil.shuffle(colors)
|
17
|
+
end
|
18
|
+
|
19
|
+
def ruby_string
|
20
|
+
ColorUtil.rubyString(colors)
|
21
|
+
end
|
22
|
+
|
23
|
+
def last
|
24
|
+
colors[0]
|
25
|
+
end
|
26
|
+
end
|
data/vendors/Rakefile
CHANGED
@@ -9,9 +9,9 @@ WARNING = <<-EOS.freeze
|
|
9
9
|
EOS
|
10
10
|
|
11
11
|
|
12
|
-
JRUBYC_VERSION = '9.2.
|
12
|
+
JRUBYC_VERSION = '9.2.1.0'
|
13
13
|
|
14
|
-
EXAMPLES = '3.
|
14
|
+
EXAMPLES = '3.2'
|
15
15
|
HOME_DIR = ENV['HOME']
|
16
16
|
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
|
17
17
|
|
@@ -29,7 +29,7 @@ file "jruby-complete-#{JRUBYC_VERSION}.jar" do
|
|
29
29
|
rescue
|
30
30
|
warn(WARNING)
|
31
31
|
end
|
32
|
-
check_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", "
|
32
|
+
check_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", "25998288595780e092cdac048c61d9cf0125095cbde254ae0ed2b0cfd8a7f9d2")
|
33
33
|
end
|
34
34
|
|
35
35
|
directory "../lib/ruby"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby_art
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Ashkenas
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-07
|
13
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -40,9 +40,10 @@ dependencies:
|
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '5.10'
|
43
|
-
description:
|
44
|
-
|
45
|
-
|
43
|
+
description: |2
|
44
|
+
JRubyArt is a ruby wrapper for the processing art framework, with enhanced
|
45
|
+
functionality. Use both processing libraries and ruby gems in your sketches.
|
46
|
+
Features create/run/watch/live modes.
|
46
47
|
email: mamba2928@yahoo.co.uk
|
47
48
|
executables:
|
48
49
|
- k9
|
@@ -75,6 +76,7 @@ files:
|
|
75
76
|
- lib/rpextras.jar
|
76
77
|
- library/boids/boids.rb
|
77
78
|
- library/chooser/chooser.rb
|
79
|
+
- library/color_group/color_group.rb
|
78
80
|
- library/control_panel/control_panel.rb
|
79
81
|
- library/library_proxy/README.md
|
80
82
|
- library/library_proxy/library_proxy.rb
|
@@ -103,10 +105,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
105
|
version: '0'
|
104
106
|
requirements:
|
105
107
|
- A decent graphics card
|
106
|
-
- java runtime >= 1.8.
|
107
|
-
- processing = 3.
|
108
|
+
- java runtime >= 1.8.0_171+
|
109
|
+
- processing = 3.4
|
108
110
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.7.
|
111
|
+
rubygems_version: 2.7.7
|
110
112
|
signing_key:
|
111
113
|
specification_version: 4
|
112
114
|
summary: Code as Art, Art as Code. Processing and Ruby are meant for each other.
|