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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 871f9994cf154b8e5f8273b71ec1ae5e95465e59
4
- data.tar.gz: 3e0bab9affa5a74f596d2e2d74e5c5b525b98328
3
+ metadata.gz: 8110714e9ebc0e3b329af7eeedfa5136b9f86fe9
4
+ data.tar.gz: e8e9b3c8c7ef22aefba1cd3d7cbb05c45499db5d
5
5
  SHA512:
6
- metadata.gz: a94a5ce02de30ffebbfc7f672e8900206b070aa752964ce2f92b37179a4ef7c2cfbbf94a9af355693a09033633d2dabea035f8026ba4e3127b240bf34f23f94a
7
- data.tar.gz: a7f6a8bdb65170d293ec798e74a4d2ca6e1be10c092d3f506be513f3892121486fb740dd3f93cf6f625e12d55822851dba04737d5b3226c019ae625714cc347c
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...
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
  # A wrapper for version
4
4
  module JRubyArt
5
- VERSION = '1.0.6'
5
+ VERSION = '1.0.7'
6
6
  end
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.5.0'
12
- EXAMPLES = '1.5'
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", "7fe1054bf6085f24b9e3069d3e93abf8f17d1448f503eaea2042f98bce2a1d43")
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.6
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-04-24 00:00:00.000000000 Z
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 The
44
- current release features examples using hype library by Joshua Davis.\n This version
45
- supports processing-3.0.2, and uses jruby-9.0.5.0 as the glue \n between ruby
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,