r2dsvg 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -1
- data/lib/r2dsvg.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2f8dbde8ddcf67adf851218c7d44183f77d16acaffbc6b2f49a5835f564def3
|
4
|
+
data.tar.gz: fdcc4c8e58499e1b8c4682fd1b63ae2e0a7fb4d17917e2a4b84bf171bc5fa24b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ea267757c8e9863a2453258e38812c5d2883e0491ddc418749cc7624e58b29b37ca0fae26ae6a41c093b0189918a19b98d2495d9c2ac4a01b68edc52bbdcc2
|
7
|
+
data.tar.gz: 7581ec536727d065b320210ce2fbd9017cf4d959d96ba1a0f64e5b15c7c46ff6b217da15273663498b301e8d937d90dfabab5dbf1738b13ada2dc3104a2820fd
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
#�0Lh�.#��yɠ)"b|p�|6�� ���?"��'AFW�ꈓ�ʍ�X�I�� �w�oV�e.V�O�l�;+�ʕ|��
|
data/lib/r2dsvg.rb
CHANGED
@@ -9,6 +9,7 @@ require 'svgle'
|
|
9
9
|
require 'ruby2d' # experimental gem depends upon simple2d binaries
|
10
10
|
require 'dom_render'
|
11
11
|
|
12
|
+
|
12
13
|
DEFAULT_CSS = <<CSS
|
13
14
|
|
14
15
|
svg {background-color: white}
|
@@ -225,12 +226,11 @@ class R2dSvg
|
|
225
226
|
|
226
227
|
file = File.exists?(audio) ? audio : nil
|
227
228
|
puts 'file: ' + file.inspect if @debug
|
228
|
-
|
229
|
+
|
229
230
|
obj = Sound.new(file)
|
230
231
|
e.obj = obj
|
231
232
|
|
232
233
|
def e.play() self.obj.play() end
|
233
|
-
#@window.add obj
|
234
234
|
|
235
235
|
end
|
236
236
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|