slaw 0.17.0 → 0.17.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: 80c548b7ff92ff7d2b73d3bab81790c38f3b964f
4
- data.tar.gz: 98aa8da8542794b9fe35b490ad8092a77880f692
3
+ metadata.gz: 27698b027ab22bf8ab94f975799de6c514bf2ea9
4
+ data.tar.gz: 6f327341062f1d438502c238c911571aef7b8c87
5
5
  SHA512:
6
- metadata.gz: 34b23775bab7704112c4b33723e10db00505008cdd7f025ab8d7de0d9fd0504a0a4aad3728644bebedb26a13067637b01a8f74d7560c62e1c79095df3876c87a
7
- data.tar.gz: fe525892734b77635bf45f458c64a80fdf36318d56e7d56065dba3faa178593d0285c3d7014cd71f0ea5082630c7f4f82c8c8bf71fa4b72b0fd505f65d4bcb23
6
+ metadata.gz: '080f0578e6ba9cfff8db4dfc599dfac83f6e31d217dd5a727fd573c6f8d728dee5525c9058d1a3e335fbbd83076027fa5d0b4de9707c25b103bbcefba1f364e5'
7
+ data.tar.gz: b4cd42f3e1b707afeb0044af89e2fd1b08c947048c5fd58009a9752ca5cccf0b5461bcf5ea137a8e6069aa766c121df9507163a9032fa160938276cc2f0a42db
data/README.md CHANGED
@@ -218,6 +218,10 @@ Akoma Ntoso `component` elements at the end of the XML document, with a name of
218
218
 
219
219
  ## Changelog
220
220
 
221
+ ### 0.17.1
222
+
223
+ * Match defined terms in 'definition' section.
224
+
221
225
  ### 0.17.0
222
226
 
223
227
  * Support links and images inside tables, by parsing tables natively.
@@ -266,7 +266,7 @@ module Slaw
266
266
  doc.xpath('//a:section', a: NS).select do |section|
267
267
  # sections with headings like Definitions
268
268
  heading = section.at_xpath('a:heading', a: NS)
269
- heading && heading.content =~ /definitions|interpretation/i
269
+ heading && heading.content =~ /definition|interpretation/i
270
270
  end.each do |section|
271
271
  # find items like "foo" means blah...
272
272
 
data/lib/slaw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Slaw
2
- VERSION = "0.17.0"
2
+ VERSION = "0.17.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slaw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kempe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-09 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler