picrate 1.2.2-java → 1.2.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Rakefile +1 -1
- data/docs/_editors/geany.md +7 -1
- data/docs/_posts/2019-11-11-getting_started_buster.md +1 -1
- data/docs/assets/reek.png +0 -0
- data/docs/assets/rubocop.png +0 -0
- data/lib/picrate/version.rb +1 -1
- data/pom.rb +1 -1
- data/pom.xml +1 -1
- data/vendors/Rakefile +11 -32
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 196363008c46f80fcf1beccfd3bb4115c8ff1ea1dbdb43cc6689dd746be5f4e9
|
4
|
+
data.tar.gz: b3a9acf034189e5f869a46d8a9bcb32456593a4a5f1f04a5be324781da8ac258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec7acb456abf8ba0a03cfefc9b4bad90882cd99a7b8ab4ade033146739a192815de25e715d3e3167a6bea591c9303962293cf6c98d4e05bb502d359c3e6e856
|
7
|
+
data.tar.gz: a851c96e7c15da316ff7897dce62e33e42ce38c3d5f0ca3daf6ba047e9b624e39b4598ec5c3bc11b9cb977886cc7722745f91476b69b142e02bcd443d1fffa08
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ task :init do
|
|
12
12
|
# for Archlinux etc
|
13
13
|
# processing_root = File.dirname(`readlink -f $(which processing)`)
|
14
14
|
# alternative for debian linux etc
|
15
|
-
|
15
|
+
processing_root = File.join(HOME_DIR, 'processing-3.5.3')
|
16
16
|
jar_dir = File.join(processing_root, 'core', 'library')
|
17
17
|
opengl = Dir.entries(jar_dir).grep(/amd64|armv6hf/).select { |jar| jar =~ /linux/ }
|
18
18
|
opengl.concat %w[jogl-all.jar gluegen-rt.jar]
|
data/docs/_editors/geany.md
CHANGED
@@ -18,17 +18,21 @@ Remember to give untitled sketch a new name (PS: it's easy to create your own te
|
|
18
18
|
|
19
19
|

|
20
20
|
|
21
|
-
Use `
|
21
|
+
Use `Build/rubocop` to check syntax, and `run` button to run the
|
22
|
+
sketch
|
22
23
|
|
23
24
|
See running sketch below:-
|
24
25
|
|
25
26
|

|
26
27
|
|
27
28
|
#### Advanced options
|
29
|
+
|
28
30
|
1. rubocop
|
29
31
|
|
30
32
|
If you install the `rubocop` gem you can use the Build/Rubocop control to do a static test on the current file. You can configure `rubocop` to ignore selected rules if you wish. Or use it to auto-correct issues.
|
31
33
|
|
34
|
+

|
35
|
+
|
32
36
|
2. reek
|
33
37
|
|
34
38
|
If you are keen to develop your `OO` skills analysing your sketch code for smells can be instructive see references:-
|
@@ -36,3 +40,5 @@ If you are keen to develop your `OO` skills analysing your sketch code for smell
|
|
36
40
|
* Practical Object-Oriented Design in Ruby - Sandi Metz
|
37
41
|
* Refactoring (Ruby Edition) - Jay Fields, Shane Harvie, Martin Fowler
|
38
42
|
* 99 Bottles of OOP - Sandi Metz and Katrina Owen
|
43
|
+
|
44
|
+

|
@@ -7,7 +7,7 @@ permalink: /getting_buster/
|
|
7
7
|
---
|
8
8
|
Currently Raspbian Buster does not come with a pre-installed java. So the first step is to install a `jdk` we currently recommend installing openjdk8 (_there a complications you don't need using jdk11_) to benefit from `client` optimisations. There is a bash script [here][buster], that will install `openjdk8`, `jruby-9.2.9.0` and picrate for you.
|
9
9
|
```bash
|
10
|
-
bash
|
10
|
+
bash buster_install.sh
|
11
11
|
```
|
12
12
|
|
13
13
|
__Otherwise follow these instructions in order as needed:-__
|
Binary file
|
Binary file
|
data/lib/picrate/version.rb
CHANGED
data/pom.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
project 'picrate', 'http://maven.apache.org' do
|
2
2
|
|
3
3
|
model_version '4.0.0'
|
4
|
-
id 'ruby-processing:picrate:1.2.
|
4
|
+
id 'ruby-processing:picrate:1.2.3'
|
5
5
|
packaging 'jar'
|
6
6
|
|
7
7
|
description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
|
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>1.2.
|
14
|
+
<version>1.2.3</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>
|
data/vendors/Rakefile
CHANGED
@@ -5,13 +5,12 @@ require 'rake/clean'
|
|
5
5
|
WARNING = 'WARNING: wget download failed you could do a manual download'
|
6
6
|
SOUND = 'sound.zip'
|
7
7
|
SOUND_VERSION = 'v1.3.2'
|
8
|
-
|
9
|
-
|
10
|
-
VIDEO_VERSION = '2'
|
8
|
+
VIDEO = 'video-2.0-beta4.zip'
|
9
|
+
VIDEO_VERSION = 'r6-v2.0-beta4'
|
11
10
|
EXAMPLES = '0.5.1'
|
12
11
|
HOME_DIR = ENV['HOME']
|
13
12
|
LIBRARY = File.join(HOME_DIR, '.picrate', 'libraries')
|
14
|
-
CLOBBER.include(EXAMPLES, SOUND,
|
13
|
+
CLOBBER.include(EXAMPLES, SOUND, VIDEO)
|
15
14
|
|
16
15
|
def dependency
|
17
16
|
system 'which wget'
|
@@ -40,29 +39,19 @@ task install_sound: %i[init_dir download_sound copy_sound clobber]
|
|
40
39
|
desc 'download and copy video library to ~/.picrate'
|
41
40
|
task install_video: %i[init_dir download_video copy_video clobber]
|
42
41
|
|
43
|
-
desc 'download and copy glvideo library to ~/.picrate'
|
44
|
-
task install_glvideo: %i[init_dir download_glvideo copy_glvideo clobber]
|
45
|
-
|
46
42
|
desc 'download, and copy picrate examples'
|
47
43
|
task download_samples: ["#{EXAMPLES}.tar.gz"]
|
48
44
|
|
49
45
|
desc 'download sound library'
|
50
46
|
task :download_sound do
|
51
|
-
wget_base = 'wget https://github.com/processing/processing-sound'
|
47
|
+
wget_base = 'wget -P https://github.com/processing/processing-sound'
|
52
48
|
wget_string = [wget_base, 'releases/download/latest', SOUND].join('/')
|
53
49
|
system wget_string
|
54
50
|
end
|
55
51
|
|
56
|
-
desc 'download glvideo library'
|
57
|
-
task :download_glvideo do
|
58
|
-
wget_base = 'wget https://github.com/gohai/processing-glvideo'
|
59
|
-
wget_string = [wget_base, 'releases/download/latest', GLVIDEO].join('/')
|
60
|
-
system wget_string
|
61
|
-
end
|
62
|
-
|
63
52
|
desc 'download video library'
|
64
53
|
task :download_video do
|
65
|
-
wget_base = 'wget https://github.com/processing/processing-video'
|
54
|
+
wget_base = 'wget -P /tmp https://github.com/processing/processing-video'
|
66
55
|
wget_string = [wget_base, 'releases/download', VIDEO_VERSION, VIDEO].join('/')
|
67
56
|
system wget_string
|
68
57
|
end
|
@@ -94,25 +83,15 @@ end
|
|
94
83
|
|
95
84
|
desc 'copy sound library'
|
96
85
|
task copy_sound: SOUND do
|
97
|
-
system "unzip
|
86
|
+
system "unzip -d /tmp /tmp/#{SOUND}"
|
98
87
|
FileUtils.rm_r "#{LIBRARY}/sound" if File.exist? "#{LIBRARY}/sound"
|
99
|
-
FileUtils.cp_r 'sound', LIBRARY
|
100
|
-
FileUtils.rm_r 'sound'
|
88
|
+
FileUtils.cp_r '/tmp/sound', LIBRARY
|
101
89
|
end
|
102
90
|
|
103
91
|
desc 'copy video library'
|
104
|
-
task copy_video: VIDEO do
|
105
|
-
system "unzip
|
92
|
+
task copy_video: "/tmp/#{VIDEO}" do
|
93
|
+
system "unzip -d /tmp /tmp/#{VIDEO}"
|
106
94
|
FileUtils.rm_r "#{LIBRARY}/video" if File.exist? "#{LIBRARY}/video"
|
107
|
-
FileUtils.
|
108
|
-
FileUtils.
|
109
|
-
end
|
110
|
-
|
111
|
-
desc 'copy glvideo library'
|
112
|
-
task copy_glvideo: GLVIDEO do
|
113
|
-
directory "#{LIBRARY}/glvideo"
|
114
|
-
system "unzip #{GLVIDEO}"
|
115
|
-
FileUtils.rm_r "#{LIBRARY}/glvideo" if File.exist? "#{LIBRARY}/glvideo"
|
116
|
-
FileUtils.cp_r 'glvideo', LIBRARY
|
117
|
-
FileUtils.rm_r 'glvideo'
|
95
|
+
FileUtils.mkdir_p "#{LIBRARY}/video/library"
|
96
|
+
FileUtils.mv Dir.glob("/tmp/video/library/*.jar"), "#{LIBRARY}/video/library"
|
118
97
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- monkstone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -188,6 +188,8 @@ files:
|
|
188
188
|
- docs/assets/new_with_template.png
|
189
189
|
- docs/assets/picrate.svg
|
190
190
|
- docs/assets/picrate_template.png
|
191
|
+
- docs/assets/reek.png
|
192
|
+
- docs/assets/rubocop.png
|
191
193
|
- docs/classes.md
|
192
194
|
- docs/css/main.scss
|
193
195
|
- docs/editors.md
|
@@ -207,7 +209,7 @@ files:
|
|
207
209
|
- lib/jogl-all-natives-linux-amd64.jar
|
208
210
|
- lib/jogl-all-natives-linux-armv6hf.jar
|
209
211
|
- lib/jogl-all.jar
|
210
|
-
- lib/picrate-1.2.
|
212
|
+
- lib/picrate-1.2.3.jar
|
211
213
|
- lib/picrate.rb
|
212
214
|
- lib/picrate/app.rb
|
213
215
|
- lib/picrate/creators/parameters.rb
|