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 +4 -4
- data/bin/soby +5 -1
- data/lib/soby.rb +1 -1
- data/lib/soby/loader.rb +4 -1
- data/lib/soby/slide.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5bcc2a4a2799b81ef7227a158b722dbc20febaf
|
4
|
+
data.tar.gz: 7b5fe5ad87458b91459c67dc6e36b20a52e9de2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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?
|
data/lib/soby.rb
CHANGED
@@ -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'
|
data/lib/soby/loader.rb
CHANGED
@@ -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 =
|
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
|
data/lib/soby/slide.rb
CHANGED
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
|
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-
|
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
|