ooxml_parser 0.16.0 → 0.17.0

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: 93d49b878e6b9a06afef0feb2bc87343ce8ee65010b40cf97d4df4be73fc32d9
4
- data.tar.gz: 90466124985a9d35ee740930b459f8d03a72bd4ed84534d8e90427c58cf3e881
3
+ metadata.gz: 0237d3a93d29a2948634cd1e3f4c9c414347ee39176aad7d3c7e75e55b2a8314
4
+ data.tar.gz: e423b10a5309aac333a95be460b863cc2cbea1449b866817dafbe427c092bf34
5
5
  SHA512:
6
- metadata.gz: fba03885d36dbea193b6cd4616062e9d7ed5c6cfee9ac35d1767a3715736ab96b63d6a2a0015227aad188bef73e7ad8196a347667d38173de1c1d4c0773235f1
7
- data.tar.gz: 0db3346a2caf864675cc3bfa0a0bce44bbf6dcda1423941c2c2fd95cce8d90cb4721bb2127a0493fd206b43b61a94eb8780f586ab499137bbd252689709839f7
6
+ metadata.gz: 22783602daacb4933c941023d39757fd4dddef2adc64dcd58e6ef70ad6141b764b300e65745b50691cf138e2b212ccbd8ed542d0cbbe8b62dc0cc905d47760ed
7
+ data.tar.gz: 4a1843d681f5253234eeb4bf33c240db9ea46f2ab43f219a0a391297475a4f1716ba4b7915599bcb06ad41605071190e4788f6516ce43983c5d3f0846ea78dc8
@@ -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.16.0'
7
+ STRING = '0.17.0'
8
8
  end
9
9
  end
@@ -25,6 +25,10 @@ module OoxmlParser
25
25
  attr_reader :percent
26
26
  # @return [Integer] Number of items in top/bottom rule
27
27
  attr_reader :rank
28
+ # @return [Boolean] Specifies whether rule highlights values above average
29
+ attr_reader :above_average
30
+ # @return [Boolean] Specifies whether rule highlights values equal to average
31
+ attr_reader :equal_average
28
32
  # @return [Integer] Number of standard deviations in above/below average rule
29
33
  attr_reader :standard_deviation
30
34
  # @return [String] Text value in text rule
@@ -43,6 +47,7 @@ module OoxmlParser
43
47
  attr_reader :icon_set
44
48
 
45
49
  def initialize(parent: nil)
50
+ @above_average = true
46
51
  @formulas = []
47
52
  super
48
53
  end
@@ -71,6 +76,10 @@ module OoxmlParser
71
76
  @percent = attribute_enabled?(value)
72
77
  when 'rank'
73
78
  @rank = value.value.to_i
79
+ when 'aboveAverage'
80
+ @above_average = attribute_enabled?(value)
81
+ when 'equalAverage'
82
+ @equal_average = attribute_enabled?(value)
74
83
  when 'stdDev'
75
84
  @standard_deviation = value.value.to_i
76
85
  when 'text'
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.16.0
4
+ version: 0.17.0
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-09-14 00:00:00.000000000 Z
13
+ date: 2021-09-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri