skatolo 0.7.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/skatolo.rb +10 -11
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87d2881b5488da17684459af3248602ee7f94173
4
- data.tar.gz: 50640b5f31b4a1d72a617cce2732a7909ba7060b
3
+ metadata.gz: 16d29026779bb17d14b21dc2be6381d93e57a2de
4
+ data.tar.gz: 1050876f1692598ec8b69f49d2c62b9ae1d40cf6
5
5
  SHA512:
6
- metadata.gz: bf2c72906650729814e28238cdd0b8caaadc29c01d6a1f2d3a6b8cc835a257185db86bef256126ecf0c367a3f5cfd5456449dc8ec5011c6027c1d112db068c6d
7
- data.tar.gz: bbdd68d909d080bb9ee6d342e1666751d182a96ef29de363bb35b11e53b8e6471680ea5da6c8d1dbf557ec57b9465659f51dfcc670ee3508377064b131045c10
6
+ metadata.gz: ab5b772686fe968ac511d6674bf505c553bed2b5415a84bb15173424bc530fc344ef64b91afadbfd5c97c3c2e44beb1dc4810ca674ae0e3e579c87b8d877457b
7
+ data.tar.gz: 4a81f43d5d7176945dce439cb051c285d8721a32649e616213084154bfecbbf2e74feb4f8fee38bc61aaaf4a1c8b506118fc47b397bdc49a32d39a57263ec69b
data/lib/skatolo.rb CHANGED
@@ -1,18 +1,15 @@
1
1
  require 'jruby/core_ext'
2
2
 
3
+ # TODO: follow the toxicgem and geomerativgem examples.
3
4
  Processing::App.load_library :skatolo
4
5
 
5
- # module skatolo
6
- # include_package 'fr.inria.papart.skatolo'
7
- # end
8
-
9
6
  class EventHandler
10
7
 
11
8
  def initialize skatolo
12
9
  @skatolo = skatolo
13
10
  end
14
11
 
15
- java_signature 'void controlEvent(fr.inria.skatolo.events.ControlEvent)'
12
+ java_signature 'void controlEvent(tech.lity.rea.skatolo.events.ControlEvent)'
16
13
  def controlEvent(controlEvent)
17
14
  @skatolo.send_event_to_sketch controlEvent
18
15
  end
@@ -20,7 +17,7 @@ class EventHandler
20
17
  EventHandler.become_java!
21
18
  end
22
19
 
23
- class Skatolo < Java::FrInriaSkatolo::Skatolo
20
+ class Skatolo < Java::TechLityReaSkatolo::Skatolo
24
21
 
25
22
  def initialize (applet, events_object = nil)
26
23
  @event_handler = EventHandler.new self
@@ -124,17 +121,19 @@ class Skatolo < Java::FrInriaSkatolo::Skatolo
124
121
 
125
122
 
126
123
  def is_event_class object_class
127
- object_class == Java::FrInriaSkatoloGuiControllers::Button or
128
- object_class == Java::FrInriaSkatoloGuiControllers::Bang
124
+ object_class == Java::TechLityReaSkatoloGuiControllers::Button or
125
+ object_class == Java::TechLityReaSkatoloGuiControllers::HoverButton or
126
+ object_class == Java::TechLityReaSkatoloGuiControllers::Bang
129
127
  end
130
128
 
131
129
  def is_value_class object_class
132
- object_class == Java::FrInriaSkatoloGuiControllers::Slider or
133
- object_class == Java::FrInriaSkatoloGuiControllers::Numberbox
130
+ object_class == Java::TechLityReaSkatoloGuiControllers::Slider or
131
+ object_class == Java::TechLityReaSkatoloGuiControllers::HoverToggle or
132
+ object_class == Java::TechLityReaSkatoloGuiControllers::Numberbox
134
133
  end
135
134
 
136
135
  def is_string_value_class object_class
137
- object_class == Java::FrInriaSkatoloGuiControllers::Textfield
136
+ object_class == Java::TechLityReaSkatoloGuiControllers::Textfield
138
137
  end
139
138
 
140
139
 
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skatolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Laviole
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-08 00:00:00.000000000 Z
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: jruby_art
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
@@ -19,9 +20,8 @@ dependencies:
19
20
  - - ">="
20
21
  - !ruby/object:Gem::Version
21
22
  version: 1.2.4
22
- name: jruby_art
23
- prerelease: false
24
23
  type: :runtime
24
+ prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
@@ -32,17 +32,17 @@ dependencies:
32
32
  version: 1.2.4
33
33
  description: 'Based on ControlP5 for new purposes and JRubyArt. Only works with JrubyArt
34
34
  and require Skatolo library to be installed in Processing. '
35
- email: poqudrof@gmail.com
35
+ email: laviole@rea.lity.tech
36
36
  executables: []
37
37
  extensions: []
38
38
  extra_rdoc_files: []
39
39
  files:
40
40
  - lib/skatolo.rb
41
- homepage: https://github.com/poqudrof/skatolo
41
+ homepage: https://github.com/Rea-lity-Tech/skatolo
42
42
  licenses:
43
43
  - LGPL
44
44
  metadata: {}
45
- post_install_message:
45
+ post_install_message:
46
46
  rdoc_options: []
47
47
  require_paths:
48
48
  - lib
@@ -57,9 +57,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  requirements: []
60
- rubyforge_project:
61
- rubygems_version: 2.6.4
62
- signing_key:
60
+ rubyforge_project:
61
+ rubygems_version: 2.6.8
62
+ signing_key:
63
63
  specification_version: 4
64
64
  summary: Skatolo - Gui library for jruby_art
65
65
  test_files: []