Skip to content

Commit 17774eb

Browse files
authored
Merge pull request #50 from soundasleep/chore/release-0.6.0
chore(release): prep 0.6.0
2 parents f03bb30 + 46d0331 commit 17774eb

4 files changed

Lines changed: 18 additions & 5 deletions

File tree

‎.rubocop.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Metrics/BlockLength:
1919
- spec/**/*
2020

2121
Metrics/ClassLength:
22-
Max: 165
22+
Max: 174
2323

2424
Metrics/CyclomaticComplexity:
2525
Max: 15

‎CHANGELOG.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased](https://github.com/soundasleep/html2text_ruby/compare/v0.5.0...master)
7+
## [Unreleased](https://github.com/soundasleep/html2text_ruby/compare/v0.6.0...master)
8+
9+
## [0.6.0](https://github.com/soundasleep/html2text_ruby/compare/v0.5.0...v0.6.0) - 2026-11-24
10+
### Added
11+
- Enforce 100% line and branch coverage with SimpleCov; `rake` now runs RuboCop as well as the specs ([#47](https://github.com/soundasleep/html2text_ruby/pull/47))
12+
813
### Changed
9-
- Convert documents with many sibling `<div>`s in linear instead of quadratic time: the stripped text lengths of a nested div and its parent are compared first, so the parent's text is no longer computed for every div (e.g. 625 KB of sibling divs: 13 s → 0.2 s)
14+
- Convert documents with many sibling `<div>`s in linear instead of quadratic time: the stripped text lengths of a nested div and its parent are compared first, so the parent's text is no longer computed for every div (e.g. 625 KB of sibling divs: 13 s → 0.2 s) ([#45](https://github.com/soundasleep/html2text_ruby/pull/45))
15+
- Re-enable RuboCop's complexity cops, with limits ratcheted to the current worst case ([#48](https://github.com/soundasleep/html2text_ruby/pull/48))
16+
- Update development dependencies: bundler 4.1.0, bundler-audit 0.9.3, `actions/checkout` v7, and nokogiri 1.19.5 and json 2.21.2 in the lockfile ([#43](https://github.com/soundasleep/html2text_ruby/pull/43), [#44](https://github.com/soundasleep/html2text_ruby/pull/44), [#46](https://github.com/soundasleep/html2text_ruby/pull/46), [#47](https://github.com/soundasleep/html2text_ruby/pull/47))
17+
18+
### Removed
19+
- Unused private helpers `previous_node_name` and `previous_node_is_text?`; subclasses calling them should copy them ([#47](https://github.com/soundasleep/html2text_ruby/pull/47))
1020

1121
## [0.5.0](https://github.com/soundasleep/html2text_ruby/compare/v0.4.0...v0.5.0) - 2026-07-08
1222
### Added

‎Gemfile.lock‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
html2text (0.5.0)
4+
html2text (0.6.0)
55
nokogiri (>= 1.0, < 2.0)
66

77
GEM
@@ -22,6 +22,8 @@ GEM
2222
racc (~> 1.4)
2323
nokogiri (1.19.5-arm64-darwin)
2424
racc (~> 1.4)
25+
nokogiri (1.19.5-x64-mingw-ucrt)
26+
racc (~> 1.4)
2527
nokogiri (1.19.5-x86_64-linux-gnu)
2628
racc (~> 1.4)
2729
parallel (2.1.0)
@@ -79,6 +81,7 @@ GEM
7981
PLATFORMS
8082
arm64-darwin
8183
ruby
84+
x64-mingw-ucrt
8285
x86_64-linux
8386

8487
DEPENDENCIES

‎lib/html2text/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
class Html2Text
4-
VERSION = '0.5.0'
4+
VERSION = '0.6.0'
55
end

0 commit comments

Comments
 (0)