propane 2.0.5-java → 2.0.6-java

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: 5794ce5b552d6e659f1f8be32ddf767a6a1dc62b
4
- data.tar.gz: 2df804a15ad3310758a389505f7dd662e94c95f6
3
+ metadata.gz: b171b89a1fbca7ab63db7e379cd918eded803696
4
+ data.tar.gz: 1b6e910227f25b1ccaeebc58950499884ef894bf
5
5
  SHA512:
6
- metadata.gz: 57cd3ed713c358931fb654e1d15408db641962bfcddc3a617c064a1bfe67263d4e691757ec85525a146a46a8d7bef373092effac79346290e54f79c9d6fd5f2c
7
- data.tar.gz: 3719b85da86446105118d3e1e688264d2fa26c40c083d3e25b1b63716c16e4258005a8eb91918fa6a525b1557f404852a95317fc1ea5f251faddceb541aac1c3
6
+ metadata.gz: 10a60b40f76d0d247ecbec945390996e7ee40e504abed3cc0a54496d79d882d4a6535cb0100c2f93a788baff0a8f62731ed5968439a30d9ea21cb7c2fb5fb1fc
7
+ data.tar.gz: 0c592fba0c235f8e36f354d4339cb151bc34f21c53f8861c1a78441945e9aab3e0adc9ce9d5deba4c47f39e59093703569384212d450a7907e60921da49c033c
@@ -1,5 +1,6 @@
1
- **v2.0.5** Update to processing-3.2.2, fix local library load, add proxy_library expand samples
1
+ **v2.0.6** Update to core processing-3.2.3
2
2
 
3
+ **v2.0.5** Update to processing-3.2.2, fix local library load, add proxy_library expand samples
3
4
  **v2.0.4** Correct `norm_strict`, add `math_tool_test` add `simplex_noise` expand samples
4
5
 
5
6
  **v2.0.3** Suggest use of jruby-9.1.4.0, more about loading vanilla libraries
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # Propane
2
2
  [![Gem Version](https://badge.fury.io/rb/propane.svg)](https://badge.fury.io/rb/propane)
3
3
 
4
- A slim layer to communicate with Processing from JRuby, features a polyglot maven build. We have created a configuration free version of ruby processing, for processing-3.2.1+, where we include processing core (from a local maven repository and opengl etc from maven central). These jars are small enough to include in a gem distribution, and hence we do not require configuration. This has created a scriptable version, ie files get run direct from jruby, but you could use jruby-complete if you used the propane script (avoids need to give the absolute data path for the data folder, but would also be needed for a watch mode). NB: currently we only include linux64 and macOS opengl binaries, please fork this repository to include binaries for your OS if not included. See guide to [building ruby-processing projects][building].
4
+ A slim layer to communicate with Processing from JRuby, features a polyglot maven build. We have created a configuration free version of ruby processing, for processing-3.2.3, where we include processing core (from a local maven repository and opengl etc from maven central). These jars are small enough to include in a gem distribution, and hence we do not require configuration. This has created a scriptable version, ie files get run direct from jruby, but you could use jruby-complete if you used the propane script (avoids need to give the absolute data path for the data folder, but would also be needed for a watch mode). NB: currently we only include linux64 and macOS opengl binaries, please fork this repository to include binaries for your OS if not included. See guide to [building ruby-processing projects][building].
5
5
 
6
6
  ## Requirements
7
7
 
8
8
  - jdk8+ since version 0.6.0
9
9
  - jruby-9.1.5.0+
10
10
  - mvn-3.3.1+ (development only)
11
- - core.jar processing-3.2.1 (development only until processing.org is available at maven central)
11
+ - core.jar processing-3.2.3 (development only until processing.org is available at maven central)
12
12
 
13
13
  ## Building and testing
14
14
 
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ def create_manifest
7
7
  File.open('MANIFEST.MF', 'w') do |f|
8
8
  f.puts(title)
9
9
  f.puts(version)
10
- f.puts('Class-Path: core-3.2.2.jar gluegen-rt-2.3.2.jar jog-all-2.3.2.jar')
10
+ f.puts('Class-Path: core-3.2.3.jar gluegen-rt-2.3.2.jar jog-all-2.3.2.jar')
11
11
  end
12
12
  end
13
13
 
@@ -180,13 +180,13 @@ module Propane
180
180
 
181
181
  private
182
182
 
183
- FIXNUM_COL = -> (x) { x.is_a?(Fixnum) }
183
+ INTEGER_COL = -> (x) { x.is_a?(Integer) }
184
184
  STRING_COL = -> (x) { x.is_a?(String) }
185
185
  FLOAT_COL = -> (x) { x.is_a?(Float) }
186
186
  # parse single argument color int/double/String
187
187
  def hex_color(a)
188
188
  case a
189
- when FIXNUM_COL
189
+ when INTEGER_COL
190
190
  Java::Monkstone::ColorUtil.colorLong(a)
191
191
  when STRING_COL
192
192
  return Java::Monkstone::ColorUtil.colorString(a) if a =~ /#\h+/
@@ -1,5 +1,4 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
  module Propane
4
- VERSION = '2.0.5'.freeze
3
+ VERSION = '2.0.6'.freeze
5
4
  end
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
  # Here's a little library for quickly hooking up in sketch sliders.
4
3
  # Copyright (c) 2016 Martin Prout.
data/pom.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'fileutils'
2
2
  project 'rp5extras', 'https://github.com/monkstone/propane' do
3
3
  model_version '4.0.0'
4
- id 'propane:propane', '2.0.5'
4
+ id 'propane:propane', '2.0.6'
5
5
  packaging 'jar'
6
6
  description 'rp5extras for propane'
7
7
  organization 'ruby-processing', 'https://ruby-processing.github.io'
@@ -33,7 +33,7 @@ project 'rp5extras', 'https://github.com/monkstone/propane' do
33
33
  )
34
34
 
35
35
  pom 'org.jruby:jruby:9.1.5.0'
36
- jar 'org.processing:core:3.2.2'
36
+ jar 'org.processing:core:3.2.3'
37
37
  jar 'org.processing:video:3.0.2'
38
38
  jar('org.jogamp.jogl:jogl-all:${jogl.version}')
39
39
  jar('org.jogamp.gluegen:gluegen-rt-main:${jogl.version}')
@@ -44,7 +44,7 @@ project 'rp5extras', 'https://github.com/monkstone/propane' do
44
44
  execute_goals( id: 'default-cli',
45
45
  artifactItems: [ { groupId: 'org.processing',
46
46
  artifactId: 'core',
47
- version: '3.2.2',
47
+ version: '3.2.3',
48
48
  type: 'jar',
49
49
  outputDirectory: '${propane.basedir}/lib'
50
50
  },
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>propane</groupId>
13
13
  <artifactId>propane</artifactId>
14
- <version>2.0.5</version>
14
+ <version>2.0.6</version>
15
15
  <name>rp5extras</name>
16
16
  <description>rp5extras for propane</description>
17
17
  <url>https://github.com/monkstone/propane</url>
@@ -64,7 +64,7 @@ DO NOT MODIFIY - GENERATED CODE
64
64
  <dependency>
65
65
  <groupId>org.processing</groupId>
66
66
  <artifactId>core</artifactId>
67
- <version>3.2.2</version>
67
+ <version>3.2.3</version>
68
68
  </dependency>
69
69
  <dependency>
70
70
  <groupId>org.processing</groupId>
@@ -103,7 +103,7 @@ DO NOT MODIFIY - GENERATED CODE
103
103
  <artifactItem>
104
104
  <groupId>org.processing</groupId>
105
105
  <artifactId>core</artifactId>
106
- <version>3.2.2</version>
106
+ <version>3.2.3</version>
107
107
  <type>jar</type>
108
108
  <outputDirectory>${propane.basedir}/lib</outputDirectory>
109
109
  </artifactItem>
@@ -10,11 +10,11 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ['mamba2928@yahoo.co.uk']
11
11
  gem.licenses = %w(GPL-3.0 LGPL-2.0)
12
12
  gem.description = %q{A batteries included version of processing in ruby, macOS and linux}
13
- gem.summary = %q{A jruby wrapper for processing-3.2.2}
13
+ gem.summary = %q{A jruby wrapper for processing-3.2.3}
14
14
  gem.homepage = 'https://ruby-processing.github.io/propane/'
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.files << 'lib/propane.jar'
17
- gem.files << 'lib/core-3.2.2.jar'
17
+ gem.files << 'lib/core-3.2.3.jar'
18
18
  gem.files << 'lib/gluegen-rt-2.3.2.jar'
19
19
  gem.files << 'lib/jogl-all-2.3.2.jar'
20
20
  gem.files << 'lib/gluegen-rt-2.3.2-natives-linux-amd64.jar'
@@ -9,7 +9,7 @@ SOUND = 'sound.zip'.freeze
9
9
  SOUND_VERSION = 'v1.3.2' # version 1.3.2
10
10
  VIDEO = 'video-2.zip'
11
11
  VIDEO_VERSION = '2' # version 1.0.1
12
- EXAMPLES = '0.5'.freeze
12
+ EXAMPLES = '0.6'.freeze
13
13
  HOME_DIR = ENV['HOME']
14
14
  MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2016-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arcball
@@ -45,7 +45,7 @@ files:
45
45
  - Rakefile
46
46
  - bin/propane
47
47
  - lib/PROCESSING_LICENSE.txt
48
- - lib/core-3.2.2.jar
48
+ - lib/core-3.2.3.jar
49
49
  - lib/export.txt
50
50
  - lib/gluegen-rt-2.3.2-natives-linux-amd64.jar
51
51
  - lib/gluegen-rt-2.3.2-natives-macosx-universal.jar
@@ -131,7 +131,7 @@ rubyforge_project:
131
131
  rubygems_version: 2.6.3
132
132
  signing_key:
133
133
  specification_version: 4
134
- summary: A jruby wrapper for processing-3.2.2
134
+ summary: A jruby wrapper for processing-3.2.3
135
135
  test_files:
136
136
  - test/create_test.rb
137
137
  - test/deglut_spec_test.rb