aozoragen 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 1a05794bc03d0a1bde23a2c2935933ed847dedb0
4
- data.tar.gz: 3dc7061012dc604cd4e5040db41c52915faedfa2
3
+ metadata.gz: 6042ea1938f9c2996981207f4079e1237a941d65
4
+ data.tar.gz: 637c7e62bf26d3dc03e418bce8aff17e271d1f75
5
5
  SHA512:
6
- metadata.gz: fd478e41e1677fdf54ae4a7be27dec958dffc886ad23401b4d43696125f8f3bd0aaf7024ae2930a281920609520fb9bdfa0de9b57c3ba9d3092b45acd0499101
7
- data.tar.gz: eaae1316630e3d6e399f42bd73fedaabbb5ba66ab19a1f0815ffe3ecd6f6cdcf2ad43a384711d03ea8980a381ef1c9a388c52e8c6c9e764c5323cbf9233abd4a
6
+ metadata.gz: 635ca0bbf3080197795a629a18a7bb01937afee516acc3041321b7a1f439f675f13b3d7ffee335fa49dfe432b96f622551bc71975ec623a3add0111ff171ed6b
7
+ data.tar.gz: c12c40b115e4c0173c474ca1a6bb02e36a1b314e442aabf7b22d8aab9dfd0f62a29214cc46a3ef18ce95c116735a5109e8640eac23887608da42cf9cb5b162b5
@@ -37,7 +37,7 @@ module Aozoragen
37
37
  text = ''
38
38
  text << (chapter / '.novel_subtitle')[0].text.subhead
39
39
  (chapter / '#novel_honbun').each do |page|
40
- text << detag(page).gsub(/\n{2,3}/, "\n").gsub(/^ ◆$/, '[#10字下げ]◆')
40
+ text << detag(page).gsub(/\n{2,5}/, "\n").gsub(/^ *◆$/, '[#10字下げ]◆')
41
41
  text << "[#改ページ]\n"
42
42
  end
43
43
  text.han2zen.for_tategaki
@@ -57,9 +57,9 @@ module Aozoragen
57
57
  ruby.inner_html = '|' + ruby.inner_html
58
58
  (ruby / 'rp').each do |rp|
59
59
  case rp.text
60
- when /[(\(]/
60
+ when /[(〈《\(]/
61
61
  rp.inner_html = '《'
62
- when /[)\)]/
62
+ when /[)〉》\)]/
63
63
  rp.inner_html = '》'
64
64
  end
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module Aozoragen
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aozoragen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-11 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri