zine_brewer 1.11.0 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zine_brewer/main.rb +2 -2
- data/lib/zine_brewer/version.rb +1 -1
- 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: acc53bca60e0672756e165ad78c244050d3fcbf9aac968ea3cb842b9e3352ee9
|
4
|
+
data.tar.gz: dcd432bec401c8064f31b1350e5d24dfd2a3046cfe23e69b2fa083466ba544ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55d5263353cbab4604547eb9a0497381933f2d1303d909eb667fc9b5c74e09f00f1c2477c92d3a401f4f9b50708d42166bd1e90960e21d9f399e288291feef87
|
7
|
+
data.tar.gz: ac5871e89764f0888dd5642a1fb8a1d49e98c60007c0eac914739b5ed6e8049df7a0e0eb33ab6c4f8fb99187768f364fa90f3617ae1ba751de16099d4f70170b
|
data/lib/zine_brewer/main.rb
CHANGED
@@ -42,7 +42,7 @@ module ZineBrewer
|
|
42
42
|
|
43
43
|
@article_id = $+ if header.sub!(/^■記事ID■[^0-9]+(\d+)$/, '')
|
44
44
|
h = header.strip.split(/\n\n+/)
|
45
|
-
@corner = set_header_item(h[0], '
|
45
|
+
@corner = set_header_item(h[0], '記事・ニュースのコーナー')
|
46
46
|
@title = set_header_item(h[1], 'タイトル' )
|
47
47
|
@lead = set_header_item(h[2], 'リード')
|
48
48
|
@pic = set_header_item(h[3], 'dummy.png')
|
@@ -54,7 +54,7 @@ module ZineBrewer
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def set_header_item(target, default)
|
57
|
-
if /\A[\-%]+\Z/ =~ target || target.nil?
|
57
|
+
if /\A\ufeff?[\-%]+\Z/ =~ target || target.nil?
|
58
58
|
default.define_singleton_method(:is_complete?){ false }
|
59
59
|
default
|
60
60
|
else
|
data/lib/zine_brewer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zine_brewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori Ichigo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mustache
|