esvg 4.6.5 → 4.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a923b958651d7138656c6c84a668b9dbb2f71256d8d5d05804fec04415a6cb41
4
- data.tar.gz: 0a2bce06990bf4d10357d16403bee18c4ff58aceba9384d42c87676660a0b782
3
+ metadata.gz: 8a1fd96050bdf56d0142342f8e38822676995708375d778d9b24c09716974bad
4
+ data.tar.gz: b82301f64fc222ef379f051fd69df9adce549efa25560fc9735313c0f617f641
5
5
  SHA512:
6
- metadata.gz: 4d6779bebdb391b4077f614acb9945b887393e2abaec8fbe22d26e099dabaa2fc382c5edc1a8c5bc85c67e922ef201a77caa6948e74606d0e30285813fae9b92
7
- data.tar.gz: 8d763eca1893d21b749df6c947e9e8ef87925ec7c86cf1e356475f326660cceb97c6f244fd5bb06b5371e9999da24132ca53094fda7d8448e11388f1a05707ee
6
+ metadata.gz: 83d6383ac2a2c9644f0d0df4033bfd91820f0171300201bc0b6c1b73db37c56ab0cb4399dc9da34fa94c25edd5322d3cbb14a7d9fac3092169ea979701f95992
7
+ data.tar.gz: 2e159b4d5b176ce5d8204ce13a9959369242e47e839463d909ee740be1a85823aceba2f13a8bdca615d815062344edeb6aa8ccfd00f9e0e851f60e60eaa49b32
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ### 4.6.5 (2018-01-10)
3
+ ### 4.6.6 (2019-04-16)
4
+ - Fix: Removed debug fragment
5
+
6
+ ### 4.6.5 (2018-04-16)
4
7
  - Fix: If a viewbox is missing, Esvg recontstructs it from width and height parameters.
5
8
 
6
9
  ### 4.6.4 (2018-01-10)
@@ -59,12 +59,8 @@ module Esvg
59
59
 
60
60
  # Scale width based on propotion to height
61
61
  def scale_width( h )
62
- begin
63
- s = split_unit( h )
64
- "#{( s[:size] / height * width ).round(2)}#{s[:unit]}"
65
- rescue StandardError
66
- binding.pry
67
- end
62
+ s = split_unit( h )
63
+ "#{( s[:size] / height * width ).round(2)}#{s[:unit]}"
68
64
  end
69
65
 
70
66
  # Scale height based on propotion to width
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "4.6.5"
2
+ VERSION = "4.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esvg
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.5
4
+ version: 4.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis