Skip to content

Commit

Permalink
bump processing version
Browse files Browse the repository at this point in the history
  • Loading branch information
monkstone committed Apr 26, 2017
1 parent bd1ed29 commit 609d311
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: ruby
sudo: false

rvm:
- jruby-9.1.6.0
rvm:
- jruby-9.1.8.0
jdk:
- oraclejdk8
os:
- linux

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v1.0.0
Update to latest processing-3.3.2

### v1.0.0

Specify github pages as home, update to latest jruby-9.1.8.0 and processing-3.3
Expand Down
2 changes: 1 addition & 1 deletion docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: /about/
categories: jruby_art update
---

[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.2.1][processing]. Create processing sketches in ruby using regular ruby-2.3 syntax, and use the magic [JRuby][jruby] to run them. You can use both rubygems and and regular processing libraries in your sketches. Features run, watch and live modes (uses pry).
[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.3.2][processing]. Create processing sketches in ruby using regular ruby-2.3 syntax, and use the magic [JRuby][jruby] to run them. You can use both rubygems and and regular processing libraries in your sketches. Features run, watch and live modes (uses pry).

In general where there is a choice of using a java (processing) method or a regular ruby method you should choose the ruby method (eg use `rand` in place of `random`). Further you should prefer to use `JRuby` classes `Vec2D` and `Vec3D` instead of processings `PVector` class. Processing has a number of convenience methods which are not needed in ruby (eg 'pow' use `**` in JRubyArt) and some static methods have not been implemented in JRubyArt. For the processing `map` method prefer `map1d` ([see example][map1d]) or use `p5map` if you must. Another thing to watch is `color` which is implemented differently in JRubyArt ([see example][color]).

Expand Down
2 changes: 1 addition & 1 deletion lib/pbox2d/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# module to give version a namespace
module Pbox2d
VERSION = '1.0.0'
VERSION = '1.0.1'
end
4 changes: 2 additions & 2 deletions pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
project 'pbox2d', 'https://github.com/ruby-processing/jbox2d' do

model_version '4.0.0'
id 'ruby-processing:pbox2d', '1.0.0'
id 'ruby-processing:pbox2d', '1.0.1'
packaging 'jar'

description 'jbox2d for JRubyArt'
Expand Down Expand Up @@ -35,7 +35,7 @@


pom 'org.jruby:jruby:9.1.8.0'
jar 'org.processing:core:3.3.0'
jar 'org.processing:core:3.3.2'

plugin_management do
plugin :resources, '2.6'
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
<modelVersion>4.0.0</modelVersion>
<groupId>ruby-processing</groupId>
<artifactId>pbox2d</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<name>pbox2d</name>
<description>jbox2d for JRubyArt</description>
<url>https://github.com/ruby-processing/jbox2d</url>
Expand Down Expand Up @@ -62,7 +62,7 @@ DO NOT MODIFIY - GENERATED CODE
<dependency>
<groupId>org.processing</groupId>
<artifactId>core</artifactId>
<version>3.3.0</version>
<version>3.3.2</version>
</dependency>
</dependencies>
<build>
Expand Down

0 comments on commit 609d311

Please sign in to comment.