svgshield 0.1.4 → 0.1.5

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: 6348c79c8d12e54c74a8686822bf23f39f02ced3
4
- data.tar.gz: 3bebf1c6b8441ec6ea463585d0b829536b733074
3
+ metadata.gz: 15738b4e46c4934d8e7627e73c9d1f5e25652106
4
+ data.tar.gz: 3bbff18e40759868df35f7b04881ce33155fcf37
5
5
  SHA512:
6
- metadata.gz: d50bc2ab35cf95ac233570fbaf134b1359a781fc61fa0801309cdf90ed547b2c01f83913f019e6f87187c53e638b1511ed85c99d0a0e2d4aeeb7407de2731c59
7
- data.tar.gz: 79cdbb0e401cf6a030f24573e47315b48e2e1af9315767d3bb663f89db1daba142bdf980831e41e1b364e4e19c61d053ef522698103b27b78c403bd4fdf96b74
6
+ metadata.gz: 7013a87e39336299c8d140f38fc6b6c39d8523d90a1b8f56fb2261f4b459b2e9cfb55d573b515ef7affaafcfd36a582f835018e12f1f26355e47fecd96428632
7
+ data.tar.gz: 0a39a14d782a32ba7117b044930c182a930fa263a723fd9092a4f26d7de8e473b032e1797d00137fdecc0c2b0c23a92c1d82940dbcd2fe72cb61f93451ae069a
@@ -10,7 +10,7 @@ class Svgshield
10
10
 
11
11
  # subject_width = 37
12
12
  # status_width = 53
13
- full_width = 86
13
+ full_width = 126
14
14
  full_height = 20
15
15
 
16
16
  @shield = Rasem::SVGImage.new(width: full_width, height: full_height) do
@@ -25,7 +25,7 @@ class Svgshield
25
25
 
26
26
  group 'clip-path' => 'url(#a)' do
27
27
  path fill: '#555', d: "M0 0h37v#{full_height}H0z"
28
- path fill: color, d: "M37 0h49v#{full_height}H37z"
28
+ path fill: color, d: "M37 0h89v#{full_height}H37z"
29
29
  path fill: 'url(#b)', d: "M0 0h#{full_width}v#{full_height}H0z"
30
30
  end
31
31
 
@@ -37,8 +37,8 @@ class Svgshield
37
37
  ) do
38
38
  text(18.5, 15, fill: '#010101', 'fill-opacity' => '.3') { raw subject }
39
39
  text(18.5, 14, fill: '#fff') { raw subject }
40
- text(60.5, 15, fill: '#010101', 'fill-opacity' => '.3') { raw status }
41
- text(60.5, 14, fill: '#fff') { raw status }
40
+ text(80.5, 15, fill: '#010101', 'fill-opacity' => '.3') { raw status }
41
+ text(80.5, 14, fill: '#fff') { raw status }
42
42
  end
43
43
  end
44
44
  end
@@ -1,3 +1,3 @@
1
1
  class Svgshield
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svgshield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evertrue, Inc