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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5fb90cf68694d7625bb88ae7263499e8d95b01b
4
- data.tar.gz: 8b60a5046dabfe8d0b123fc4b7652ec6d6ce7fe7
3
+ metadata.gz: e5088a52b352f0d8eefefe2cc61dd30e94bb720b
4
+ data.tar.gz: d31b421c625b8435d449de2184a5ed83c90ce147
5
5
  SHA512:
6
- metadata.gz: 22ce31a596a27b7534da9137261142ba62c531ac67cb162718957c6641788bc2856d974c0412da8957fd879eb336f94fc41a9a1acb65e8b7ee8c8ba8576b1a03
7
- data.tar.gz: 1c3860963d2f9391db99fd0327fb67fb8f56219fc43e99dbb6614f3848b7257ca4870218c996e3560542d00382a5a9c581398e573cb0328a855f3216da3e7d98
6
+ metadata.gz: 33900e49d80cae8179a58ec2743f81d4bf28c66906126cdd1ae21af64bfb7483242a0baddc4fcf5959e4d5eb813f5145feea9098482fd8acc90b08459270be28
7
+ data.tar.gz: 5909045c705aa3289cd904f6d4d7e2bb6905ab912681cc039c3ad020732dda988933cb6f82b5ee3625abba59860f32b6134d51f5dd16ac2ab849690f801dfb6b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svgle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file