text2svg 0.3.3 → 0.3.4

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: 76e9ae548aa0e72a21afcd611def78a1c9b55000
4
- data.tar.gz: 34f55782b5ff78a653bb66b9e93dde1e040ce72b
3
+ metadata.gz: 357a62eff27092a7b4e254787d0a864a35806029
4
+ data.tar.gz: f8550343fa880b9dcc680947d3098c6f71ee264c
5
5
  SHA512:
6
- metadata.gz: 32eb3e5afefe56cb945639c293b63a8c304ce3446f5b3f59ca658f9cc06f26108e25d9eae46192db7031e5ab663b036f9da8efe607b274091e0af2d65e22163b
7
- data.tar.gz: 35d48ca7a0aa0c151734fdd91c9555fefabaf9a4222e461fcb5f799d438089731635dfd67a635e74360420954a8e967f0b0492677499fa8790deeb2876f5e45e
6
+ metadata.gz: 3db21fadbd92f6b74eecbff8a628dac2fc26041633867648e54736d5fdef7970d06a797407c9031ae3aa750048f3471e2e9034e94341d2d2c7bf3b1d2683e161
7
+ data.tar.gz: 87db9c21fddd3c7298eb4701f45339e30791a2883dca29d104a67df1e2848a7ee8eb7f960476885cc5ef2d14509e54cfc89c8d7649a1b9d7736c7a8b41c001fb
@@ -93,7 +93,7 @@ module Text2svg
93
93
  before_char = nil
94
94
  if line.empty?.!
95
95
  line.map { |cs|
96
- cs.width = if cs == line.last
96
+ cs.width = if cs.equal?(line.last)
97
97
  [cs.width, cs.hori_advance].max
98
98
  else
99
99
  cs.hori_advance
@@ -1,3 +1,3 @@
1
1
  module Text2svg
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: text2svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksss