Skip to content

Commit 7b535ea

Browse files
committed
Bump JRuby version
1 parent 05881ba commit 7b535ea

File tree

10 files changed

+17
-15
lines changed

10 files changed

+17
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
v2.1.1 Bump to JRuby-9.2.13.0, include examples using ruby `clamp` in place of processing `constrain`.
2+
13
v2.1.0 Refactor how we configure geany so we can use ENV['HOME'] rather hard code config file. Bump to JRuby-9.2.12.0, include Sam Pottingers July 2020 staging changes.
24

35
v2.0.1 Use JOGL-2.4.0-rc fixes reflection warnings, remove geomerative and wordcram gem dependencies since can now be in step with JRubyArt and propane (re jdk compatibility), bump version for release. Removed Gottfreid Haider shaders, warn legacy driver doesn't work with P2D and P3D sketches. Support aarch64 architecture on RaspberriPI4.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Requires java to build (and jogl-2.4.0-rc jars), but uses a maven wrapper so you
1919
```bash
2020
cd PiCrate # or whatever you call it
2121
rake # assumes an installed version of vanilla processing
22-
jgem install picrate-2.0.1-java.gem
22+
jgem install picrate-2.1.1-java.gem
2323

2424
```
2525
To create a template sketch:-

docs/_methods/alternative_methods.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ Here is a list of ruby alternatives to some 'processing' convenience methods; wh
2828
| |`second` |`t.second` |
2929
| |`year` |`t.year` |
3030
|custom math |`map(x, b0, eo, b1, e1)`|`map1d(x, (b0..e0), (b1..e1))`|
31-
| |`map(x, b0, eo, b1, e1)`|`p5map(x, b0, e0, b1, e1)`|
3231
| |`max(array) `|`array.max` |
32+
| |`map(x, b0, eo, b1, e1)`|`p5map(x, b0, e0, b1, e1)`|
33+
| |`constrain(x, lo, hi)` |`x.clamp(lo, hi)` |
3334
| |`min(array) `|`array.min` |
3435
|conversion |`degrees(theta)` |`theta.degrees` |
3536
|conversion |`radians(theta)` |`theta.radians` |

docs/_posts/2018-05-06-install_jruby.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get the latest version from [http://jruby.org/download][download]
1414

1515
```bash
1616
cd /opt
17-
sudo tar xzvf /pathToDownload/jruby-bin-9.2.11.0.tar.gz
17+
sudo tar xzvf /pathToDownload/jruby-bin-9.2.13.0.tar.gz
1818
```
1919

2020
Then use the excellent `update-alternatives` tool to provide symbolic links to `jruby`, `jgem`, `jirb` and `rake` especially if you haven't installed `mri` ruby.
@@ -38,9 +38,9 @@ export PATH="${PATH}:${GEM_PATH}/bin"
3838

3939
### Automated install using bash ###
4040

41-
The [picrate2_install.sh][bash] script currently installs jruby-9.2.11.0 and picrate-2.0.pre.
41+
The [picrate2_install.sh][bash] script currently installs jruby-9.2.13.0 and picrate-2.1.1.
4242

4343
If you know better please post on wiki
4444

45-
[download]:"https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.11.0/jruby-dist-9.2.11.0-bin.tar.gz"
45+
[download]:"https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.13.0/jruby-dist-9.2.13.0-bin.tar.gz"
4646
[bash]:https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6

docs/_posts/2020-03-09-auto_install_picrate.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ bash picrate2_install.sh # to run default task
1818
2. Installs JRuby to `/opt`
1919
3. Uses `update-alternatives` to configure `jruby`, `jgem` and `jirb`
2020
4. The script checks for `GEM_HOME`, if undefined it modifies `~/.profile` to define `GEM_HOME` and puts gem binaries on your path, at logon.
21-
5. Installs jdk11 if required sets `JAVA_HOME`, needed to support jruby (--add-opens)
21+
5. Installs jdk11 if required sets `JAVA_HOME`, needed to support jruby
2222
6. Creates `~/.gemrc` with `gem: no-document`
23-
7. Creates `~/.jruby.java_opts` with `--add-opens` to suppress reflective access warnings.
24-
8. Installs `picrate` gem
23+
7. Installs `picrate` gem
2524
To install `picrate_samples` also configures `geanyIDE` for use with `picrate` run
2625
`picrate --install` in a bash console
2726

docs/_posts/2020-05-11-getting_started_manjaro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permalink: /getting_manjaro/
88
Currently Manjaro does not come with a pre-installed java. So the first step is to install a `jdk` we currently recommend installing hotspot adopt-openjdk11 from the AdoptOpenJDK project (there may be issues with distro version). Setting the JDK_HOME environment (easiest done `/etc/profile.d`) and then manually install the latest JRuby. It is probably worth creating a symbolic links to `/usr/bin/jruby` and `/usr/bin/jgem` from wherever you installed jruby eg /opt folder.
99

1010
```bash
11-
mkdir -p ~/.gem/jruby/2.5.0
11+
mkdir -p ~/.gem/ruby/2.5.0
1212
```
1313

1414
Now set your `GEM_HOME`, `GEM_PATH` and amend your `PATH` as follows:-

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.1.0'
4+
VERSION = '2.1.1'
55
end

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.1.0'
5+
id 'ruby-processing:picrate:2.1.1'
66
packaging 'jar'
77

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

34-
pom 'org.jruby:jruby:9.2.12.0'
34+
pom 'org.jruby:jruby:9.2.13.0'
3535
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
3636
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
3737
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 MODIFIY - GENERATED CODE
1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>ruby-processing</groupId>
1313
<artifactId>picrate</artifactId>
14-
<version>2.1.0</version>
14+
<version>2.1.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>
@@ -76,7 +76,7 @@ DO NOT MODIFIY - GENERATED CODE
7676
<dependency>
7777
<groupId>org.jruby</groupId>
7878
<artifactId>jruby</artifactId>
79-
<version>9.2.12.0</version>
79+
<version>9.2.13.0</version>
8080
<type>pom</type>
8181
</dependency>
8282
<dependency>

vendors/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SOUND = 'sound.zip'
88
SOUND_VERSION = 'v1.3.2'
99
VIDEO = 'video-2.0-beta4.zip'
1010
VIDEO_VERSION = 'r6-v2.0-beta4'
11-
EXAMPLES = '0.5.4'
11+
EXAMPLES = '0.5.5'
1212
HOME_DIR = ENV['HOME']
1313
LIBRARY = File.join(HOME_DIR, '.picrate', 'libraries')
1414
PROJECT_DIR = File.join(HOME_DIR, 'projects')

0 commit comments

Comments
 (0)