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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b95d04d57b30da896e2e7fe75c4d43b7c63474c7
4
- data.tar.gz: 32679fe03b462ee7924e5384784e7a11f8292aa7
3
+ metadata.gz: 3230b9102d6d7238a93529ca45b37e26c2161917
4
+ data.tar.gz: 6768ba564bbd65037725a15680c19b102c91aa87
5
5
  SHA512:
6
- metadata.gz: c2528209b8f6d13ff94daab3d871a6e8a3add1ca216bb9cce583b22d72e0c517a4a2efc4ef493d870135750a0a5a859d594996a08a0d22b9899a4407e884bf4b
7
- data.tar.gz: f8d7f0ea63c4feccf5ec230e19bc6b5c61be31bccb1239dc8c04a802c4af72257c3ce0408f78bb6271f50781d7aa92ae5a3c2f1a4b9f4edf391ab0116136f6ec
6
+ metadata.gz: 23ea675313af793258ca1110d3a80224198ba330e6bb4787c05068ca03689257f7ab0a72dc20df59870fcfb6c91bf04c1980b6b5f1bbd5560de2aa9c9e627716
7
+ data.tar.gz: 2553c1c1ccb86cb01fb517624b51868c6cfe5634a086a78c5167631a87c56238139769cbf3954976b9da813c26cb0f4216b8524a8cbb93a9566948597d11983b
@@ -1,58 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openxml-docx (0.11.0)
4
+ openxml-docx (0.11.1)
5
5
  nokogiri
6
6
  openxml-drawingml
7
7
  openxml-package (>= 0.2.2)
8
- ox (~> 2.4.3, < 2.4.10)
8
+ ox (~> 2.9.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- coderay (1.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.8.2)
18
- mini_portile2 (2.2.0)
19
- nokogiri (1.8.0)
20
- mini_portile2 (~> 2.2.0)
21
- openxml-drawingml (0.1.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.9)
24
- openxml-package (0.2.9)
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.4.9)
29
- pry (0.10.4)
28
+ ox (2.9.0)
29
+ pry (0.11.3)
30
30
  coderay (~> 1.1.0)
31
- method_source (~> 0.8.1)
32
- slop (~> 3.4)
33
- rake (12.0.0)
34
- rr (1.2.0)
35
- rspec (3.6.0)
36
- rspec-core (~> 3.6.0)
37
- rspec-expectations (~> 3.6.0)
38
- rspec-mocks (~> 3.6.0)
39
- rspec-core (3.6.0)
40
- rspec-support (~> 3.6.0)
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.6.0)
44
- rspec-mocks (3.6.0)
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.6.0)
47
- rspec-support (3.6.0)
45
+ rspec-support (~> 3.7.0)
46
+ rspec-support (3.7.0)
48
47
  rubyzip (1.2.1)
49
- simplecov (0.14.1)
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.1)
54
- slop (3.6.0)
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.14.6
68
+ 1.16.1
@@ -1,5 +1,5 @@
1
1
  module OpenXml
2
2
  module Docx
3
- VERSION = "0.11.0"
3
+ VERSION = "0.11.1"
4
4
  end
5
5
  end
@@ -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?(Fixnum) && (0..3).include?(value)) || value =~ /^[0-3]$/
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?(Fixnum) && (0..3).include?(value)) || value =~ /^[0-3]$/
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?(Fixnum) && (0..3).include?(value)) || value =~ /^[0-3]$/
85
+ raise ArgumentError, message unless (value.is_a?(Integer) && (0..3).include?(value)) || value =~ /^[0-3]$/
86
86
  end
87
87
 
88
88
  end
@@ -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.0
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-01-19 00:00:00.000000000 Z
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.4.3
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.4.3
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