Skip to content

Commit 47c4abb

Browse files
committed
Some fixes for JRuby-9.3.1.0
1 parent 2557e60 commit 47c4abb

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

lib/picrate/app.rb

-6
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,6 @@ def import_opengl
159159
end
160160
end
161161

162-
def proxy_java_fields
163-
fields = %w[sketchPath key frameRate mousePressed keyPressed]
164-
methods = fields.map { |field| java_class.declared_field(field) }
165-
@declared_fields = Hash[fields.zip(methods)]
166-
end
167-
168162
# When certain special methods get added to the sketch, we need to let
169163
# Processing call them by their expected Java names.
170164
def method_added(method_name) #:nodoc:

lib/picrate/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PiCrate
4-
VERSION = '2.5.0'
4+
VERSION = '2.5.1'
55
end

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DO NOT MODIFY - GENERATED CODE
1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>ruby-processing</groupId>
1313
<artifactId>picrate</artifactId>
14-
<version>2.5.0</version>
14+
<version>2.5.1</version>
1515
<name>picrate</name>
1616
<description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
1717
<url>http://maven.apache.org</url>
@@ -68,7 +68,7 @@ DO NOT MODIFY - GENERATED CODE
6868
<itextpdf.version>5.5.13.2</itextpdf.version>
6969
<jogl.version>2.3.2</jogl.version>
7070
<jruby.api>http://jruby.org/apidocs/</jruby.api>
71-
<jruby.version>9.3.0.0</jruby.version>
71+
<jruby.version>9.3.1.0</jruby.version>
7272
<picrate.basedir>${project.basedir}</picrate.basedir>
7373
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
7474
<processing.api>http://processing.github.io/processing-javadocs/core/</processing.api>

src/main/java/processing/core/PApplet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ public class PApplet implements PConstants {
167167
* that people use the sketchPath() method and it's inited properly. Call
168168
* sketchPath() once to set the default.
169169
*/
170+
170171
private String sketchPath;
171-
// public String sketchPath;
172172

173173
static final boolean DEBUG = false;
174174
// static final boolean DEBUG = true;

0 commit comments

Comments
 (0)