Releases: esotericpig/nhkore
Releases · esotericpig/nhkore
v0.3.17
v0.3.16
Fixed
- Fixed to work with new NHK pages.
- Updated gems.
v0.3.14
Added
--loop
option tosearch
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
Fixed
- Updated gems (
nokogiri
). - Added
rss
gem (no longer included with Ruby core).
v0.3.12
Fixed
- Updated
nokogiri
gem for Dependabot security vulnerability.
Changed
- Added border/frame to post install message in Gemspec.
v0.3.11
Fixed
- Updated
nokogiri
gem for Dependabot security vulnerability.
v0.3.10
Fixed
- Updated
public_suffix
gem, which has a dependency onaddressable
gem vulnerability found by Dependabot.
v0.3.9
Fixed
- Reverted
App#refresh_cmd()
back to not copying over thedefault_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, specifyingoutput.html
with thesift
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 changingApp#refresh_cmd()
to copy over thedefault_proc
, but for now, not worrying about it (as it's not necessary).
v0.3.8
Fixed
- Fixed
App#refresh_cmd()
to also copy Cri'sdefault_proc
to the new Hash for the command options. - Fixed to check for non-strings for JSON & URI.
- For JSON, convert
StringIO
to string inDictScraper.scrape()
. - For URL, convert URL using
URI()
becauseURI.parse()
will crash with a non-string (URI object) inScraper.open_url()
.
- For JSON, convert
- 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.
- I thought multiple Ruby bases/texts (
Changed
- Formatted/Linted all code using RuboCop.
- Updated Gems.
v0.3.7
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:
- https://www3.nhk.or.jp/news/easy/k10012639271000/k10012639271000.html
第3のビール
-- no HTML ruby tags around 第
- https://www3.nhk.or.jp/news/easy/k10012639271000/k10012639271000.html