ooxml_parser 0.37.0 → 0.37.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: 87456a8bc9e65bfdc392bc011d85d926898a72fd1fd93b9df816ff9c17829e23
4
- data.tar.gz: a1c31e373fe50d84c20a94921efa541b6aec385efb9985def44853c394a8f814
3
+ metadata.gz: 7b5004cf92e74087877d05fe22c41a1223c0ebf11d1eec8a92017bfdc606162e
4
+ data.tar.gz: c8c04f20f9d6703886ceb633210161b1f679a8c33adebbb080cb74d8010aa7a1
5
5
  SHA512:
6
- metadata.gz: bc5b0d1c069bd862ee61ee2043abe88e3862f509d12e3c5cdb1a3aabb6e40742ae4f16410911fd3a34d8babd21aa94c15bd4a072456b482f00e127a7c371a15d
7
- data.tar.gz: 81cde9b66505385865c6a9c236e7c3bd49b7bb5265f260e8821675bff6e0df06c5b12fe190ba79d09f7c23c6158162d69963ba022a9746c7c67ed4880f991114
6
+ metadata.gz: 56e73d70a6de513b810056b62427392d94c40c3df607f9d5af733eea84602ebd22e539f8caa5fc957353b91e45be2d8db0571ff0b30271e0bb3c8a28bb7bc780
7
+ data.tar.gz: 2fe921ac7252e7e53620482147262cfdaf22060bf771cffd2aacc371fe15a8e5e8a482ed6be04bd9687806adad4786d3ed7799be2f0889340ddd8fc9ec1af9aa
@@ -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.37.0'
7
+ STRING = '0.37.1'
8
8
  end
9
9
  end
@@ -5,6 +5,8 @@ require_relative 'pivot_field/items'
5
5
  module OoxmlParser
6
6
  # Class for parsing <pivotField> tag
7
7
  class PivotField < OOXMLDocumentObject
8
+ # @return [String] field name
9
+ attr_reader :name
8
10
  # @return [String] axis value
9
11
  attr_reader :axis
10
12
  # @return [True, False] should show all
@@ -18,6 +20,8 @@ module OoxmlParser
18
20
  def parse(node)
19
21
  node.attributes.each do |key, value|
20
22
  case key
23
+ when 'name'
24
+ @name = value.value.to_s
21
25
  when 'axis'
22
26
  @axis = value.value.to_s
23
27
  when 'showAll'
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.37.0
4
+ version: 0.37.1
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: 2023-06-20 00:00:00.000000000 Z
13
+ date: 2023-07-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -494,7 +494,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
494
494
  - !ruby/object:Gem::Version
495
495
  version: '0'
496
496
  requirements: []
497
- rubygems_version: 3.4.14
497
+ rubygems_version: 3.4.15
498
498
  signing_key:
499
499
  specification_version: 4
500
500
  summary: OoxmlParser Gem