openxml-docx 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +30 -32
- data/lib/openxml/docx/version.rb +1 -1
- data/lib/openxml/vml/elements/group.rb +1 -1
- data/lib/openxml/vml/elements/rectangle.rb +1 -1
- data/lib/openxml/vml/elements/rounded_rectangle.rb +1 -1
- data/openxml-docx.gemspec +1 -5
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3230b9102d6d7238a93529ca45b37e26c2161917
|
4
|
+
data.tar.gz: 6768ba564bbd65037725a15680c19b102c91aa87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23ea675313af793258ca1110d3a80224198ba330e6bb4787c05068ca03689257f7ab0a72dc20df59870fcfb6c91bf04c1980b6b5f1bbd5560de2aa9c9e627716
|
7
|
+
data.tar.gz: 2553c1c1ccb86cb01fb517624b51868c6cfe5634a086a78c5167631a87c56238139769cbf3954976b9da813c26cb0f4216b8524a8cbb93a9566948597d11983b
|
data/Gemfile.lock
CHANGED
@@ -1,58 +1,56 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
openxml-docx (0.11.
|
4
|
+
openxml-docx (0.11.1)
|
5
5
|
nokogiri
|
6
6
|
openxml-drawingml
|
7
7
|
openxml-package (>= 0.2.2)
|
8
|
-
ox (~> 2.
|
8
|
+
ox (~> 2.9.0)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
coderay (1.1.
|
13
|
+
coderay (1.1.2)
|
14
14
|
diff-lcs (1.3)
|
15
15
|
docile (1.1.5)
|
16
16
|
json (2.1.0)
|
17
|
-
method_source (0.
|
18
|
-
mini_portile2 (2.
|
19
|
-
nokogiri (1.8.
|
20
|
-
mini_portile2 (~> 2.
|
21
|
-
openxml-drawingml (0.
|
17
|
+
method_source (0.9.0)
|
18
|
+
mini_portile2 (2.3.0)
|
19
|
+
nokogiri (1.8.2)
|
20
|
+
mini_portile2 (~> 2.3.0)
|
21
|
+
openxml-drawingml (0.2.0)
|
22
22
|
nokogiri
|
23
|
-
openxml-package (~> 0.2
|
24
|
-
openxml-package (0.2
|
23
|
+
openxml-package (~> 0.3.2)
|
24
|
+
openxml-package (0.3.2)
|
25
25
|
nokogiri
|
26
26
|
ox
|
27
27
|
rubyzip (~> 1.2.1)
|
28
|
-
ox (2.
|
29
|
-
pry (0.
|
28
|
+
ox (2.9.0)
|
29
|
+
pry (0.11.3)
|
30
30
|
coderay (~> 1.1.0)
|
31
|
-
method_source (~> 0.
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
rspec-
|
37
|
-
rspec-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
rspec-expectations (3.6.0)
|
31
|
+
method_source (~> 0.9.0)
|
32
|
+
rake (12.3.0)
|
33
|
+
rr (1.2.1)
|
34
|
+
rspec (3.7.0)
|
35
|
+
rspec-core (~> 3.7.0)
|
36
|
+
rspec-expectations (~> 3.7.0)
|
37
|
+
rspec-mocks (~> 3.7.0)
|
38
|
+
rspec-core (3.7.1)
|
39
|
+
rspec-support (~> 3.7.0)
|
40
|
+
rspec-expectations (3.7.0)
|
42
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-mocks (3.
|
42
|
+
rspec-support (~> 3.7.0)
|
43
|
+
rspec-mocks (3.7.0)
|
45
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-support (3.
|
45
|
+
rspec-support (~> 3.7.0)
|
46
|
+
rspec-support (3.7.0)
|
48
47
|
rubyzip (1.2.1)
|
49
|
-
simplecov (0.
|
48
|
+
simplecov (0.15.1)
|
50
49
|
docile (~> 1.1.0)
|
51
50
|
json (>= 1.8, < 3)
|
52
51
|
simplecov-html (~> 0.10.0)
|
53
|
-
simplecov-html (0.10.
|
54
|
-
|
55
|
-
timecop (0.8.1)
|
52
|
+
simplecov-html (0.10.2)
|
53
|
+
timecop (0.9.1)
|
56
54
|
|
57
55
|
PLATFORMS
|
58
56
|
ruby
|
@@ -67,4 +65,4 @@ DEPENDENCIES
|
|
67
65
|
timecop
|
68
66
|
|
69
67
|
BUNDLED WITH
|
70
|
-
1.
|
68
|
+
1.16.1
|
data/lib/openxml/docx/version.rb
CHANGED
@@ -61,7 +61,7 @@ module OpenXml
|
|
61
61
|
|
62
62
|
def valid_diagram_layout(value)
|
63
63
|
message = "Invalid diagram layout. Must be a single digit between 0 and 3 inclusive"
|
64
|
-
raise ArgumentError, message unless (value.is_a?(
|
64
|
+
raise ArgumentError, message unless (value.is_a?(Integer) && (0..3).include?(value)) || value =~ /^[0-3]$/
|
65
65
|
end
|
66
66
|
|
67
67
|
end
|
@@ -76,7 +76,7 @@ module OpenXml
|
|
76
76
|
|
77
77
|
def valid_diagram_layout(value)
|
78
78
|
message = "Invalid diagram layout. Must be a single digit between 0 and 3 inclusive"
|
79
|
-
raise ArgumentError, message unless (value.is_a?(
|
79
|
+
raise ArgumentError, message unless (value.is_a?(Integer) && (0..3).include?(value)) || value =~ /^[0-3]$/
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|
@@ -82,7 +82,7 @@ module OpenXml
|
|
82
82
|
|
83
83
|
def valid_diagram_layout(value)
|
84
84
|
message = "Invalid diagram layout. Must be a single digit between 0 and 3 inclusive"
|
85
|
-
raise ArgumentError, message unless (value.is_a?(
|
85
|
+
raise ArgumentError, message unless (value.is_a?(Integer) && (0..3).include?(value)) || value =~ /^[0-3]$/
|
86
86
|
end
|
87
87
|
|
88
88
|
end
|
data/openxml-docx.gemspec
CHANGED
@@ -24,11 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency "nokogiri"
|
25
25
|
spec.add_dependency "openxml-package", ">= 0.2.2"
|
26
26
|
spec.add_dependency "openxml-drawingml"
|
27
|
-
|
28
|
-
# Ox 2.4.10 changed how special characters are encoded,
|
29
|
-
# but a few of openxml-docx's tests rely on the previous
|
30
|
-
# behavior. Remove this line after refactoring those tests.
|
31
|
-
spec.add_dependency "ox", "~> 2.4.3", "< 2.4.10"
|
27
|
+
spec.add_dependency "ox", "~> 2.9.0"
|
32
28
|
|
33
29
|
spec.add_development_dependency "pry"
|
34
30
|
spec.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openxml-docx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Doyel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -59,20 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.
|
63
|
-
- - "<"
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: 2.4.10
|
62
|
+
version: 2.9.0
|
66
63
|
type: :runtime
|
67
64
|
prerelease: false
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
69
66
|
requirements:
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
|
-
version: 2.
|
73
|
-
- - "<"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 2.4.10
|
69
|
+
version: 2.9.0
|
76
70
|
- !ruby/object:Gem::Dependency
|
77
71
|
name: pry
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|