long-command-runner 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: '0696b6412e2530c33cde7eeac1d550a9b1f0252a7dfae7e841adfbb9251dee41'
4
- data.tar.gz: a0a5e3a0e57aad26b79df1288c7e48997b643f9f5ee00a41b8acc55f59cc4bc7
3
+ metadata.gz: 6a0f0720edcf533cc372e6df63ed8d683f9af818a7963bd7a0ae04ac0b7735ad
4
+ data.tar.gz: 1d809b6c49943c810450ec8fc2ecf8d6683f76db84002037d04173b5b7a4d999
5
5
  SHA512:
6
- metadata.gz: 21e7a43fdd270ea82e2db00b27f3408006cdd6d6305452516283af6613052529f4890bb898da52f364be73e876abb50f4a6238412ecd38369c63a29ab375d39c
7
- data.tar.gz: e4d090bc81f90346f3fa3eb8d884d0d9ab20790ba08f5e5d4351fa2f2c35172bce733f97dc614dae70433222e3ef88892250c81b370c9afb5003ed90543e0ff2
6
+ metadata.gz: 355e533388d84c0edce34249117243d67fa7bb5fa36af211b31670ba98bf9d3c16de5937382c25eec23f9a29863376cf54d4a02e6c116c7d58bf3f748ff2eba7
7
+ data.tar.gz: 378e5338c867708804c3708dad2a58c160fc7422b4bd80fb6cd0f3aa56a20738d62d21d205d333cc2f780a112d74cc7a573e93430dba2dc3e2545da6ec6a9f5b
@@ -5,7 +5,7 @@ module LCR
5
5
  # on one of them.
6
6
  class LineReader
7
7
  # What is considered as a return line
8
- LINE_END = /[\n\r]/.freeze
8
+ LINE_END = /[\n\r][\n\r]?/.freeze
9
9
 
10
10
  # How must characters to read at a time.
11
11
  MAX_READ_CHAR = 1_000_000
@@ -103,7 +103,7 @@ module LCR
103
103
 
104
104
  # Get the status of the process without blocking.
105
105
  #
106
- # @return [Process:Status, nil] The exit status of the process if it is finished.
106
+ # @return [Process:Status | nil] The exit status of the process if it is finished.
107
107
  # if the Process isn't finished it return nil.
108
108
  def status
109
109
  return nil if @container.nil?
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LCR
4
4
  # Version of the library.
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: long-command-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roland Laurès
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-09 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry