soby 0.1.0.4 → 0.1.0.5

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/soby.rb +7 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2abc201cb0e794ac95a20048037293ba761a918b
4
- data.tar.gz: d010717412be40c725153e6f2393438bf3d645a4
3
+ metadata.gz: fa2b0f27c0224e910a6d53694f10ea21f1a957bc
4
+ data.tar.gz: c13458cb4f9533e0347ed7d280decad331c2e7a3
5
5
  SHA512:
6
- metadata.gz: 20fea08764dc8b8bc3a2745e3f06854d7f0d1236cf52a3d431e10c8ea4f3aeb81e681ad89c82105b3cb47d5cf23ab762205c258c75b4dc175154b382d5670c3f
7
- data.tar.gz: cd3bfd0b7e29ac62635af0486089cfbaad0d368b4051172f14b63011e97bc08eb317272c4c48cf89bc83288a110d2511ad369341c72e8a2608e94296e947a72e
6
+ metadata.gz: 759be31e350257947f10e6647a96ee14570a1b2cc449dad19d9c1b9f2e5c0a299c579acd005b588f0315f4da11cb3ceafbc857bc1f3793efb5b88be0f2adf626
7
+ data.tar.gz: 0336ce4b1d3d2022ec717c3eb21d7ddd2dc4e47fcea89e3a7e8552fad85766513a77cb987255456317371235f33d3b2046bb634cc9630f91dfb4579d7747bef7
data/lib/soby.rb CHANGED
@@ -212,7 +212,13 @@ class SobyPlayer < Processing::App
212
212
  Soby::auto_update self
213
213
  @has_thread = true
214
214
  end
215
-
215
+
216
+ if key == 'c'
217
+ @frame_number = 1 if @frame_number == nil
218
+ saveFrame "frame-"@frame_number.to_s + ".png"
219
+ @frame_number = @frame_number + 1
220
+ end
221
+
216
222
  if key == 's'
217
223
  Thread::kill @thread if @has_thread
218
224
  end
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
4
+ version: 0.1.0.5
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-08 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.6.4
109
+ rubygems_version: 2.6.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Sozi player !