narou 2.1.0 → 2.1.1.pre.test1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of narou might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a78f1a8587ee3566156fe0a9a13e0285c01846d1
4
- data.tar.gz: 80dfcf3a22388315a59e2ad5f4c6f084b7c84919
3
+ metadata.gz: 7a6b4fc26dcc5b73a61478f296762124978bf964
4
+ data.tar.gz: 3a5c03f0b0fb5ca053724ca2e1429d7a49ac2bbc
5
5
  SHA512:
6
- metadata.gz: 05adefce83f872ce97d8ee8ec91b6f49ccc60c8cb0e1b4f27d6dc54d8bc9c39a44c61a16fe8ac18467c3c10b70bed9c18c9220332d754185c241b401850582cb
7
- data.tar.gz: 54ade18b6f51d5e8bb9e01afcf3970c35ed81c6a20fba5f05e9e57e09416d16e30da0b832b459db978f187aba1c361d67e60c68c61863ac4ebcde2691747d4ec
6
+ metadata.gz: 523c02327585f001524b26278bb6e9c6c634ae061460c4272e0628e8cb51d0134cd6acb4342d72fbb2694fc6955913752899fe67c4b7d5dc171e2471ff4a6b57
7
+ data.tar.gz: 576a846850f71685ed52404387101100d353c8abbd374e949ab0138a5c29c37a795fdc920d98d90c56b2fbfa7dabd468af948a8eacb6c7ec58d1adc8286aee8c
@@ -117,7 +117,7 @@ module Command
117
117
  list = get_log_paths
118
118
  n = @options["log"]
119
119
  if list[n]
120
- puts File.read(list[n])
120
+ puts File.read(list[n], encoding: Encoding::UTF_8)
121
121
  else
122
122
  error "#{n+1}番目のログはありません"
123
123
  end
@@ -128,7 +128,7 @@ module Command
128
128
  create_log_dir
129
129
  now = Time.now
130
130
  logname = File.join(log_dirname, LOG_FILENAME_FORMAT % now.strftime("%Y%m%d_%H%M%S"))
131
- File.open(logname, "w") do |fp|
131
+ File.open(logname, "w:UTF-8") do |fp|
132
132
  fp.puts "--- ログ出力日時 #{now.strftime("%Y/%m/%d %H:%M:%S")} ---"
133
133
  fp.puts log
134
134
  end
@@ -3,5 +3,5 @@
3
3
  # Copyright 2013 whiteleaf. All rights reserved.
4
4
  #
5
5
 
6
- Version = "2.1.0"
6
+ Version = "2.1.1-test1"
7
7
 
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: 2.1.0
4
+ version: 2.1.1.pre.test1
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termcolorlight
@@ -484,9 +484,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
484
484
  version: 1.9.3
485
485
  required_rubygems_version: !ruby/object:Gem::Requirement
486
486
  requirements:
487
- - - ">="
487
+ - - ">"
488
488
  - !ruby/object:Gem::Version
489
- version: '0'
489
+ version: 1.3.1
490
490
  requirements: []
491
491
  rubyforge_project:
492
492
  rubygems_version: 2.4.5