propane 2.8.0.pre-java → 2.9.0-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.
@@ -10,10 +10,12 @@ SOUND_VERSION = 'v1.3.2' # version 1.3.2
10
10
  GLVIDEO = 'processing-glvideo.zip'
11
11
  VIDEO = 'video-2.zip'
12
12
  VIDEO_VERSION = '2' # version 1.0.1
13
- EXAMPLES = '2.1'.freeze
13
+ EXAMPLES = '2.3'.freeze
14
14
  HOME_DIR = ENV['HOME']
15
15
  MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
16
16
 
17
+ CLOBBER.include(EXAMPLES, SOUND, GLVIDEO, VIDEO)
18
+
17
19
  desc 'download, and copy propane examples'
18
20
  task default: [:download_and_copy_samples]
19
21
 
@@ -33,13 +35,13 @@ file file_name do
33
35
  end
34
36
 
35
37
  desc 'download and copy sound library to ~/.propane'
36
- task download_and_copy_sound: [:download_sound, :copy_sound]
38
+ task download_and_copy_sound: [:init_dir, :download_sound, :copy_sound, :clobber]
37
39
 
38
40
  desc 'download and copy video library to ~/.propane'
39
- task download_and_copy_video: [:download_video, :copy_video]
41
+ task download_and_copy_video: [:init_dir, :download_video, :copy_video, :clobber]
40
42
 
41
43
  desc 'download and copy glvideo library to ~/.propane'
42
- task download_and_copy_glvideo: [:download_glvideo, :copy_glvideo]
44
+ task download_and_copy_glvideo: [:init_dir, :download_glvideo, :copy_glvideo, :clobber]
43
45
 
44
46
 
45
47
  desc 'download sound library'
@@ -75,6 +77,15 @@ task :download_video do
75
77
  end
76
78
  end
77
79
 
80
+ desc 'initialize ~/.propane directories'
81
+ task :init_dir do
82
+ unless File.exist? "#{HOME_DIR}/.propane/libraries"
83
+ sh "mkdir -p ~/.propane"
84
+ sh "mkdir -p ~/.propane/libraries"
85
+ end
86
+ end
87
+
88
+
78
89
  desc 'copy examples'
79
90
  task :copy_examples => file_name do
80
91
  if MAC_OR_LINUX.nil?
@@ -89,10 +100,13 @@ end
89
100
 
90
101
  desc 'copy sound library'
91
102
  task :copy_sound => SOUND do
103
+ directory "~/.propane"
104
+ directory "~/.propane/libraries"
92
105
  sh "unzip #{SOUND}"
93
106
  sh "rm -r #{HOME_DIR}/.propane/libraries/sound" if File.exist? "#{HOME_DIR}/.propane/libraries/sound"
94
- sh "cp -r sound #{HOME_DIR}/.propane/libraries/sound"
107
+ sh "cp -r sound #{HOME_DIR}/.propane/libraries"
95
108
  sh 'rm -r sound'
109
+ sh 'rm -r __MACOSX'
96
110
  end
97
111
 
98
112
  desc 'copy video library'
@@ -105,6 +119,7 @@ end
105
119
 
106
120
  desc 'copy glvideo library'
107
121
  task :copy_glvideo => GLVIDEO do
122
+ directory "~/.propane/libraries/glvideo"
108
123
  sh "unzip #{GLVIDEO}"
109
124
  sh "rm -r #{HOME_DIR}/.propane/libraries/glvideo" if File.exist? "#{HOME_DIR}/.propane/libraries/glvideo"
110
125
  sh "cp -r glvideo #{HOME_DIR}/.propane/libraries/glvideo"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0.pre
4
+ version: 2.9.0
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-17 00:00:00.000000000 Z
11
+ date: 2018-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,7 +72,6 @@ files:
72
72
  - ".gitignore"
73
73
  - ".mvn/extensions.xml"
74
74
  - ".mvn/wrapper/maven-wrapper.properties"
75
- - ".travis.yml"
76
75
  - ".yardopts"
77
76
  - CHANGELOG.md
78
77
  - Gemfile
@@ -88,7 +87,7 @@ files:
88
87
  - lib/jogl-all-2.3.2-natives-linux-amd64.jar
89
88
  - lib/jogl-all-2.3.2-natives-macosx-universal.jar
90
89
  - lib/jogl-all-2.3.2.jar
91
- - lib/propane-2.8.0.jar
90
+ - lib/propane-2.9.0.jar
92
91
  - lib/propane.rb
93
92
  - lib/propane/app.rb
94
93
  - lib/propane/creators/sketch_class.rb
@@ -112,6 +111,7 @@ files:
112
111
  - library/slider/slider.rb
113
112
  - library/vector_utils/vector_utils.rb
114
113
  - library/video_event/video_event.rb
114
+ - license.txt
115
115
  - pom.rb
116
116
  - pom.xml
117
117
  - propane.gemspec
@@ -162,6 +162,7 @@ files:
162
162
  - src/main/java/processing/core/PSurface.java
163
163
  - src/main/java/processing/core/PSurfaceNone.java
164
164
  - src/main/java/processing/core/PVector.java
165
+ - src/main/java/processing/core/ThinkDifferent.java
165
166
  - src/main/java/processing/data/FloatDict.java
166
167
  - src/main/java/processing/data/FloatList.java
167
168
  - src/main/java/processing/data/IntDict.java
@@ -179,6 +180,8 @@ files:
179
180
  - src/main/java/processing/event/KeyEvent.java
180
181
  - src/main/java/processing/event/MouseEvent.java
181
182
  - src/main/java/processing/event/TouchEvent.java
183
+ - src/main/java/processing/javafx/PGraphicsFX2D.java
184
+ - src/main/java/processing/javafx/PSurfaceFX.java
182
185
  - src/main/java/processing/opengl/FontTexture.java
183
186
  - src/main/java/processing/opengl/FrameBuffer.java
184
187
  - src/main/java/processing/opengl/LinePath.java
@@ -250,16 +253,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
253
  version: '0'
251
254
  required_rubygems_version: !ruby/object:Gem::Requirement
252
255
  requirements:
253
- - - ">"
256
+ - - ">="
254
257
  - !ruby/object:Gem::Version
255
- version: 1.3.1
258
+ version: '0'
256
259
  requirements:
257
- - java runtime >= 1.8.0_151+
260
+ - java runtime >= 1.8.0_171+
258
261
  rubyforge_project:
259
- rubygems_version: 2.7.6
262
+ rubygems_version: 2.7.7
260
263
  signing_key:
261
264
  specification_version: 4
262
- summary: ruby wrapper for processing-3.3.7 on MacOS and linux64 bit only for opengl
265
+ summary: ruby wrapper for processing-3.4 on MacOS and linux64 bit only for opengl
263
266
  test_files:
264
267
  - test/create_test.rb
265
268
  - test/deglut_spec_test.rb
@@ -1,10 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- dist: trusty
4
-
5
- rvm:
6
- - jruby-9.1.16.0
7
- jdk:
8
- - oraclejdk8
9
- os:
10
- - linux