web_loader 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/web_loader/utils.rb +5 -0
- data/lib/web_loader/version.rb +1 -1
- data/web_loader.iml +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af7dbb07ea7ffe94d18c04d91c1f53564123b6ed794945d04ed2dd441483f2ad
|
4
|
+
data.tar.gz: 3e1be0e448488fb0fc8cdf0aa53e5751c0f1fc33261315b3a53882d356e42492
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c1cc94232fdca9458d416c90ce6832fdb08be2a6a90f15705645711566de931ca76a47650ce241589d76620ccfe9c0af02c069e7abd990ad2f6a2643220bb14
|
7
|
+
data.tar.gz: 227a97a262168cdc5a1f473901d274b52ef60f388ff89ca3fda07c24f725f5c977ff343a9f24d8bdc70634ae0f916ff84a98b1215f1129f5e6264999b05df007
|
data/Gemfile.lock
CHANGED
data/lib/web_loader/utils.rb
CHANGED
@@ -13,6 +13,10 @@ module WebLoader
|
|
13
13
|
if str =~ /<meta.*?charset=["']*([^"']+)/i
|
14
14
|
charset = $1
|
15
15
|
end
|
16
|
+
if charset =~ /Shift_JIS/i
|
17
|
+
# Shift_JISの場合、実際はWindows-31J(Windowsの標準コードの場合が多いはず)
|
18
|
+
charset = "Windows-31J"
|
19
|
+
end
|
16
20
|
charset
|
17
21
|
end
|
18
22
|
# テストのためにmodule_functionを使用
|
@@ -45,6 +49,7 @@ module WebLoader
|
|
45
49
|
end
|
46
50
|
result
|
47
51
|
end
|
52
|
+
module_function :toutf8_charset
|
48
53
|
|
49
54
|
def toutf8(str, charset)
|
50
55
|
# 2022/04/04(月)
|
data/lib/web_loader/version.rb
CHANGED
data/web_loader.iml
CHANGED
@@ -11,21 +11,21 @@
|
|
11
11
|
<orderEntry type="inheritedJdk" />
|
12
12
|
<orderEntry type="sourceFolder" forTests="false" />
|
13
13
|
<orderEntry type="module-library">
|
14
|
-
<library name="minitest (v5.22.
|
14
|
+
<library name="minitest (v5.22.3) [path][gem]" type="rubylib">
|
15
15
|
<properties>
|
16
16
|
<option name="version" value="4" />
|
17
17
|
</properties>
|
18
18
|
<CLASSES>
|
19
|
-
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.
|
20
|
-
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.
|
19
|
+
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/lib" />
|
20
|
+
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/test" />
|
21
21
|
</CLASSES>
|
22
22
|
<JAVADOC />
|
23
23
|
<SOURCES>
|
24
|
-
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.
|
25
|
-
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.
|
24
|
+
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/lib" />
|
25
|
+
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/test" />
|
26
26
|
</SOURCES>
|
27
27
|
<excluded>
|
28
|
-
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.
|
28
|
+
<root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/test" />
|
29
29
|
</excluded>
|
30
30
|
</library>
|
31
31
|
</orderEntry>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- src
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Web loader.
|
14
14
|
email:
|