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 +4 -4
- data/README.md +4 -0
- data/lib/slaw/parse/builder.rb +1 -1
- data/lib/slaw/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27698b027ab22bf8ab94f975799de6c514bf2ea9
|
4
|
+
data.tar.gz: 6f327341062f1d438502c238c911571aef7b8c87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
data/lib/slaw/parse/builder.rb
CHANGED
@@ -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 =~ /
|
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
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.
|
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-
|
11
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|