soby 0.1.0.6 → 0.1.1.0

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
  SHA1:
3
- metadata.gz: be2c09ab0b1ce98aecb7c5b26f169df7d2a5b8ac
4
- data.tar.gz: a9a6ed9513023a2ee741737872d0569582d86ac5
3
+ metadata.gz: c5bcc2a4a2799b81ef7227a158b722dbc20febaf
4
+ data.tar.gz: 7b5fe5ad87458b91459c67dc6e36b20a52e9de2b
5
5
  SHA512:
6
- metadata.gz: 69f890c9fbf5b48d7c1bd83eb4b34f9423617edf6e03327df81542d8673f021de3785e8e7f89c3dcfcd9e0336733ccc31694c8b7d91a327a609273b3c1d73b46
7
- data.tar.gz: b3ec88fb0bf01d394d407f4b28697e7642043bb51ef3aaa33344e32dec45271ef9ea76c519f0af60c2b3f6d600f8bff3b5db1405c7fa4bdd0766a4afd4654e4c
6
+ metadata.gz: d5551b5ee1baff1f912219ac887621e106a0deca7368d9c39ae0c777cb14aef23a9ffe1c28c6d80bb1f0c70a40291676438adbb47d4dd5b57bc34ead4a8de159
7
+ data.tar.gz: dcd7d11901b7679c311aa0ec6cd707143b7c5a3b9566229cc1c929d4feaa29459f0a10c3debf93ef8a606d9882c076f211b1e8e20a0f56a5e1bb2687a3c4c0a0
data/bin/soby CHANGED
@@ -14,7 +14,11 @@ if ARGV[1] != nil
14
14
  screen_id = ARGV[1].to_i
15
15
  end
16
16
 
17
- Processing::PShapeSVG.TEXT_QUALITY = 2.0
17
+ require 'java'
18
+
19
+
20
+ Java::TechLityReaSvgextended::PShapeSVGExtended.TEXT_QUALITY = 2.0
21
+
18
22
  $app = SobyPlayer.new screen_id
19
23
 
20
24
  sleep 0.2 while not $app.ready?
@@ -10,7 +10,7 @@ require 'jruby/core_ext'
10
10
  # Processing::App::SKETCH_PATH = Dir.pwd
11
11
 
12
12
  # For the other files, we need to load the libraries
13
- Processing::App::load_library 'video', 'toxiclibscore'
13
+ Processing::App::load_library 'video', 'toxiclibscore', 'SVGExtended'
14
14
 
15
15
  require_relative 'soby/transforms'
16
16
  require_relative 'soby/loader'
@@ -6,6 +6,7 @@ require 'nokogiri' # for XML.
6
6
  class PresentationLoader
7
7
 
8
8
  include_package 'processing.core'
9
+ include_package 'tech.lity.rea.SVGExtended'
9
10
 
10
11
  include Soby
11
12
 
@@ -26,7 +27,9 @@ class PresentationLoader
26
27
 
27
28
  def load_files
28
29
  xml = @app.loadXML(@url)
29
- @pshape = PShapeSVG.new(xml)
30
+ @pshape = Java::TechLityReaSvgextended::PShapeSVGExtended.new(xml)
31
+
32
+ # PShapeSVGExtended.new(xml)
30
33
  @presentation.pshape = @pshape
31
34
  @svg = Nokogiri::XML(open(@url)).children[1];
32
35
  end
@@ -100,7 +100,7 @@ class Slide
100
100
 
101
101
  def next_animation
102
102
  @current_animation = @current_animation + 1
103
- @animations[@current_animation -1]
103
+ @animations[@current_animation - 1]
104
104
  end
105
105
 
106
106
  def has_previous_animation?()
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.6
4
+ version: 0.1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Laviole
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-17 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement