jruby_art 1.0.6 → 1.0.7
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/helper_methods.rb +8 -0
- data/lib/jruby_art/version.rb +1 -1
- data/lib/rpextras.jar +0 -0
- data/vendors/Rakefile +3 -3
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8110714e9ebc0e3b329af7eeedfa5136b9f86fe9
|
4
|
+
data.tar.gz: e8e9b3c8c7ef22aefba1cd3d7cbb05c45499db5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11225c5809bebc9aa2089cbac81e2a78cf2bf87c3d159a68c1cbc2bf97e3d2bdb436be4657695f89e7709446a63d91814476ff56001e5fff98ea4a61376c6327
|
7
|
+
data.tar.gz: a5f955b334e4e6d1c1277bb26be820557e94a9686af2e965c1fe89d756ad054b8e4a645162caf4094847f8ca33ec460d5e1e98c9e8d3c3befe1df4838aa3da80
|
@@ -46,6 +46,14 @@ module Processing
|
|
46
46
|
return super(*args) unless args.length == 1
|
47
47
|
super(hex_color(args[0]))
|
48
48
|
end
|
49
|
+
|
50
|
+
def web_to_color_array(web)
|
51
|
+
Java::Monkstone::ColorUtil.webArray(web)
|
52
|
+
end
|
53
|
+
|
54
|
+
def int_to_ruby_colors(hex)
|
55
|
+
Java::Monkstone::ColorUtil.rubyString(hex)
|
56
|
+
end
|
49
57
|
|
50
58
|
# Overrides Processing convenience function thread, which takes a String
|
51
59
|
# arg (for a function) to more rubylike version, takes a block...
|
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.1.0.0'
|
12
|
+
EXAMPLES = '1.6'
|
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_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", "
|
30
|
+
check_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", "8a4b5f4cbdcfd43272002a543a59abfbf419577ef679273d4893a4f09594267e")
|
31
31
|
end
|
32
32
|
|
33
33
|
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.0.
|
4
|
+
version: 1.0.7
|
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: 2016-
|
13
|
+
date: 2016-05-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -40,10 +40,9 @@ dependencies:
|
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '5.8'
|
43
|
-
description: " JRubyArt is a ruby wrapper for the processing art framework.\n
|
44
|
-
|
45
|
-
|
46
|
-
and java. You can use both processing libraries and ruby gems \n in your sketches.
|
43
|
+
description: " JRubyArt is a ruby wrapper for the processing art framework.\n This
|
44
|
+
version supports processing-3.0.2, and uses jruby-9.1.0.0 as the glue \n between
|
45
|
+
ruby and java. You can use both processing libraries and ruby gems \n in your sketches.
|
47
46
|
Features create/run/watch/live modes. The \"watch\" mode,\n provides a nice REPL-ish
|
48
47
|
way to work on your processing sketches. Includes:-\n A \"Control Panel\" library,
|
49
48
|
so that you can easily create sliders, buttons,\n checkboxes and drop-down menus,
|