mangdown 0.21.2 → 0.21.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mangdown/adapter/mangareader.rb +2 -2
- data/lib/mangdown/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4d4abacddb0c28e3ee8f8b14040e72516904ce6c4e1bb351dc763dd99c7096d
|
4
|
+
data.tar.gz: 16f958610f652133c143031b6af169171e6fdcd24cb932fb772a17f27b2ba86d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e9f421504612803b9887f2a1a0ca0f013acf4c33004d4fe699c74f8b7fefc257b9be0bf837f80acb85ed80bc05ce76dafa9f7a64888309ab274a12f0f2c4d72
|
7
|
+
data.tar.gz: 40415685b9bccf9aecbe522a56d3e98224f4ebd022bb7b63533f8c7010edcff6e349a505825dec3a66ca804be858a8fc24427652a15264f26bf376a58b448b4d
|
@@ -82,12 +82,12 @@ module Mangdown
|
|
82
82
|
name.sub(/(\d+)$/) { Regexp.last_match[1].rjust(5, '0') }
|
83
83
|
end
|
84
84
|
|
85
|
-
map :number do |
|
85
|
+
map :number do |_html|
|
86
86
|
_mapped_name.slice(/(\d+)$/, 1)
|
87
87
|
end
|
88
88
|
|
89
89
|
map :manga do |html|
|
90
|
-
manga = html.at_css('#mangainfo h2.
|
90
|
+
manga = html.at_css('#mangainfo h2.c4 a')
|
91
91
|
|
92
92
|
{
|
93
93
|
url: "#{ROOT}#{manga['href']}",
|
data/lib/mangdown/version.rb
CHANGED