infoboxer 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +32 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +97 -75
- data/README.md +1 -1
- data/lib/infoboxer.rb +7 -5
- data/lib/infoboxer/core_ext.rb +2 -0
- data/lib/infoboxer/definitions/en.wikipedia.org.rb +2 -0
- data/lib/infoboxer/media_wiki.rb +3 -1
- data/lib/infoboxer/media_wiki/page.rb +2 -0
- data/lib/infoboxer/media_wiki/traits.rb +4 -1
- data/lib/infoboxer/navigation.rb +2 -0
- data/lib/infoboxer/navigation/lookup.rb +5 -5
- data/lib/infoboxer/navigation/sections.rb +5 -1
- data/lib/infoboxer/navigation/selector.rb +3 -1
- data/lib/infoboxer/navigation/shortcuts.rb +2 -0
- data/lib/infoboxer/navigation/wikipath.rb +2 -0
- data/lib/infoboxer/parser.rb +3 -1
- data/lib/infoboxer/parser/context.rb +10 -6
- data/lib/infoboxer/parser/html.rb +2 -0
- data/lib/infoboxer/parser/image.rb +3 -1
- data/lib/infoboxer/parser/inline.rb +8 -4
- data/lib/infoboxer/parser/paragraphs.rb +3 -1
- data/lib/infoboxer/parser/table.rb +23 -15
- data/lib/infoboxer/parser/template.rb +3 -0
- data/lib/infoboxer/parser/util.rb +2 -0
- data/lib/infoboxer/templates.rb +2 -0
- data/lib/infoboxer/templates/base.rb +2 -0
- data/lib/infoboxer/templates/set.rb +2 -0
- data/lib/infoboxer/tree.rb +2 -0
- data/lib/infoboxer/tree/compound.rb +3 -1
- data/lib/infoboxer/tree/document.rb +2 -0
- data/lib/infoboxer/tree/gallery.rb +2 -0
- data/lib/infoboxer/tree/html.rb +4 -2
- data/lib/infoboxer/tree/image.rb +3 -1
- data/lib/infoboxer/tree/inline.rb +2 -0
- data/lib/infoboxer/tree/linkable.rb +2 -0
- data/lib/infoboxer/tree/list.rb +4 -2
- data/lib/infoboxer/tree/math.rb +2 -0
- data/lib/infoboxer/tree/node.rb +3 -1
- data/lib/infoboxer/tree/nodes.rb +16 -4
- data/lib/infoboxer/tree/paragraphs.rb +2 -0
- data/lib/infoboxer/tree/ref.rb +2 -0
- data/lib/infoboxer/tree/table.rb +5 -3
- data/lib/infoboxer/tree/template.rb +3 -1
- data/lib/infoboxer/tree/text.rb +11 -9
- data/lib/infoboxer/tree/wikilink.rb +3 -0
- data/lib/infoboxer/version.rb +4 -2
- data/lib/infoboxer/wiki_path.rb +2 -0
- data/regression/pages/2012_bdo_world_darts_championship.wiki +941 -0
- data/regression/pages/progress_wrestling.wiki +1308 -0
- metadata +6 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infoboxer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Shepelev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -77,6 +77,7 @@ extra_rdoc_files: []
|
|
77
77
|
files:
|
78
78
|
- ".codeclimate.yml"
|
79
79
|
- ".dokaz"
|
80
|
+
- ".github/workflows/ci.yml"
|
80
81
|
- ".rubocop_todo.yml"
|
81
82
|
- ".yardopts"
|
82
83
|
- CHANGELOG.md
|
@@ -140,12 +141,14 @@ files:
|
|
140
141
|
- profile/pages/canada.wiki
|
141
142
|
- profile/pages/ukraine.wiki
|
142
143
|
- profile/pages/usa.wiki
|
144
|
+
- regression/pages/2012_bdo_world_darts_championship.wiki
|
143
145
|
- regression/pages/area.wiki
|
144
146
|
- regression/pages/articuno.wiki
|
145
147
|
- regression/pages/canada.wiki
|
146
148
|
- regression/pages/chiang_mai.wiki
|
147
149
|
- regression/pages/greece.wiki
|
148
150
|
- regression/pages/list_of_countries.wiki
|
151
|
+
- regression/pages/progress_wrestling.wiki
|
149
152
|
- regression/pages/south_america.wiki
|
150
153
|
- regression/pages/south_america_new.wiki
|
151
154
|
- regression/pages/ukraine.wiki
|
@@ -171,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
174
|
- !ruby/object:Gem::Version
|
172
175
|
version: '0'
|
173
176
|
requirements: []
|
174
|
-
rubygems_version: 3.
|
177
|
+
rubygems_version: 3.1.6
|
175
178
|
signing_key:
|
176
179
|
specification_version: 4
|
177
180
|
summary: MediaWiki client and parser, targeting information extraction.
|