jruby_art 2.5.0 → 2.5.1

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: a0144268a4d86f897d675019bc47e7c83be76f1086f3788a7c72a14c2ce752e8
4
- data.tar.gz: 8ed1fb60a410fc4439daa9746d9862c23bb22c3178471226220cf87ba87579a3
3
+ metadata.gz: 0f83fb1eeb3998c1f5b56f4d67ac14f37b53d35e28d59ee2fe530558f7d4db55
4
+ data.tar.gz: 9ba4ada63d3848ff7321d5701f6a2a0f09d5ae90be2e61a1d182b9a4e723067b
5
5
  SHA512:
6
- metadata.gz: f2f64df57dbb8951e0e9d68b7c6d40534e15ad809f4f389ed7b4f6ce943aca828fb56e502993ac4e60d8434e9ae02b3da8711d61c53b41194562fe95d21fc879
7
- data.tar.gz: 30a1b91a990c7f86ce2b67276399130442f1cf92e22bbb938fda76735cba04fb2c856d57858bd6a7b2ce74c38f26e69eeef68dd7676bfc908d745604f8c5ee17
6
+ metadata.gz: 6cbd28b19ef5d12896d28658d737173120a03356e612500301577b9d438678752ad08efb276a558e69cc0182d8b7c38f3de9f8ce867af770b7ad3743d521f997
7
+ data.tar.gz: 006b32a6ffad38416e9a60ab9cccc88a06e5ec6b23560eb06e9ed6a163fba2afd72b493f595825db79871bc8a6b1c143d59e371327c6e9678744d59e965478ef
@@ -2,6 +2,8 @@
2
2
 
3
3
  # detects processing preferences.txt, extracts sketchbook_path
4
4
  class ProcessingIde
5
+ THREE='sketchbook.path.three='.freeze
6
+ FOUR='sketchbook.path.four='.freeze
5
7
  attr_reader :preferences
6
8
  def initialize
7
9
  @preferences = File.join(ENV['HOME'], '.processing', 'preferences.txt')
@@ -14,9 +16,9 @@ class ProcessingIde
14
16
  def sketchbook_path
15
17
  File.open(preferences, 'r') do |file|
16
18
  file.each_line do |line|
17
- if /sketchbook/.match?(line)
18
- return line.tap { |sli| sli.slice!('sketchbook.path.three=') }.chomp
19
- end
19
+ return line.tap { |sli| sli.slice!(FOUR) }.chomp if /sketchbook.path.four/.match?(line)
20
+
21
+ return line.tap { |sli| sli.slice!(THREE) }.chomp if /sketchbook.path.three/.match?(line)
20
22
  end
21
23
  end
22
24
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # A wrapper for version
4
4
  module JRubyArt
5
- VERSION = '2.5.0'
5
+ VERSION = '2.5.1'
6
6
  end
data/vendors/Rakefile CHANGED
@@ -11,12 +11,12 @@ WARNING = <<~WARN
11
11
 
12
12
  WARN
13
13
  # https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip
14
- JRUBYC_VERSION = '9.2.17.0'
14
+ JRUBYC_VERSION = '9.2.19.0'
15
15
  SOUND = 'sound.zip'
16
16
  SOUND_VERSION = 'v2.2.3'
17
17
  VIDEO = 'video.zip'
18
18
  VIDEO_VERSION = 'v2.0'
19
- EXAMPLES = '4.0'
19
+ EXAMPLES = '4.1'
20
20
  HOME_DIR = ENV['HOME']
21
21
  MAC_OR_LINUX = /linux|mac|darwin/.match?(RbConfig::CONFIG['host_os'])
22
22
  DOWNLOAD = 'releases/download/latest'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby_art
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Prout
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '12.3'
41
41
  description: |2
42
- JRubyArt-2.4.0+ is a ruby implementation of the processing art framework, with enhanced
42
+ JRubyArt-2.5.0+ is a ruby implementation of the processing art framework, with enhanced
43
43
  functionality. Processing libraries and ruby gems can be used in your sketches.
44
44
  Features create/run/watch/live modes.
45
45
  email: mamba2928@yahoo.co.uk
@@ -57,7 +57,7 @@ files:
57
57
  - lib/jogl-all-natives-macosx-universal.jar
58
58
  - lib/jogl-all-natives-windows-amd64.jar
59
59
  - lib/jogl-all.jar
60
- - lib/jruby_art-2.5.0.jar
60
+ - lib/jruby_art-2.5.1.jar
61
61
  - lib/jruby_art.rb
62
62
  - lib/jruby_art/app.rb
63
63
  - lib/jruby_art/config.rb