readability_js 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c536792a9e26ab4080c31b6065e02fab9a5ed5536993eeac15e53b0fd1c288fc
4
- data.tar.gz: 88baef9c54969ca53e2bef99550d9da1445b72b62d8da43250d564c0ed1bc3e5
3
+ metadata.gz: 8ce8fc0727f6b8ce1bfc45cf586b58c0e895deb95ba8f5f341a0d41ed6e9a9ba
4
+ data.tar.gz: 5baf642f9053d3c0adb9b81e04f9ff0d4b0252725274827143340fcb6f4067cf
5
5
  SHA512:
6
- metadata.gz: 552063ebef5709acb6ca6a9744bf69e8c33499d24d0b9db7d5bcaef53a3429f0b72b7bc7f12350d2e0137ef20c5603489feb731de831044cb2f1cda742168d75
7
- data.tar.gz: 11b0a652f07d3c722775a7f9fc401af4e20ee2abb8513e60bba44a7b5a1e0e8d9df0bf7477f8e5aa0fdfc1c147186094a610e0aea02757a70f2752845f241265
6
+ metadata.gz: 3ee241f68497574ea9477afa66e1b605007446f36ea29fcd4760581891e7482b167249e2dd502254e4407bee1cb22501eea40b74be920a4097de656f808690ac
7
+ data.tar.gz: 8d8d6a3d85108e590762ed17f70f12142d8aca5787abaf8cb3fc5160b47aa5e7397605bf1bcbedb17fd3761335862223c45426e3be13d3bdfe1c288084396690
data/CHANGELOG.md CHANGED
@@ -1,2 +1,8 @@
1
+ ## 0.0.4
2
+ * Do not add image_url to text_content result.
3
+
4
+ ## 0.0.3
5
+ * Finally finished complete implementation of `isProbablyReaderable` including visibility function parameter.
6
+
1
7
  ## 0.0.1
2
8
  * Initial release with basic wrapper
data/README.md CHANGED
@@ -69,7 +69,7 @@ and includes a beautified markdown version of the content.
69
69
  ```
70
70
 
71
71
  ### Query parameters
72
- You can pass all parameters supported by readability, checkout the [rubydoc for more details](https://www.rubydoc.info/gems/readability_js/ReadabilityJs).
72
+ You can pass all parameters supported by readability, checkout the [rubydoc for more details](https://rubydoc.info/github/magynhard/ruby-readability_js/ReadabilityJs).
73
73
 
74
74
  Here an example with all parameters, the camelCase parameters are converted to snake_case in ruby:
75
75
 
@@ -105,7 +105,7 @@ It contains the data returned by readability, with hash keys transformed in snak
105
105
  <a name="documentation"></a>
106
106
  ## Documentation
107
107
  Check out the doc at RubyDoc:<br>
108
- https://www.rubydoc.info/gems/readability_js
108
+ https://rubydoc.info/github/magynhard/ruby-readability_js
109
109
 
110
110
 
111
111
  As this library is only a wrapper, checkout the original readability documentation:<br>
@@ -242,7 +242,6 @@ module ReadabilityJs
242
242
  if h1
243
243
  h1.add_next_sibling(Nokogiri::HTML::DocumentFragment.parse(img_tag))
244
244
  html = doc.to_html
245
- text = result['image_url'] + "\n\n" + text
246
245
  end
247
246
  end
248
247
  end
@@ -1,3 +1,3 @@
1
1
  module ReadabilityJs
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readability_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthäus Beyrle