openxml-drawingml 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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 234ae593cf6b0352ea48225f59d687c7f569e4fb38a5c974ba6a003be02d1c08
|
4
|
+
data.tar.gz: 32e68b47f5cc7ea282f37e169eec8f589f40e2750948283cb14e437904ce41b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c90f86bfb4168f1c8706337743086560e281389974dea7e7ba1c592fc69ca551a951a8c85682377ac9a69ddc1a3607bac0486b9da96cc2706bfada3832234e58
|
7
|
+
data.tar.gz: 1b57e9bc8d593ff7a11fff0aef292e45667fed225b6a3aa1600d19e7ce29ea20f6a827e655cf6d912099a0b1eeb4c294523192d12d85bf7679ce22279e2af9e3
|
@@ -12,7 +12,7 @@ module OpenXml
|
|
12
12
|
|
13
13
|
def initialize(value)
|
14
14
|
super()
|
15
|
-
target_property = value =~ /%/ ? :spacing_percent= : :spacing_points=
|
15
|
+
target_property = value.is_a?(String) && value =~ /%/ ? :spacing_percent= : :spacing_points=
|
16
16
|
public_send(target_property, value)
|
17
17
|
end
|
18
18
|
|
@@ -12,7 +12,7 @@ module OpenXml
|
|
12
12
|
|
13
13
|
def initialize(value)
|
14
14
|
super()
|
15
|
-
target_property = value =~ /%/ ? :spacing_percent= : :spacing_points=
|
15
|
+
target_property = value.is_a?(String) && value =~ /%/ ? :spacing_percent= : :spacing_points=
|
16
16
|
public_send(target_property, value)
|
17
17
|
end
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openxml-drawingml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amos King
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-02-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -416,7 +416,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
416
416
|
- !ruby/object:Gem::Version
|
417
417
|
version: '0'
|
418
418
|
requirements: []
|
419
|
-
rubygems_version: 3.
|
419
|
+
rubygems_version: 3.4.6
|
420
420
|
signing_key:
|
421
421
|
specification_version: 4
|
422
422
|
summary: Implements the Office Open XML spec for DrawingML
|