Skip to content

Commit 167a167

Browse files
committed
new run-app mode
1 parent fd843e3 commit 167a167

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
v2.7.0 bump version in recognition of the 'new' run-app option see wiki Getting-Started
2+
13
v2.6.18 update to jruby-complete-1.7.25, to allow travis testing, anyone wishing to update to jruby-complete-9.0.5.0+ should try out `propane`.
24

35
v2.6.17 move to a polyglot maven build and update to jruby-complete-1.7.24, to allow travis testing, should be easy to update to jruby-complete-9.0+ if required. Updating processing version is unecessary because JRubyArt does that.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To install jruby-complete use our built in tool (relies on `wget` to download [j
2424

2525
since ruby-processing-2.5.0 `rp5 setup install` (was `install_jruby_complete`)
2626

27-
If you haven't got `wget` just download jruby-complete-1.7.25 (for ruby-processing-2.6.18) to the vendors folder (then run above tool)
27+
If you haven't got `wget` just download jruby-complete-1.7.25 (for ruby-processing-2.7.0) to the vendors folder (then run above tool)
2828

2929
The vendored jruby-complete is only required for application export, and running certain sketches (eg shader sketches see [wiki][]).
3030

@@ -104,7 +104,7 @@ This gem has been tested with the following ruby implementations
104104
* Ruby 2.1.2
105105
* Ruby 2.2.1
106106
* Ruby 2.3.0
107-
* [JRuby][] preferred use jruby-1.7.XX but also works with jruby-9.0.5.0 release
107+
* [JRuby][] preferred use jruby-1.7.XX but also works with jruby-9.1.2.0 release
108108

109109
### Supported processing version
110110

lib/ruby-processing/runners/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def self.load_and_run_sketch
4040
run_app
4141
return
4242
end
43+
code = no_methods ? format(NAKED_WRAP, source) : format(BARE_WRAP, source)
4344
Object.class_eval(code, SKETCH_PATH, -1)
4445
Processing::App.sketch_class.new
45-
code = no_methods ? format(NAKED_WRAP, source) : format(BARE_WRAP, source)
4646
end
4747

4848
# Read in the sketch source code. Needs to work both online and offline.

lib/ruby-processing/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RubyProcessing
2-
VERSION = '2.6.18'
2+
VERSION = '2.7.0'
33
end

pom.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
require 'fileutils'
22
project 'rp5extras', 'https://github.com/jashkenas/ruby-processing' do
33
model_version '4.0.0'
4-
id 'ruby-processing:rp5extras', '2.6.18'
4+
id 'ruby-processing:rp5extras', '2.7.0'
55
packaging 'jar'
66
description 'rp5extras for ruby-processing'
77
organization 'ruby-processing', 'https://ruby-processing.github.io'
88
developer 'monkstone' do
99
name 'Martin Prout'
10-
10+
1111
roles 'developer'
1212
end
1313

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>ruby-processing</groupId>
1313
<artifactId>rp5extras</artifactId>
14-
<version>2.6.18</version>
14+
<version>2.7.0</version>
1515
<name>rp5extras</name>
1616
<description>rp5extras for ruby-processing</description>
1717
<url>https://github.com/jashkenas/ruby-processing</url>
@@ -23,7 +23,7 @@ DO NOT MODIFIY - GENERATED CODE
2323
<developer>
2424
<id>monkstone</id>
2525
<name>Martin Prout</name>
26-
<email>[email protected]</email>
26+
<email>[email protected]</email>
2727
<roles>
2828
<role>developer</role>
2929
</roles>

0 commit comments

Comments
 (0)