picrate 2.4.1-java → 2.4.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cecab16a0e1abbcc010dc18037cba16121861f942a95aff9a898f9a5af4582ef
4
- data.tar.gz: 3990c04c7008c66b54cf1af01d81980b7037ede67f6579bebb1294dd503a0260
3
+ metadata.gz: 0ab492711c3332d165604d48dd5a816b774d1a3d8c3149ad03e06e5ecfefd091
4
+ data.tar.gz: 581eed24cf663f8752a035a10213240c20e182c3fce6a76f30e79d0df7051dc7
5
5
  SHA512:
6
- metadata.gz: e365629d95d9077838b5a65300144fb817022dbfb21eda3754903f41aa29d39345986bc90d24021b9b1776f4f6b28206cab68ebda35f199502dcfe8a8ea1d8c0
7
- data.tar.gz: 214a0c654b63653da787cf5afbd762420e3d6ae5d2e8ac9563b3b927ead5b7f3d10d7b63061cc1dea364511d3f39527296e2653e54dcd177cb87813666332210
6
+ metadata.gz: fe19f9cf14758e36a72c98cdd00baa4bab8e9db666f4c624b5ef593bf6621169d34c33f6513c337faa4bea24a8041d1d8c9681205c2ce6d3fd8dc9bd0d3bdbea
7
+ data.tar.gz: f63af7d23c1c38a2ed7050e8682f5336f6a607dc1094d6c67276c66661272e61c70bf0a86c0e3133eb9e6198cf407b560769dc41de811b71a611662150efee2a
data/lib/picrate/app.rb CHANGED
@@ -84,7 +84,7 @@ module Processing
84
84
  class << self
85
85
  # Handy getters and setters on the class go here:
86
86
  attr_accessor :sketch_class, :library_loader, :arguments, :options
87
- attr_reader :surface
87
+ attr_reader :surface, :width, :height, :renderer
88
88
  def load_libraries(*args)
89
89
  library_loader ||= LibraryLoader.new
90
90
  library_loader.load_library(*args)
@@ -132,11 +132,11 @@ module Processing
132
132
  end
133
133
 
134
134
  def size(*args)
135
- w, h, mode = *args
135
+ w, h, renderer = *args
136
136
  @width ||= w
137
137
  @height ||= h
138
- @render_mode ||= mode
139
- import_opengl if /opengl/ =~ mode
138
+ @renderer ||= renderer
139
+ import_opengl if /opengl/ =~ renderer
140
140
  super(*args)
141
141
  end
142
142
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PiCrate
4
- VERSION = '2.4.1'
4
+ VERSION = '2.4.2'
5
5
  end
data/picrate.gemspec CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
33
33
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
34
34
  gem.add_development_dependency 'minitest', '~> 5.14'
35
35
  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'
37
37
  gem.require_paths = ['lib']
38
38
  gem.platform = 'java'
39
39
  gem.requirements << 'java runtime == 11+'
data/pom.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  project 'picrate', 'http://maven.apache.org' do
4
4
  model_version '4.0.0'
5
- id 'ruby-processing:picrate:2.4.1'
5
+ id 'ruby-processing:picrate:2.4.2'
6
6
  packaging 'jar'
7
7
 
8
8
  description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
@@ -33,7 +33,7 @@ project 'picrate', 'http://maven.apache.org' do
33
33
  'project.build.sourceEncoding' => 'UTF-8',
34
34
  'polyglot.dump.pom' => 'pom.xml')
35
35
 
36
- pom 'org.jruby:jruby:9.2.17.0'
36
+ pom 'org.jruby:jruby:9.2.19.0'
37
37
  jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
38
38
  jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
39
39
  jar 'org.processing:video:3.0.2'
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>ruby-processing</groupId>
13
13
  <artifactId>picrate</artifactId>
14
- <version>2.4.1</version>
14
+ <version>2.4.2</version>
15
15
  <name>picrate</name>
16
16
  <description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
17
17
  <url>http://maven.apache.org</url>
@@ -78,7 +78,7 @@ DO NOT MODIFY - GENERATED CODE
78
78
  <dependency>
79
79
  <groupId>org.jruby</groupId>
80
80
  <artifactId>jruby</artifactId>
81
- <version>9.2.17.0</version>
81
+ <version>9.2.19.0</version>
82
82
  <type>pom</type>
83
83
  </dependency>
84
84
  <dependency>
data/test/test_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  gem 'minitest'
4
- require 'java'
4
+ require 'jruby'
5
5
  require_relative '../lib/picrate'
6
6
  require 'minitest/pride'
7
7
  require 'minitest/autorun'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-14 00:00:00.000000000 Z
11
+ date: 2021-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -43,10 +43,10 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '1.1'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 1.0.1
49
+ version: 1.1.1
50
50
  name: arcball
51
51
  prerelease: false
52
52
  type: :runtime
@@ -54,10 +54,10 @@ dependencies:
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '1.0'
57
+ version: '1.1'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 1.0.1
60
+ version: 1.1.1
61
61
  description: |
62
62
  A batteries included version of processing in ruby, for raspberrypi and
63
63
  linux. Install samples to configures geany ide.
@@ -191,7 +191,7 @@ files:
191
191
  - lib/jogl-all-natives-linux-amd64.jar
192
192
  - lib/jogl-all-natives-linux-armv6hf.jar
193
193
  - lib/jogl-all.jar
194
- - lib/picrate-2.4.1.jar
194
+ - lib/picrate-2.4.2.jar
195
195
  - lib/picrate.rb
196
196
  - lib/picrate/app.rb
197
197
  - lib/picrate/creators/parameters.rb