magritte 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/magritte/pipe.rb +1 -1
  2. metadata +6 -6
data/lib/magritte/pipe.rb CHANGED
@@ -23,7 +23,7 @@ module Magritte
23
23
  end
24
24
 
25
25
  def self.from_input_string(str)
26
- self.from_input_stream((StringIO.new(str)))
26
+ self.from_input_stream((StringIO.new(str || "")))
27
27
  end
28
28
 
29
29
  def out_to(io=nil, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magritte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-12 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70322250772220 !ruby/object:Gem::Requirement
16
+ requirement: &70306428054220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70322250772220
24
+ version_requirements: *70306428054220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70322250771120 !ruby/object:Gem::Requirement
27
+ requirement: &70306428053460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70322250771120
35
+ version_requirements: *70306428053460
36
36
  description: ! ' Magritte is a simple but powerful wrapper to Open3 pipes that makes
37
37
  it easy to handle two-way piping of data into and out of a sub-process. Various
38
38
  input IO wrappers are supported and output can either be to an IO or to a block.