ltsv2json 0.0.1 → 0.0.2

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: 2e3fa49fc5d1252917f7244568e2ca82d63d39d0
4
- data.tar.gz: 7a1da882ba0201ae18aa11cf2d749c96ea1d0a36
3
+ metadata.gz: d3e4e3c8680b6fcbb12c3d6c871bec2725957502
4
+ data.tar.gz: d46afba3a726bc56205ce1d96ddcc9fc31098ac0
5
5
  SHA512:
6
- metadata.gz: ed159ebada7accb10eee76c76b98b9ebe6796383a546c55d08d717286a1c7d3f4dc1d8d14b94a6d7b8fedb22022ff22047da2c951a092227675ba828e905bd5a
7
- data.tar.gz: edc0d2449252051607ace937569760f898d1e02b61169db99df0a226f1a3caa992f2733947192305a4a5cfcd8e1d6d89194516027dc8dd8b514e0e8023c298fd
6
+ metadata.gz: a787b187ff29369a329e688bf535514a4098050aee7350f94fd11b900aae17e80d504987c1142172e02dc18598ced9bd19349ec3cc2b6cbac18c601c7ac70221
7
+ data.tar.gz: ffa1a055bd1bd6c57975084396a86cc8a9b2a1059b8c953c7c0c9dea7347c8013ffe45ba822e5e8bcc05dadcbd912130c356fdade166a648a8d38c97e526fad3
data/bin/ltsv2json CHANGED
@@ -7,6 +7,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
7
  require 'json'
8
8
  require 'ltsv2json/version'
9
9
 
10
+ trap('INT') { exit 130 }
11
+
10
12
  inputs = ARGV[0] ? ARGV.map {|f| open f } : [STDIN]
11
13
  inputs.each do |input|
12
14
  input.each_line do |line|
@@ -1,3 +1,3 @@
1
1
  module Ltsv2json
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ltsv2json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Takeyama