ooxml_parser 0.14.1 → 0.14.2

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: 5bfd9bf403c49920d072ee03ff67f63a80384b427ba11b13e1284aaa7736ec00
4
- data.tar.gz: 7c10534ec85dd9d710759aa243684e37e8bdde011290095d565caed696966330
3
+ metadata.gz: c95b99d5e8d76d3aa01ae9ede02b290bc97e8959dc61fbf33d50e51d52ec9ebc
4
+ data.tar.gz: 053d4bd9fcd951f1e9507adc5dd1e281227e9c1643f8fdfc0ecdefea5462bab1
5
5
  SHA512:
6
- metadata.gz: 4c108a26a2a99b55af6e98206979d08a28b8ea05241b463b0a6efa2820798d1b4a4a7efb4d194e2980361569d8c6b10ba0d21bec41a3fbc6cb59c706367f8ac0
7
- data.tar.gz: c4ca66efcd1b8d313fa2e4370f552531e2f7b9af1fa792c5e77b1a8e1566c655efff505ada827869fa92dfda06171e00e0edb1702f754a522a91d3cd460dd44d
6
+ metadata.gz: 63c6f712cb033e723c63b44067d08323408cf6fc13472a0af57425899e74630f6389bc6ea77b4bf849d2745c04378f444c4c7932dfaafc94b7108bbeaeadf3e8
7
+ data.tar.gz: 86d3dad08a7d0838b4a11cfaf4329b6806b786ee7f791aadf03ea68efcd8e1b94901e4a8b81420412868882b855a606b3144aa28a27d92c01c11e4ed3196881d
@@ -53,12 +53,12 @@ module OoxmlParser
53
53
  @grouping = chart_props_node_child.attribute('val').value.to_sym
54
54
  when 'ser'
55
55
  @series << Series.new(parent: self).parse(chart_props_node_child)
56
- case @type
57
- when :point, :bubble
58
- val = chart_props_node_child.xpath('c:yVal')[0]
59
- else
60
- val = chart_props_node_child.xpath('c:val')[0]
61
- end
56
+ val = case @type
57
+ when :point, :bubble
58
+ chart_props_node_child.xpath('c:yVal')[0]
59
+ else
60
+ chart_props_node_child.xpath('c:val')[0]
61
+ end
62
62
  next unless val
63
63
  next if val.xpath('c:numRef').empty?
64
64
 
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'uri'
4
+
3
5
  module OoxmlParser
4
6
  # Class for storing image data
5
7
  class FileReference < OOXMLDocumentObject
@@ -4,6 +4,6 @@ module OoxmlParser
4
4
  # This module holds the RuboCop version information.
5
5
  module Version
6
6
  # [String] Version of Gem
7
- STRING = '0.14.1'
7
+ STRING = '0.14.2'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ooxml_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-03 00:00:00.000000000 Z
13
+ date: 2021-09-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -579,7 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
579
579
  - !ruby/object:Gem::Version
580
580
  version: '0'
581
581
  requirements: []
582
- rubygems_version: 3.2.22
582
+ rubygems_version: 3.2.26
583
583
  signing_key:
584
584
  specification_version: 4
585
585
  summary: OoxmlParser Gem