map_reduce 0.0.1.alpha3 → 0.0.1.alpha4

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.
@@ -109,7 +109,7 @@ module MapReduce
109
109
  #
110
110
  def flush
111
111
  if @log.any?
112
- log_file << @log*"\n"
112
+ log_file << @log*"\n" << "\n"
113
113
  log_file.flush
114
114
  @log.clear
115
115
  end
@@ -92,7 +92,10 @@ module MapReduce::Socket
92
92
  # Switch back to :map state if reduce finished
93
93
  #
94
94
  def send_reply(data, envelope)
95
- @state = :map unless data
95
+ unless data
96
+ @state = :map
97
+ @connections = {}
98
+ end
96
99
  super
97
100
  end
98
101
  end
@@ -1,3 +1,3 @@
1
1
  module MapReduce
2
- VERSION = "0.0.1.alpha3"
2
+ VERSION = "0.0.1.alpha4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: map_reduce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha3
4
+ version: 0.0.1.alpha4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ! '>='
112
112
  - !ruby/object:Gem::Version
113
- hash: 1980425592247416328
113
+ hash: -4421931987114190583
114
114
  version: '0'
115
115
  segments:
116
116
  - 0