ltb 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/exe/ltb +4 -0
  4. data/lib/ltb/version.rb +1 -1
  5. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fcb25afc4eb64f41b9bbb934c0fdd89a72fb207305caf03c891ba9d2349ea7b
4
- data.tar.gz: 4c77b7462d6ff14137a7046588a397fb94c3fba933583511de3377ed642e9ea8
3
+ metadata.gz: 1098f85cc64aae58efac930c925d17846cf68aa42ecdfb3a582580c15fe4fa6b
4
+ data.tar.gz: 70bf13348a37f167c6248a35c49118a3d28d9fdabc3cb4d49b2262480912251c
5
5
  SHA512:
6
- metadata.gz: e288559d206726fed783b7279a810f6ce7b9074932f79af9b7143a68d6ba5703b80ed3a6f4037a2ec603b78b2816316d15fd59c129ab6efa008288618c903bd7
7
- data.tar.gz: ae9c20f4abcf406af87c7f29e9b0efa60fa7faa958bef18d274de87e8ea4fa4935e171efea3eac9d77d119229c4e3c4bfa3a96e900f7865547d1dac1fcbc7718
6
+ metadata.gz: 2915211657ebb72e0bd34989a99cbfa5c2311bf5560e710e153a4511c8bd7ba83b00f2a886d566bab3ec5ce08b70472ee5599439dd45d3170e642bd59e1e5f2a
7
+ data.tar.gz: 79baea6088170a837f38fc3803e1f64ed030cb41bd49fead3712418d9d2392c88368d0f4e7d6e193f37fceebc2d4d973e58fd736f2cd81dce2b986a166b3a4c5
@@ -0,0 +1,9 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.1.1
4
+
5
+ Don't throw exception if STDIN is EOF i.e. the iunput stream has been terminated
6
+
7
+ ## 0.1.0
8
+
9
+ Initial release
data/exe/ltb CHANGED
@@ -3,5 +3,9 @@
3
3
  $stdout.sync = true
4
4
  $stdout.print $stdin.readline.chomp
5
5
  loop do
6
+ if $stdin.eof?
7
+ $stdout.print "\n"
8
+ exit 0
9
+ end
6
10
  $stdout.print "\n#{$stdin.readline.chomp}"
7
11
  end
@@ -1,3 +1,3 @@
1
1
  module Ltb
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ltb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Webster
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-14 00:00:00.000000000 Z
11
+ date: 2020-12-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Buffers the last newline of a log so it doesn't need an extra line to
14
14
  display anything meaningful
@@ -21,6 +21,7 @@ extra_rdoc_files: []
21
21
  files:
22
22
  - ".gitignore"
23
23
  - ".travis.yml"
24
+ - CHANGELOG.md
24
25
  - CODE_OF_CONDUCT.md
25
26
  - Gemfile
26
27
  - LICENSE.txt