algolia_html_extractor 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/algolia_html_extractor.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a8828fb4ece535b803731889c5f8be758f06a7e
|
|
4
|
+
data.tar.gz: 7b8b80ce73ddefeaa901e5483b2b4822ad7f35a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e12dc7fc939f8d7551cc0f1637c394bd5794bc13521fc9c04dde418a238980956e74ebcede3e5317c39e0b652ea1e85c775dd8ac6be0dbd1f026005b915485b
|
|
7
|
+
data.tar.gz: a894a352c8efc2a4214c1c0ae4088d143ae1b831e86edb57ea6da3012cfe21a3fb22f230ec5337b0d240feb75a309bd155301140103500c1d6a5426c20b9bfcc
|
data/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Here is one of the records extracted:
|
|
|
67
67
|
|
|
68
68
|
```ruby
|
|
69
69
|
{
|
|
70
|
-
:
|
|
70
|
+
:objectID => "1f5923d5a60e998704f201bbe9964811",
|
|
71
71
|
:tag_name => "p",
|
|
72
72
|
:html => "<p>The hero quits his job, hits the road, or whatever cuts him from his previous life.</p>",
|
|
73
73
|
:text => "The hero quits his job, hits the road, or whatever cuts him from his previous life.",
|
|
@@ -89,7 +89,7 @@ Here is one of the records extracted:
|
|
|
89
89
|
}
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Each record has a `
|
|
92
|
+
Each record has a `objectID` that uniquely identify it (computed by a hash of all
|
|
93
93
|
the other values).
|
|
94
94
|
|
|
95
95
|
It also contains the HTML tag name in `tag_name` (by default `<p>`
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: algolia_html_extractor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Carry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
224
224
|
version: '0'
|
|
225
225
|
requirements: []
|
|
226
226
|
rubyforge_project:
|
|
227
|
-
rubygems_version: 2.
|
|
227
|
+
rubygems_version: 2.6.13
|
|
228
228
|
signing_key:
|
|
229
229
|
specification_version: 4
|
|
230
230
|
summary: Convert HTML content into Algolia records
|