picrate 0.9.0-java → 1.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require_relative 'test_helper'
3
- require 'java'
4
- require_relative '../lib/picrate'
5
4
  require_relative '../library/color_group/color_group'
6
5
 
7
6
  Java::Monkstone::PicrateLibrary.new.load(JRuby.runtime, false)
@@ -1,6 +1,4 @@
1
1
  require_relative 'test_helper'
2
- require 'java'
3
- require_relative '../lib/picrate'
4
2
 
5
3
  Dir.chdir(File.dirname(__FILE__))
6
4
 
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require_relative 'test_helper'
3
- require 'java'
4
- require_relative '../lib/picrate'
5
4
 
6
5
  Java::Monkstone::PicrateLibrary.new.load(JRuby.runtime, false)
7
6
 
@@ -1,6 +1,4 @@
1
1
  require_relative 'test_helper'
2
- require 'java'
3
- require_relative '../lib/picrate'
4
2
 
5
3
  Java::Monkstone::PicrateLibrary.new.load(JRuby.runtime, false)
6
4
 
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
- require 'java'
2
+
3
3
  require_relative 'test_helper'
4
- require_relative '../lib/picrate'
5
4
 
6
5
  METHODS = %i(
7
6
  alpha
@@ -1,3 +1,5 @@
1
1
  gem 'minitest'
2
+ require 'java'
3
+ require_relative '../lib/picrate'
2
4
  require 'minitest/pride'
3
5
  require 'minitest/autorun'
@@ -1,6 +1,4 @@
1
1
  require_relative 'test_helper'
2
- require 'java'
3
- require_relative '../lib/picrate'
4
2
 
5
3
  Java::Monkstone::PicrateLibrary.load(JRuby.runtime)
6
4
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'fileutils'
4
4
  require 'rake/clean'
5
-
6
5
  WARNING = 'WARNING: wget download failed you could do a manual download'
7
6
  SOUND = 'sound.zip'
8
7
  SOUND_VERSION = 'v1.3.2'
@@ -14,10 +13,10 @@ HOME_DIR = ENV['HOME']
14
13
  CLOBBER.include(EXAMPLES, SOUND, GLVIDEO, VIDEO)
15
14
 
16
15
  desc 'download, and copy picrate examples'
17
- task default: [:download_and_copy_samples]
16
+ task default: %i[download_and_copy_samples config_geany]
18
17
 
19
18
  desc 'download and copy examples to user home'
20
- task download_and_copy_samples: %i[download_examples copy_examples config_geany]
19
+ task download_and_copy_samples: %i[download_examples copy_examples]
21
20
 
22
21
  task :download_examples
23
22
  file_name = "#{EXAMPLES}.tar.gz"
@@ -42,7 +41,7 @@ task download_and_copy_glvideo: %i[init_dir download_glvideo copy_glvideo clobbe
42
41
 
43
42
  desc 'download sound library'
44
43
  task :download_sound do
45
- wget_base = 'wget https://github.com/processing/processing-sound/'
44
+ wget_base = 'wget https://github.com/processing/processing-sound'
46
45
  wget_string = [wget_base, 'releases/download/latest', SOUND].join('/')
47
46
  begin
48
47
  sh wget_string
@@ -85,7 +84,7 @@ desc 'configure geany'
85
84
  task :config_geany do
86
85
  unless File.exist? "#{HOME_DIR}/.config/geany/templates/files/picrate.rb"
87
86
  FileUtils.mkdir_p "#{HOME_DIR}/.config/geany/templates/files"
88
- FileUtils.cp 'picrate.rb' "#{HOME_DIR}/.config/geany/templates/files"
87
+ FileUtils.cp 'picrate.rb', "#{HOME_DIR}/.config/geany/templates/files"
89
88
  end
90
89
  unless File.exist? "#{HOME_DIR}/projects/picrate.geany"
91
90
  FileUtils.mkdir_p "#{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: 0.9.0
4
+ version: 1.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-24 00:00:00.000000000 Z
11
+ date: 2019-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -182,7 +182,7 @@ files:
182
182
  - lib/jogl-all-natives-linux-amd64.jar
183
183
  - lib/jogl-all-natives-linux-armv6hf.jar
184
184
  - lib/jogl-all.jar
185
- - lib/picrate-0.9.0.jar
185
+ - lib/picrate-1.0.0.jar
186
186
  - lib/picrate.rb
187
187
  - lib/picrate/app.rb
188
188
  - lib/picrate/creators/parameters.rb
@@ -241,7 +241,8 @@ files:
241
241
  - src/main/java/monkstone/vecmath/vec2/package-info.java
242
242
  - src/main/java/monkstone/vecmath/vec3/Vec3.java
243
243
  - src/main/java/monkstone/vecmath/vec3/package-info.java
244
- - src/main/java/monkstone/videoevent/VideoInterface.java
244
+ - src/main/java/monkstone/videoevent/CaptureEvent.java
245
+ - src/main/java/monkstone/videoevent/MovieEvent.java
245
246
  - src/main/java/monkstone/videoevent/package-info.java
246
247
  - src/main/java/processing/awt/PGraphicsJava2D.java
247
248
  - src/main/java/processing/awt/PShapeJava2D.java
@@ -362,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
362
363
  version: '0'
363
364
  requirements:
364
365
  - java runtime >= 1.8.0_161+
365
- rubygems_version: 3.0.4
366
+ rubygems_version: 3.0.6
366
367
  signing_key:
367
368
  specification_version: 4
368
369
  summary: ruby wrapper for processing-3.5.3 on raspberrypi and linux64