picrate 2.1.0-java → 2.1.1-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: 815b6e840309b917ad6161954369b0e9bb959ea37395f55305686aeaafda8cc0
4
- data.tar.gz: c8f489adb6e0819610d265498baf205b458badf6306fcfa9d0c75813fb539218
3
+ metadata.gz: d75664876e56bfb68eb317371315aa6eb989d714f0ca9421c997fded6013f92e
4
+ data.tar.gz: 0ed6af00f023c0d5d447cdf19e94001343f64b335e28b0037029368aed84705a
5
5
  SHA512:
6
- metadata.gz: 2b32a35a68e3fd8c35a59f45207fc13e0548e0efd8578d4ca74c4e2910308bf7f5ea1e9ba3573b56ada55508090e2b8592f13720ce2992f31537425e22df2a6b
7
- data.tar.gz: 016cb1f2b2afc5b32d35620eaa6854f3d3e2bf28befd7de20267db10442a534676482836ba6aa7822132755a1f6adc285dee9352d5aa640d9819232bbc3157e4
6
+ metadata.gz: 6369280804b285a714f9fb8cb9dac9dd70cb46d0b6d0aa66a9e3dc63d06cf3425be9cb0bf1143f5ed81f2e4823790ddba517eeb2ab852567f5f1eded80471e96
7
+ data.tar.gz: ace654cbd577df5fab79afcddafbb67a1c19aca7beb4c19fec8a3db01bf06bc308ba35107febb9122d320ff3bb7b6779ecdd1885089b9dde196825f6802fe0cf
@@ -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
+
1
3
  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.
2
4
 
3
5
  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.
data/README.md CHANGED
@@ -19,14 +19,14 @@ Requires java to build (and jogl-2.4.0-rc jars), but uses a maven wrapper so you
19
19
  ```bash
20
20
  cd PiCrate # or whatever you call it
21
21
  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
23
23
 
24
24
  ```
25
25
  To create a template sketch:-
26
26
  ```bash
27
27
  picrate -c my_sketch 200 200
28
28
  ```
29
- Edit sketch (vim is a good choice):-
29
+ Edit sketch ([vim][vim] is a good choice, but we recommend [geany][geany]) :-
30
30
  ```ruby
31
31
  #!/usr/bin/env jruby
32
32
  # frozen_string_literal: false
@@ -57,3 +57,5 @@ jruby --dev my_sketch.rb # --dev flag speeds start-up
57
57
 
58
58
  [buster]:https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6
59
59
  [propane]:https://ruby-processing.github.io/propane/
60
+ [vim]:https://github.com/ruby-processing/PiCrate/blob/master/docs/_editors/vim.md
61
+ [geany]:https://github.com/ruby-processing/PiCrate/blob/master/docs/_editors/geany.md
@@ -28,8 +28,9 @@ Here is a list of ruby alternatives to some 'processing' convenience methods; wh
28
28
  | |`second` |`t.second` |
29
29
  | |`year` |`t.year` |
30
30
  |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)`|
32
31
  | |`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)` |
33
34
  | |`min(array) `|`array.min` |
34
35
  |conversion |`degrees(theta)` |`theta.degrees` |
35
36
  |conversion |`radians(theta)` |`theta.radians` |
@@ -14,7 +14,7 @@ Get the latest version from [http://jruby.org/download][download]
14
14
 
15
15
  ```bash
16
16
  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
18
18
  ```
19
19
 
20
20
  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"
38
38
 
39
39
  ### Automated install using bash ###
40
40
 
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.
42
42
 
43
43
  If you know better please post on wiki
44
44
 
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"
46
46
  [bash]:https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6
@@ -18,10 +18,9 @@ bash picrate2_install.sh # to run default task
18
18
  2. Installs JRuby to `/opt`
19
19
  3. Uses `update-alternatives` to configure `jruby`, `jgem` and `jirb`
20
20
  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
22
22
  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
25
24
  To install `picrate_samples` also configures `geanyIDE` for use with `picrate` run
26
25
  `picrate --install` in a bash console
27
26
 
@@ -5,10 +5,10 @@ date: 2020-05-11 07:34:13
5
5
  categories: PiCrate update
6
6
  permalink: /getting_manjaro/
7
7
  ---
8
- 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.
8
+ Currently Manjaro does not come with a pre-installed java. So the first step is to install a `jdk` the distro version (jdk14) should work. 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.
9
9
 
10
10
  ```bash
11
- mkdir -p ~/.gem/jruby/2.5.0
11
+ mkdir -p ~/.gem/ruby/2.5.0
12
12
  ```
13
13
 
14
14
  Now set your `GEM_HOME`, `GEM_PATH` and amend your `PATH` as follows:-
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PiCrate
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
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.1.0'
5
+ id 'ruby-processing:picrate:2.1.1'
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.'
@@ -31,7 +31,7 @@ project 'picrate', 'http://maven.apache.org' do
31
31
  'project.build.sourceEncoding' => 'utf-8',
32
32
  'polyglot.dump.pom' => 'pom.xml')
33
33
 
34
- pom 'org.jruby:jruby:9.2.12.0'
34
+ pom 'org.jruby:jruby:9.2.13.0'
35
35
  jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
36
36
  jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
37
37
  jar 'org.processing:video:3.0.2'
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>ruby-processing</groupId>
13
13
  <artifactId>picrate</artifactId>
14
- <version>2.1.0</version>
14
+ <version>2.1.1</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>
@@ -76,7 +76,7 @@ DO NOT MODIFIY - GENERATED CODE
76
76
  <dependency>
77
77
  <groupId>org.jruby</groupId>
78
78
  <artifactId>jruby</artifactId>
79
- <version>9.2.12.0</version>
79
+ <version>9.2.13.0</version>
80
80
  <type>pom</type>
81
81
  </dependency>
82
82
  <dependency>
@@ -8,7 +8,7 @@ SOUND = 'sound.zip'
8
8
  SOUND_VERSION = 'v1.3.2'
9
9
  VIDEO = 'video-2.0-beta4.zip'
10
10
  VIDEO_VERSION = 'r6-v2.0-beta4'
11
- EXAMPLES = '0.5.4'
11
+ EXAMPLES = '0.5.5'
12
12
  HOME_DIR = ENV['HOME']
13
13
  LIBRARY = File.join(HOME_DIR, '.picrate', 'libraries')
14
14
  PROJECT_DIR = File.join(HOME_DIR, 'projects')
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.1.0
4
+ version: 2.1.1
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-15 00:00:00.000000000 Z
11
+ date: 2020-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -190,7 +190,7 @@ files:
190
190
  - lib/jogl-all-natives-linux-amd64.jar
191
191
  - lib/jogl-all-natives-linux-armv6hf.jar
192
192
  - lib/jogl-all.jar
193
- - lib/picrate-2.1.0.jar
193
+ - lib/picrate-2.1.1.jar
194
194
  - lib/picrate.rb
195
195
  - lib/picrate/app.rb
196
196
  - lib/picrate/creators/parameters.rb