picrate 1.2.3-java → 1.2.4-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: 196363008c46f80fcf1beccfd3bb4115c8ff1ea1dbdb43cc6689dd746be5f4e9
4
- data.tar.gz: b3a9acf034189e5f869a46d8a9bcb32456593a4a5f1f04a5be324781da8ac258
3
+ metadata.gz: 1ac2e940ede1e29f5b6d6e4856b945d7302487aee87dea6229c68470a32e41c4
4
+ data.tar.gz: f000acd2d65cf8bea16754c2474ff48c9b22ce62a9c06637de2b64820aa166e3
5
5
  SHA512:
6
- metadata.gz: 8ec7acb456abf8ba0a03cfefc9b4bad90882cd99a7b8ab4ade033146739a192815de25e715d3e3167a6bea591c9303962293cf6c98d4e05bb502d359c3e6e856
7
- data.tar.gz: a851c96e7c15da316ff7897dce62e33e42ce38c3d5f0ca3daf6ba047e9b624e39b4598ec5c3bc11b9cb977886cc7722745f91476b69b142e02bcd443d1fffa08
6
+ metadata.gz: eed56464f6ebb5dab6881872de1bfff120cea520babe3cf3d559ec2698d018b1d5b73e914950d215cdcb2e1f28a6cc6ca28fbb94f64e19e78c6b851aa53a0f66
7
+ data.tar.gz: 69c364b81095fe15803b1ab5020d1a116858edc1f0dfb7732bc9c157634f2bdf2f7b42bfccb10fd8c35855d68aeb822cc795ad9d2aac67544e43f542a72e276c
@@ -1,3 +1,5 @@
1
+ v1.2.4 Extract picrate examples to ~/projects/examples instead of ~/picrate_samples for tighter integration with geany editor. Remove non-functioning sound library as an install option (direct toward minim as option).
2
+
1
3
  v1.2.3 Favor latest beta Video2 library over GLVideo.
2
4
 
3
5
  v1.2.2 Removed landscape from example as too taxing for raspberryPI. Improved geany tools.
data/README.md CHANGED
@@ -7,7 +7,7 @@ Create processing sketches in ruby on raspberry-pi and linux (this project is a
7
7
  ### To install from rubygems ###
8
8
 
9
9
  ```bash
10
- jgem install picrate -v 1.1.0 # NB: important to specify version
10
+ jgem install picrate -v 1.2.3
11
11
  ```
12
12
 
13
13
  ### To Build and Test ###
@@ -19,7 +19,7 @@ Requires java to build, but uses a maven wrapper so you don't need to install ma
19
19
  ```bash
20
20
  cd PiCrate
21
21
  rake # assumes an installed version of vanilla processing
22
- jgem install picrate-1.1.0-java.gem
22
+ jgem install picrate-1.2.3-java.gem
23
23
 
24
24
  ```
25
25
  To create a template sketch:-
@@ -10,7 +10,7 @@ The current version of raspbian installs jdk-1.8.0_65-bi17 (hard float) and that
10
10
  Then install JRuby see [jruby][jruby].
11
11
 
12
12
  ```bash
13
- jgem install picrate -v 1.2.1
13
+ jgem install picrate
14
14
  ```
15
15
 
16
16
  Install samples, and configure `geany` ide (for `PiCrate`)
@@ -31,8 +31,8 @@ picrate --install Samples
31
31
  Install processing libraries
32
32
 
33
33
  ```bash
34
- picrate -i Sound
35
- picrate -i glvideo # preferred over vanilla video for now
34
+ # picrate -i Sound not currently working
35
+ picrate -i video # preferred over vanilla video for now
36
36
  ```
37
37
 
38
38
  ### Creating Sketches from the GeanyIDE
@@ -40,7 +40,7 @@ module Processing
40
40
  end
41
41
 
42
42
  options[:install] = false
43
- message = '<Samples><GLVideo><Video><Sound> Install samples or library'
43
+ message = '<Samples><Video> Install samples or library'
44
44
  opts.on('-i', '--install', message) do
45
45
  options[:install] = true
46
46
  end
@@ -80,7 +80,9 @@ module Processing
80
80
  library ||= 'new'
81
81
  choice = library.downcase
82
82
  case choice
83
- when /samples|sound|video/
83
+ when /sound/
84
+ warn 'The sound library is broken, try minim instead'
85
+ when /samples|video/
84
86
  system "cd #{PICRATE_ROOT}/vendors && rake install_#{choice}"
85
87
  when /new/
86
88
  # install samples and config geany
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PiCrate
4
- VERSION = '1.2.3'
4
+ VERSION = '1.2.4'
5
5
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  A batteries included version of processing in ruby, for raspberrypi and
14
14
  linux. Install samples to configures geany ide.
15
15
  EOS
16
- gem.summary = %q{ruby wrapper for processing-3.5.3 on raspberrypi and linux64}
16
+ gem.summary = %q{ruby implementation of processing-3 on raspberrypi and linux64}
17
17
  gem.homepage = 'https://ruby-processing.github.io/PiCrate/'
18
18
  gem.post_install_message = %q{Use 'picrate --install' to config geany & install samples}
19
19
  gem.files = `git ls-files`.split($/)
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.3'
4
+ id 'ruby-processing:picrate:1.2.4'
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.3</version>
14
+ <version>1.2.4</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>
@@ -7,9 +7,11 @@ SOUND = 'sound.zip'
7
7
  SOUND_VERSION = 'v1.3.2'
8
8
  VIDEO = 'video-2.0-beta4.zip'
9
9
  VIDEO_VERSION = 'r6-v2.0-beta4'
10
- EXAMPLES = '0.5.1'
10
+ EXAMPLES = '0.5.2'
11
11
  HOME_DIR = ENV['HOME']
12
12
  LIBRARY = File.join(HOME_DIR, '.picrate', 'libraries')
13
+ PROJECT_DIR = File.join(HOME_DIR, 'projects')
14
+ EXAMPLES_DIR = File.join(PROJECT_DIR, 'examples')
13
15
  CLOBBER.include(EXAMPLES, SOUND, VIDEO)
14
16
 
15
17
  def dependency
@@ -76,8 +78,9 @@ end
76
78
  desc 'copy examples'
77
79
  task copy_examples: %i[download_samples] do
78
80
  system "tar xzvf #{EXAMPLES}.tar.gz"
79
- FileUtils.rm_r "#{HOME_DIR}/picrate_samples" if File.exist? "#{HOME_DIR}/picrate_samples"
80
- FileUtils.cp_r "picrate-examples-#{EXAMPLES}", "#{HOME_DIR}/picrate_samples"
81
+ FileUtils.rm_r EXAMPLES_DIR if File.exist? EXAMPLES_DIR
82
+ FileUtils.mkdir_p PROJECT_DIR unless File.exist? PROJECT_DIR
83
+ FileUtils.cp_r "picrate-examples-#{EXAMPLES}", EXAMPLES_DIR
81
84
  FileUtils.rm_r "picrate-examples-#{EXAMPLES}"
82
85
  end
83
86
 
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.3
4
+ version: 1.2.4
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -209,7 +209,7 @@ files:
209
209
  - lib/jogl-all-natives-linux-amd64.jar
210
210
  - lib/jogl-all-natives-linux-armv6hf.jar
211
211
  - lib/jogl-all.jar
212
- - lib/picrate-1.2.3.jar
212
+ - lib/picrate-1.2.4.jar
213
213
  - lib/picrate.rb
214
214
  - lib/picrate/app.rb
215
215
  - lib/picrate/creators/parameters.rb
@@ -392,7 +392,7 @@ requirements:
392
392
  rubygems_version: 3.0.6
393
393
  signing_key:
394
394
  specification_version: 4
395
- summary: ruby wrapper for processing-3.5.3 on raspberrypi and linux64
395
+ summary: ruby implementation of processing-3 on raspberrypi and linux64
396
396
  test_files:
397
397
  - test/color_group_test.rb
398
398
  - test/deglut_spec_test.rb