itest5ch 3.0.0 → 3.0.1
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/.github/dependabot.yml +2 -0
- data/.github/workflows/pages.yml +2 -2
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +8 -2
- data/lib/itest5ch/thread.rb +8 -1
- data/lib/itest5ch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b29ff0b427a39d84dac8b1a8623b757bb50ecb5f0d8f447ed8d21ffbc45f5380
|
|
4
|
+
data.tar.gz: a18c4c370d1808e98637e27950c81c6f3a9bda5bd551171c661351d8582dc67a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cb753d2ccb046f9c832f93abc06dc3cd309efc0083a06929ae49d6add1597795d7b6a26b4da294424cedbf3e7df89989e3399d18c2b9ac815928b78801f5f00
|
|
7
|
+
data.tar.gz: 6fe0e713cb28b65b1908b6ad0628dde908e26ffdc83036fdec291bab6d8f14471c3888c64550e4fb548ded14edcd70a213050a197fd0b24f0dfed667b61efcce
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/pages.yml
CHANGED
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
runs-on: ubuntu-latest
|
|
31
31
|
steps:
|
|
32
32
|
- name: Checkout
|
|
33
|
-
uses: actions/checkout@
|
|
33
|
+
uses: actions/checkout@v5
|
|
34
34
|
|
|
35
35
|
- uses: ruby/setup-ruby@v1
|
|
36
36
|
with:
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
- name: Setup Pages
|
|
43
43
|
uses: actions/configure-pages@v5
|
|
44
44
|
- name: Upload artifact
|
|
45
|
-
uses: actions/upload-pages-artifact@
|
|
45
|
+
uses: actions/upload-pages-artifact@v4
|
|
46
46
|
with:
|
|
47
47
|
# Upload entire repository
|
|
48
48
|
path: './doc'
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/sue445/itest5ch/compare/v3.0.
|
|
2
|
+
[full changelog](http://github.com/sue445/itest5ch/compare/v3.0.1...master)
|
|
3
3
|
|
|
4
|
-
## v3.0.0
|
|
4
|
+
## [v3.0.1](https://github.com/sue445/itest5ch/releases/tag/v3.0.1)
|
|
5
|
+
[full changelog](http://github.com/sue445/itest5ch/compare/v3.0.0...v3.0.1)
|
|
6
|
+
|
|
7
|
+
* Fix RangeError invalid codepoint in UTF-8 when htmlentities 4.4.0+
|
|
8
|
+
* https://github.com/sue445/itest5ch/pull/115
|
|
9
|
+
|
|
10
|
+
## [v3.0.0](https://github.com/sue445/itest5ch/releases/tag/v3.0.0)
|
|
5
11
|
[full changelog](http://github.com/sue445/itest5ch/compare/v2.0.2...v3.0.0)
|
|
6
12
|
|
|
7
13
|
### BREAKING CHANGES :bomb:
|
data/lib/itest5ch/thread.rb
CHANGED
|
@@ -82,7 +82,14 @@ module Itest5ch
|
|
|
82
82
|
#
|
|
83
83
|
# @return [String]
|
|
84
84
|
def self.normalize_message(message)
|
|
85
|
-
message =
|
|
85
|
+
message =
|
|
86
|
+
begin
|
|
87
|
+
coder.decode(message)
|
|
88
|
+
rescue RangeError
|
|
89
|
+
message.gsub(/&#\d+;/, "")
|
|
90
|
+
end
|
|
91
|
+
message = message.scrub("")
|
|
92
|
+
|
|
86
93
|
message = CGI.unescapeHTML(message)
|
|
87
94
|
message.gsub(/\s*<br>\s*/i, "\n").strip
|
|
88
95
|
end
|
data/lib/itest5ch/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itest5ch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: htmlentities
|
|
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
330
330
|
- !ruby/object:Gem::Version
|
|
331
331
|
version: '0'
|
|
332
332
|
requirements: []
|
|
333
|
-
rubygems_version: 3.6.
|
|
333
|
+
rubygems_version: 3.6.9
|
|
334
334
|
specification_version: 4
|
|
335
335
|
summary: 5ch (a.k.a. 2ch) reader via itest.5ch.net
|
|
336
336
|
test_files: []
|