ooxml_parser 0.4.0 → 0.4.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: ba540828c5a8309f41774a4a3e8f2ab583191c861ae51f32a0a6fbfb92cf6d91
4
- data.tar.gz: b747ef0164eb751ab889cb184025a1606794f0670aab618d2486a889c5d2f76a
3
+ metadata.gz: 9b55e3dff4a60efe7bcf966f446e6dcc489c7a6b193c35ff18ea7c0b269f3162
4
+ data.tar.gz: '0885286297fd5f3ebc4dfa9412ceb4f08372e9aa8747d1c1c3fa84768f0c57c2'
5
5
  SHA512:
6
- metadata.gz: cc16c99a930f7a68016d099c293bc58672b345eb583d599c4b5ae885dfad705b42103b0f3f79d6604ccfb03b2eb8747f9b1663ea08ed04401002a7f4cdcd4eb7
7
- data.tar.gz: 4824d4244130d1e120ea6cfffb0c34471aff1d9725a60e8fe27a2c5fc04826b5b325cbcfdaaab2f12e1016fdbf88b807adaaff5301ac1d91397358c2e17f6170
6
+ metadata.gz: 8fc549b29e5f2c7fec97c03a43b9ed70680d5640ed60912920b2cc415abf69516d104899c3e4f5422fcc7ac6684c32666d175fe9872b563b96c52eca043b6b41
7
+ data.tar.gz: 249cbb286c47f64570b85bf898f4ef8c3e0d16a2e8630472e84543e84f670eada92b22ffb042ef0a0c25341adef3235d4c4d832e7aa05e4d8686db7d8fa624b9
@@ -165,7 +165,7 @@ module OoxmlParser
165
165
  number += 1
166
166
  doc_structure.elements << table
167
167
  when 'sdt'
168
- doc_structure.elements << StructuredDocumentTag.new(parent: self).parse(element)
168
+ doc_structure.elements << StructuredDocumentTag.new(parent: doc_structure).parse(element)
169
169
  end
170
170
  end
171
171
  body.xpath('w:sectPr').each do |sect_pr|
@@ -1,6 +1,6 @@
1
1
  module OoxmlParser
2
2
  # This module holds the RuboCop version information.
3
3
  module Version
4
- STRING = '0.4.0'.freeze
4
+ STRING = '0.4.1'.freeze
5
5
  end
6
6
  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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Lobashov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-02-21 00:00:00.000000000 Z
12
+ date: 2018-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri