Skip to content

Commit 6d37516

Browse files
committed
Bump JRuby version
1 parent 8cef644 commit 6d37516

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/picrate/app.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def self.inherited(subclass)
8484
class << self
8585
# Handy getters and setters on the class go here:
8686
attr_accessor :sketch_class, :library_loader, :arguments, :options
87-
attr_reader :surface
87+
attr_reader :surface, :width, :height, :renderer
8888
def load_libraries(*args)
8989
library_loader ||= LibraryLoader.new
9090
library_loader.load_library(*args)
@@ -132,11 +132,11 @@ def initialize(options = {}, arguments = [])
132132
end
133133

134134
def size(*args)
135-
w, h, mode = *args
135+
w, h, renderer = *args
136136
@width ||= w
137137
@height ||= h
138-
@render_mode ||= mode
139-
import_opengl if /opengl/ =~ mode
138+
@renderer ||= renderer
139+
import_opengl if /opengl/ =~ renderer
140140
super(*args)
141141
end
142142

lib/picrate/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PiCrate
4-
VERSION = '2.4.1'
4+
VERSION = '2.4.2'
55
end

picrate.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
3333
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
3434
gem.add_development_dependency 'minitest', '~> 5.14'
3535
gem.add_runtime_dependency 'rake', '~> 13.0'
36-
gem.add_runtime_dependency 'arcball', '~> 1.0', '>= 1.0.1'
36+
gem.add_runtime_dependency 'arcball', '~> 1.1', '>= 1.1.1'
3737
gem.require_paths = ['lib']
3838
gem.platform = 'java'
3939
gem.requirements << 'java runtime == 11+'

pom.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
project 'picrate', 'http://maven.apache.org' do
44
model_version '4.0.0'
5-
id 'ruby-processing:picrate:2.4.1'
5+
id 'ruby-processing:picrate:2.4.2'
66
packaging 'jar'
77

88
description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
@@ -33,7 +33,7 @@
3333
'project.build.sourceEncoding' => 'UTF-8',
3434
'polyglot.dump.pom' => 'pom.xml')
3535

36-
pom 'org.jruby:jruby:9.2.17.0'
36+
pom 'org.jruby:jruby:9.2.19.0'
3737
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
3838
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
3939
jar 'org.processing:video:3.0.2'

pom.xml

Lines changed: 2 additions & 2 deletions
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.4.1</version>
14+
<version>2.4.2</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>
@@ -78,7 +78,7 @@ DO NOT MODIFY - GENERATED CODE
7878
<dependency>
7979
<groupId>org.jruby</groupId>
8080
<artifactId>jruby</artifactId>
81-
<version>9.2.17.0</version>
81+
<version>9.2.19.0</version>
8282
<type>pom</type>
8383
</dependency>
8484
<dependency>

0 commit comments

Comments
 (0)