jruby_art 1.2.8 → 1.2.9
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 +3 -8
- data/lib/jruby_art/installer.rb +1 -1
- data/lib/jruby_art/version.rb +1 -1
- data/lib/rpextras.jar +0 -0
- data/vendors/Rakefile +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a546d2ddb8d8bec07eff66933fe94a58a9b4bfe
|
4
|
+
data.tar.gz: 9169d2704cedb767444c204c364bcc679667bf51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c30db2ffa7956684c7c526f68bef2e7f0ed120a231d64d3fafae2700e0169f6f366f8ae3a805ed4a8406cfcf416ed6be3a28afaebaacd7bf547d0e6d8c3af48
|
7
|
+
data.tar.gz: 07be0723e66c76b74dc982040ea2baa2e5711d3a430650bc09fde36f8cbd73492f53950321eae41071ffa109c2349d20cc93342b72e5b24f4fb4545c19d6ce27
|
@@ -37,13 +37,8 @@ module Processing
|
|
37
37
|
|
38
38
|
# A nice method to run a given block for a grid.
|
39
39
|
# Lifted from action_coding/Nodebox.
|
40
|
-
def grid(cols, rows, col_size = 1, row_size = 1)
|
41
|
-
|
42
|
-
x = col_size * (i % cols)
|
43
|
-
y = row_size * i.div(cols)
|
44
|
-
yield x, y
|
45
|
-
end
|
46
|
-
end
|
40
|
+
# def grid(cols, rows, col_size = 1, row_size = 1) { |x, y| block_stuff }
|
41
|
+
# NB: now implemented in java
|
47
42
|
|
48
43
|
# lerp_color takes three or four arguments, in Java that's two
|
49
44
|
# different methods, one regular and one static, so:
|
@@ -181,7 +176,7 @@ module Processing
|
|
181
176
|
|
182
177
|
private
|
183
178
|
|
184
|
-
FIXNUM_COL = -> (x) { x.is_a?(Integer) }
|
179
|
+
FIXNUM_COL = -> (x) { x.is_a?(Integer) }
|
185
180
|
STRING_COL = -> (x) { x.is_a?(String) }
|
186
181
|
FLOAT_COL = -> (x) { x.is_a?(Float) }
|
187
182
|
# parse single argument color int/double/String
|
data/lib/jruby_art/installer.rb
CHANGED
data/lib/jruby_art/version.rb
CHANGED
data/lib/rpextras.jar
CHANGED
Binary file
|
data/vendors/Rakefile
CHANGED
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.2.
|
4
|
+
version: 1.2.9
|
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: 2017-
|
13
|
+
date: 2017-02-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -40,11 +40,9 @@ dependencies:
|
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '5.8'
|
43
|
-
description:
|
44
|
-
|
45
|
-
|
46
|
-
create/run/watch/live modes. The "--watch" mode, provides a nice REPL-ish
|
47
|
-
way to work on your processing sketches. NB: See homepage for documentation.
|
43
|
+
description: " JRubyArt is a ruby wrapper for the processing art framework, with
|
44
|
+
enhanced\n functionality. Use both processing libraries and ruby gems in your sketches.
|
45
|
+
\n Features create/run/watch/live modes.\n"
|
48
46
|
email: mamba2928@yahoo.co.uk
|
49
47
|
executables:
|
50
48
|
- k9
|