narou 1.2.5 → 1.2.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: c7cd6419c57761a38b3452eb00630db778193cd0
4
- data.tar.gz: b6f41145b39a182eeb5f34c2b362cf9ed83dafd8
3
+ metadata.gz: 9459247eafc9d6fe2b5cced5564794fb259504e6
4
+ data.tar.gz: 517fa2d1d0babbd6dc4de2516ef1b2cc0eeaae5e
5
5
  SHA512:
6
- metadata.gz: d44e17071d01da6d33a1c7c3cc068f88ceeb8fcc4d57421465637651f383e5c0d7dac0423cadc594d1c72458f2bc8667ebf33c1b0dba6e5f7574593262ac2b37
7
- data.tar.gz: 14cee0f6656f53f67aba3eca2b89b013978fe343d9842da5d2206eb78f9c813dcb7bcdb832aa7c43721da2d45ead48812cd9ed28abc94126e607aafd6d771f3d
6
+ metadata.gz: 4c7bbe285113ea37b60f1567ded2342da9aa8146ba08fb48ee5bfd93e07f905fc089fb72c6a9dd0c8c36c26a5f96f6da05c9712f1933e81e3b5d86a7c56d10fb
7
+ data.tar.gz: 6bb430c358398c446b81bb58f5496fd054b169c23fffef1d35a64bcbcb1c515991a7435a4814846515a0526b72a8267e9867a63fafc499b499afed32227277bf
@@ -1,6 +1,9 @@
1
1
  
2
2
  更新履歴 - ChangeLog
3
3
  --------------------
4
+ 2013/05/08 : **1.2.5**
5
+ * fix: 新規DL時にエラーが出る可能性あったので修正
6
+
4
7
  2013/05/07 : **1.2.5**
5
8
  * Bug Fix
6
9
  - 連続する文頭全角空白をすべてルビ対象外に
@@ -24,11 +24,11 @@ class Template
24
24
  unless overwrite
25
25
  return if File.exists?(dest_filepath)
26
26
  end
27
- result = get(src_filename, _binding).lstrip or return nil
27
+ result = get(src_filename, _binding) or return nil
28
28
  if Helper.os_windows?
29
29
  File.write(dest_filepath, result)
30
30
  else
31
- File.binwrite(dest_filepath, result)
31
+ File.binwrite(dest_filepath, result.lstrip)
32
32
  end
33
33
  end
34
34
 
@@ -3,7 +3,7 @@
3
3
  # Copyright 2013 whiteleaf. All rights reserved.
4
4
  #
5
5
 
6
- Version = "1.2.5"
6
+ Version = "1.2.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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narou
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-07 00:00:00.000000000 Z
11
+ date: 2013-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termcolor