mandy 0.3.2 → 0.3.3

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/task.rb +3 -2
  2. metadata +1 -1
@@ -13,8 +13,9 @@ module Mandy
13
13
  end
14
14
 
15
15
  def emit(key, value=nil)
16
- key = 'nil' if key.nil?
17
- @output.puts(value.nil? ? key.to_s : "#{output_serialize_key(key)}\t#{output_serialize_value(value)}")
16
+ data = value.nil? ? key.to_s : "#{output_serialize_key(key)}\t#{output_serialize_value(value)}"
17
+ throw "#{@output.inspect} :: #{data.inspect}"
18
+ @output.puts(data)
18
19
  end
19
20
 
20
21
  def get(store, key)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent