jruby_art 0.5.0 → 0.6.0
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.rb +0 -1
- data/lib/jruby_art/app.rb +9 -1
- data/lib/jruby_art/helper_methods.rb +0 -6
- data/lib/jruby_art/helpers/aabb.rb +2 -2
- data/lib/jruby_art/version.rb +1 -1
- data/lib/rpextras.jar +0 -0
- data/vendors/Rakefile +2 -2
- metadata +4 -5
- data/lib/jruby_art/helpers/range.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fceab1142374ca38acb379dbe9043eef90365fda
|
4
|
+
data.tar.gz: 7a92e754bc8abaea389f0ac47e1ae155e654644b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db75b6d6c937604447b9b5cb014ad930d220157b3dee2f2684788f9b1e3ba98b000fa5fdc7d32948fa6db4666a94b04e9d3e6fe1edf5ce56328e895f58b401d
|
7
|
+
data.tar.gz: a3add7d033e0f273b8d738c49fd8076307a3cc926088004efc9f9a3c3fba8f4353e1f2bc3f99ee6da815bfa4b1798e89da1cc2927eabd8c6102c71d9be66a16b
|
data/lib/jruby_art.rb
CHANGED
data/lib/jruby_art/app.rb
CHANGED
@@ -122,7 +122,15 @@ module Processing
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def sketch_title(title)
|
125
|
-
surface.
|
125
|
+
surface.set_title(title)
|
126
|
+
end
|
127
|
+
|
128
|
+
def sketch_size(x, y)
|
129
|
+
surface.set_size(x, y)
|
130
|
+
end
|
131
|
+
|
132
|
+
def resizable(arg = true)
|
133
|
+
surface.set_resizable(arg)
|
126
134
|
end
|
127
135
|
|
128
136
|
def post_initialize(_args)
|
@@ -80,12 +80,6 @@ module Processing
|
|
80
80
|
fail ArgumentError, 'takes 4 or 6 parameters'
|
81
81
|
end
|
82
82
|
|
83
|
-
# explicitly provide 'processing.org' constrain instance method
|
84
|
-
# to return a float:- amt, low and high need to be floats
|
85
|
-
def constrain(amt, low, high)
|
86
|
-
(low..high).clip(amt)
|
87
|
-
end
|
88
|
-
|
89
83
|
# Uses PImage class method under hood
|
90
84
|
def blend_color(c1, c2, mode)
|
91
85
|
Java::ProcessingCore::PImage.blendColor(c1, c2, mode)
|
data/lib/jruby_art/version.rb
CHANGED
data/lib/rpextras.jar
CHANGED
Binary file
|
data/vendors/Rakefile
CHANGED
@@ -8,7 +8,7 @@ WARNING = <<-EOS
|
|
8
8
|
|
9
9
|
EOS
|
10
10
|
|
11
|
-
JRUBYC_VERSION = '9.0.
|
11
|
+
JRUBYC_VERSION = '9.0.1.0'
|
12
12
|
EXAMPLES = '0.6'
|
13
13
|
HOME_DIR = ENV['HOME']
|
14
14
|
MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
|
@@ -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", "523f0054455d85cdfc53af6eb8e925228feb9777")
|
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: 0.
|
4
|
+
version: 0.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: 2015-
|
13
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ dependencies:
|
|
84
84
|
version: '3.3'
|
85
85
|
description: |2
|
86
86
|
JRubyArt is a ruby wrapper for the processing art framework.
|
87
|
-
The current version supports processing-3.
|
87
|
+
The current version supports processing-3.0b5, and uses jruby-9.0.1.0
|
88
88
|
as the glue between ruby and java. You can use both processing libraries and ruby
|
89
89
|
gems in your sketches. Features create/run/watch/live modes. The "watch" mode,
|
90
90
|
provides a nice REPL-ish way to work on your processing sketches. Includes:-
|
@@ -106,7 +106,6 @@ files:
|
|
106
106
|
- lib/jruby_art/helpers/aabb.rb
|
107
107
|
- lib/jruby_art/helpers/camel_string.rb
|
108
108
|
- lib/jruby_art/helpers/numeric.rb
|
109
|
-
- lib/jruby_art/helpers/range.rb
|
110
109
|
- lib/jruby_art/helpers/string_extra.rb
|
111
110
|
- lib/jruby_art/library_loader.rb
|
112
111
|
- lib/jruby_art/runner.rb
|
@@ -143,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
142
|
requirements:
|
144
143
|
- A decent graphics card
|
145
144
|
- java runtime >= 1.8+
|
146
|
-
- processing = 3.
|
145
|
+
- processing = 3.0b5+
|
147
146
|
rubyforge_project:
|
148
147
|
rubygems_version: 2.4.8
|
149
148
|
signing_key:
|