narou 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 463957e3d0b689f5ad9a4953dd3c5b277e599ce2
4
- data.tar.gz: 26d961f89766158f70d9a432a75553ebd599fc3c
3
+ metadata.gz: d8364479cacd3411e78a7c97af3a7481baa19461
4
+ data.tar.gz: 550c34826c79d3f52928e17240d6628af10cb3f0
5
5
  SHA512:
6
- metadata.gz: f1818f095899f1d0c85aacf8e1d418676bcd43380c689274f97640afdab51ee6220a805ce8b0062323025c479806d84acfa8c22fc3fec8ab6c49e94bd15e1814
7
- data.tar.gz: 597951c1472d4360c2156560a561ec30cfeca82ef429c0c54437d8d44802f5cbb43d1406ddc103a5ac3d2faaeecf900cd83e86e275df7efaf0b1c994606c4502
6
+ metadata.gz: c04217754e0c5dfe811ee5c1da20aba6c9d949931d5ba9cef4a934c498df1670c831491db2a83706d9e3c0376d72f1fcad290fd894052c757339ca2ddb9060b6
7
+ data.tar.gz: 926a5a493b894fe9fe52a2e27cb690ace1cf2af8d4b1db79da44e865001cca759e2cbc9b3513fafc21b405af2e3521328c04dd9d71e0ef64aaaba0ed75234716
@@ -1,6 +1,10 @@
1
1
  
2
2
  更新履歴 - ChangeLog
3
3
  --------------------
4
+ 2013/07/26 : **1.2.8**
5
+ * Bug Fix
6
+ - なろうの仕様変更でタイトルがたまに二重に表示されてしまうバグ(?)に対処
7
+
4
8
  2013/06/12 : **1.2.7**
5
9
  * 追加機能もしくは仕様変更
6
10
  - 小説更新時及び `list` コマンドで新着話数があるかどうかを目視出来るようにした
data/README.md CHANGED
@@ -20,6 +20,10 @@ Narou.rb ― 「小説家になろう」「小説を読もう!」ダウンロ
20
20
 
21
21
  更新履歴 - ChangeLog
22
22
  --------------------
23
+ 2013/07/26 : **1.2.8**
24
+ * Bug Fix
25
+ - なろうの仕様変更でタイトルがたまに二重に表示されてしまうバグ(?)に対処
26
+
23
27
  2013/06/12 : **1.2.7**
24
28
  * 追加機能もしくは仕様変更
25
29
  - 小説更新時及び `list` コマンドで新着話数があるかどうかを目視出来るようにした
@@ -600,7 +600,7 @@ class Downloader
600
600
  # 本文に含まれるタイトルは消す
601
601
  #
602
602
  def extract_elements_in_section(section, subtitle)
603
- lines = section.lines.map(&:rstrip)
603
+ lines = section.lstrip.lines.map(&:rstrip)
604
604
  introduction = slice_introduction(lines)
605
605
  postscript = slice_postscript(lines)
606
606
  if lines[0] == subtitle
@@ -3,7 +3,7 @@
3
3
  # Copyright 2013 whiteleaf. All rights reserved.
4
4
  #
5
5
 
6
- Version = "1.2.7"
6
+ Version = "1.2.8"
7
7
 
8
8
  cv_path = File.expand_path(File.join(File.dirname(__FILE__), "../commitversion"))
9
9
  if File.exists?(cv_path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narou
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
11
+ date: 2013-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termcolor