spritz_reader 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/spritz +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88658842bdf026c3c3894352d449da98e1144a85
4
- data.tar.gz: 2c39f5b9e8dc9f19571c858bfc108006b2ff50f8
3
+ metadata.gz: 024df21fb7bf9ba6ed3a1b9ca9a41263f1e71e97
4
+ data.tar.gz: 93bbe697e79d3aafa28578bd73f4960a19f85432
5
5
  SHA512:
6
- metadata.gz: eb92072c6e1bc3a2d883f92effed071de03a05abbf65e0550dae43a78cbbc31367a4bca1337b58395506c18968705e75804983f2dc8999c9128fb51ee75d202f
7
- data.tar.gz: 03cd07510ce3c053fd8a6988a6bbb6b94722c21630098e90a33f50e8289b02dd49cd83a4c906ae0494cee299a2fbd85a804cfe7cbcad9d4cb2dbc72ddafbbcfa
6
+ metadata.gz: 6d7b059d68a11ee0f60614f4683c36c7af35da204f2138b508b65b69e898d15866446b475eac12a6d3902f84f8fb6cfb9ad033c897feeb3f2d1d58cc6f7d346b
7
+ data.tar.gz: 6e1142759d19226c1646270f92db69a079df8f7513361373c6ab740f219efb9257319c835eccaea926932df6f0a13afe77617e7eac2e0df6f158299314ed0493
data/bin/spritz CHANGED
@@ -39,6 +39,8 @@ class String
39
39
  end
40
40
  end
41
41
 
42
+ Signal.trap('INT'){ puts; exit(0) }
43
+
42
44
  tail = ''
43
45
  while read = ARGF.read(1024)
44
46
  tail << read
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spritz_reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jian Weihang