jruby_art 1.2.8 → 1.2.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebf4e0e9543d34a691190a32b124c92c83acb263
4
- data.tar.gz: 5f5c169933e317f65d1efeffa9fcdc8086c83c01
3
+ metadata.gz: 5a546d2ddb8d8bec07eff66933fe94a58a9b4bfe
4
+ data.tar.gz: 9169d2704cedb767444c204c364bcc679667bf51
5
5
  SHA512:
6
- metadata.gz: '091a86a696a90c174d5c8d506adc2f656bfaf4ed473b19fa55f9da8d2faa320b47ab3e07e0be44d38f910df603bbd4b8203b2036c3a2d993fd12e056285cc2ec'
7
- data.tar.gz: 8d3861eb7bcb6f8105b97c36536805738c346aae8e7c7ecd4145ba28793b13cbcf3b7cf341699f085ef05dcf1a6a4f1831a77f83f921f6b589784484477bfe22
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
- (0...cols * rows).map do |i|
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
  require 'yaml'
3
3
 
4
- VERSION = '3.2.3'.freeze # processing version
4
+ VERSION = '3.3'.freeze # processing version
5
5
 
6
6
  # Abstract Installer class
7
7
  class Installer
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # A wrapper for version
3
3
  module JRubyArt
4
- VERSION = '1.2.8'.freeze
4
+ VERSION = '1.2.9'.freeze
5
5
  end
data/lib/rpextras.jar CHANGED
Binary file
data/vendors/Rakefile CHANGED
@@ -9,7 +9,7 @@ WARNING = <<-EOS.freeze
9
9
  EOS
10
10
 
11
11
  JRUBYC_VERSION = '9.1.7.0'
12
- EXAMPLES = '1.9'
12
+ EXAMPLES = '2.0'
13
13
  HOME_DIR = ENV['HOME']
14
14
  MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
15
15
 
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.8
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-01-31 00:00:00.000000000 Z
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: |2
44
- JRubyArt is a ruby wrapper for the processing art framework.
45
- Use both processing libraries and ruby gems in your sketches. Features
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