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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d64a3c71ecba43de692fa711576fa4c5a218a7f62850e42cb500d82de3d0c022
4
- data.tar.gz: cd5305ccb1c290a1235420a449778bd186c51be507107e7fc4ec24403a34cac5
3
+ metadata.gz: acc53bca60e0672756e165ad78c244050d3fcbf9aac968ea3cb842b9e3352ee9
4
+ data.tar.gz: dcd432bec401c8064f31b1350e5d24dfd2a3046cfe23e69b2fa083466ba544ad
5
5
  SHA512:
6
- metadata.gz: 7ac8faad841af5e80530b2e23789987370d47c5417538c10717548c1264873dd31d24c72d703ce34b9a11ed5f90372c540d18feb7fba1de3924c99e4d8e61100
7
- data.tar.gz: a56c967e8b54bf99df7125dccddd2a77a269f8c3e31757db124431120e92cc5ff18182fbec484f6d328e693f1f2f64805472c0ca723497857c21acbc124c155d
6
+ metadata.gz: 55d5263353cbab4604547eb9a0497381933f2d1303d909eb667fc9b5c74e09f00f1c2477c92d3a401f4f9b50708d42166bd1e90960e21d9f399e288291feef87
7
+ data.tar.gz: ac5871e89764f0888dd5642a1fb8a1d49e98c60007c0eac914739b5ed6e8049df7a0e0eb33ab6c4f8fb99187768f364fa90f3617ae1ba751de16099d4f70170b
@@ -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], 'IT人材ラボの記事・ニュース')
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
@@ -1,3 +1,3 @@
1
1
  module ZineBrewer
2
- VERSION = "1.11.0"
2
+ VERSION = "1.11.1"
3
3
  end
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.0
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: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mustache