narou 1.3.5 → 1.3.5.1

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: 0b62cca0c3ea6aa319d70fb876393782f4a5fe0d
4
- data.tar.gz: 03bd7a8fe7c7f7a4d0c8b45ee2404519028b9bb0
3
+ metadata.gz: 2239400593cda638e79c3501430c9051c15d20eb
4
+ data.tar.gz: e3c6874611c6c2babf09ad0e573418b68a1158b5
5
5
  SHA512:
6
- metadata.gz: 20fd146b9439a702dfe12a3bf71eef9ff842005ad9d1f96b4449b29332e128ed9d187f86f52c0e587dfa3bc42b0f83f54eeb3bf9be0b94001b06dfdb39ee484c
7
- data.tar.gz: d8693b98017de062e3cb21d2d403f042b18868772244215434bd26b4b247469f0ef7d94ec6d07cb9ad9ff7c168295ea7e7d43e11cfb336fa5769d58fe66dd92b
6
+ metadata.gz: eb0941ff919760b25fb605e519213eee7303d0adb485f75b36573ad80e98462df0bcdbdfa627a5cf2a001899e25f4a3e2c567b39c41ae0a7ed8a9cb79db25a4b
7
+ data.tar.gz: 90e360a85c7e82995c16ce245a6ad7b161262c3d4d2b038cfc82b055930f06c2f532740c122410e14fadc0b6b07dd16f03c3f12ddcf15f995f00d4515ed7d50e
data/ChangeLog.md CHANGED
@@ -1,6 +1,10 @@
1
1
  
2
2
  更新履歴 - ChangeLog
3
3
  --------------------
4
+ 2014/02/03 : **1.3.5.1**
5
+ * Bug Fix
6
+ - 過去バージョンとの互換性維持のため、フォルダ名のみ末尾スペースを削除するように変更
7
+
4
8
  2014/02/03 : **1.3.5**
5
9
  * Bug Fix
6
10
  - 小説を削除したあと再度ダウンロードしようとした場合にエラーが出ていたのを修正
data/lib/downloader.rb CHANGED
@@ -482,7 +482,7 @@ class Downloader
482
482
  end
483
483
  @setting.multi_match(toc_source, "title", "author", "story", "tcode")
484
484
  @title = @setting["title"]
485
- @file_title = Helper.replace_filename_special_chars(@title)
485
+ @file_title = Helper.replace_filename_special_chars(@title).strip
486
486
  toc_objects = {
487
487
  "title" => @title,
488
488
  "author" => @setting["author"],
data/lib/helper.rb CHANGED
@@ -85,7 +85,7 @@ module Helper
85
85
  end
86
86
 
87
87
  def self.replace_filename_special_chars(str)
88
- str.tr("/:*?\"<>|.", "/:*?”〈〉|.").gsub("\\", "¥").strip
88
+ str.tr("/:*?\"<>|.", "/:*?”〈〉|.").gsub("\\", "¥")
89
89
  end
90
90
 
91
91
  #
data/lib/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # Copyright 2013 whiteleaf. All rights reserved.
4
4
  #
5
5
 
6
- Version = "1.3.5"
6
+ Version = "1.3.5.1"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narou
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7