Skip to content

Releases: esotericpig/nhkore

v0.3.17

04 Sep 01:26
Compare
Choose a tag to compare

Changed

  • Upgraded min Ruby version to 3.1 (lowest that is not EOL).
  • Updated gems.

v0.3.16

14 Aug 10:28
Compare
Choose a tag to compare

Fixed

  • Fixed to work with new NHK pages.
  • Updated gems.

v0.3.14

25 Jul 07:07
Compare
Choose a tag to compare

Added

  • --loop option to search command so can run web search (search engine) multiple times since this usually doesn't get all results if only do once.

Fixed

  • Updated gems (nokogiri).

v0.3.13

27 Apr 09:23
Compare
Choose a tag to compare

Fixed

  • Updated gems (nokogiri).
  • Added rss gem (no longer included with Ruby core).

v0.3.12

27 Feb 20:32
Compare
Choose a tag to compare

Fixed

  • Updated nokogiri gem for Dependabot security vulnerability.

Changed

  • Added border/frame to post install message in Gemspec.

v0.3.11

25 Oct 12:33
Compare
Choose a tag to compare

Fixed

  • Updated nokogiri gem for Dependabot security vulnerability.

v0.3.10

13 Jul 09:22
Compare
Choose a tag to compare

Fixed

  • Updated public_suffix gem, which has a dependency on addressable gem vulnerability found by Dependabot.

v0.3.9

26 Jun 11:12
Compare
Choose a tag to compare

Fixed

  • Reverted App#refresh_cmd() back to not copying over the default_proc (from v0.3.8). Because the old code didn't know about this, it created some unintended issues with command options. Nothing major, but for example, specifying output.html with the sift command would not produce HTML output (however, using the -e html option still worked). This is the only instance that I know of, but reverting the code back in case of more instances. In the future, I'll need to thoroughly test all CLI options after changing App#refresh_cmd() to copy over the default_proc, but for now, not worrying about it (as it's not necessary).

v0.3.8

26 Jun 09:56
Compare
Choose a tag to compare

Fixed

  • Fixed App#refresh_cmd() to also copy Cri's default_proc to the new Hash for the command options.
  • Fixed to check for non-strings for JSON & URI.
    • For JSON, convert StringIO to string in DictScraper.scrape().
    • For URL, convert URL using URI() because URI.parse() will crash with a non-string (URI object) in Scraper.open_url().
  • Fixed to scrape multiple HTML Ruby tag words (instead of just 1).
    • I thought multiple Ruby bases/texts (<rb>/<rt>) were invalid, but after running into the article below and checking the HTML with a validator, it's actually valid HTML:
      - https://www3.nhk.or.jp/news/easy/k10012759201000/k10012759201000.html
      - No previous articles/URLs ran into this problem (would have raised an error), so it should only be a problem with this specific, new article.

Changed

  • Formatted/Linted all code using RuboCop.
  • Updated Gems.

v0.3.7

07 Nov 18:09
Compare
Choose a tag to compare

Highlights

  • Updated Gem attr_bool to v0.2
  • Changed upper-case -V flag for version to be a lower-case -v
    • Seems like a lot of apps/people expect this
  • Changed the Gemspec nhkore.gemspec a lot
  • Fixed to accept text nodes that have Kanji, due to bad article: