svgle 0.3.0 → 0.3.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 +0 -0
- data.tar.gz.sig +0 -0
- data/lib/svgle.rb +3 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5088a52b352f0d8eefefe2cc61dd30e94bb720b
|
4
|
+
data.tar.gz: d31b421c625b8435d449de2184a5ed83c90ce147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33900e49d80cae8179a58ec2743f81d4bf28c66906126cdd1ae21af64bfb7483242a0baddc4fcf5959e4d5eb813f5145feea9098482fd8acc90b08459270be28
|
7
|
+
data.tar.gz: 5909045c705aa3289cd904f6d4d7e2bb6905ab912681cc039c3ad020732dda988933cb6f82b5ee3625abba59860f32b6134d51f5dd16ac2ab849690f801dfb6b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/svgle.rb
CHANGED
@@ -18,8 +18,10 @@ require 'rxfhelper'
|
|
18
18
|
|
19
19
|
DEFAULT_CSS = <<CSS
|
20
20
|
|
21
|
+
svg {background-color: white}
|
21
22
|
rect {fill: yellow}
|
22
23
|
line, polyline {stroke: green; stroke-width: 3}
|
24
|
+
text {fill: red}
|
23
25
|
|
24
26
|
CSS
|
25
27
|
|
@@ -196,7 +198,7 @@ class Svgle < Rexle
|
|
196
198
|
|
197
199
|
|
198
200
|
class Svg < Element
|
199
|
-
attr2_accessor *%i(width height)
|
201
|
+
attr2_accessor *%i(width height background-color)
|
200
202
|
def boundary()
|
201
203
|
[0,0,0,0]
|
202
204
|
end
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|