rubydoop 0.0.2 → 0.0.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/rubydoop.rb +3 -0
  2. metadata +4 -13
data/lib/rubydoop.rb CHANGED
@@ -45,6 +45,9 @@ at_exit do
45
45
  values << thisvalue
46
46
  end
47
47
  end
48
+ if values.any? && key
49
+ @reduce.call key,values
50
+ end
48
51
  when 'simulate'
49
52
  raise unless File.exists?(ARGV.last)
50
53
  exec "cat #{ARGV.last} | #{$0} map | sort | #{$0} reduce"
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydoop
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 2
9
- version: 0.0.2
4
+ version: 0.0.3
10
5
  platform: ruby
11
6
  authors:
12
7
  - Jacob Rothstein
@@ -39,25 +34,21 @@ rdoc_options:
39
34
  require_paths:
40
35
  - lib
41
36
  required_ruby_version: !ruby/object:Gem::Requirement
42
- none: false
43
37
  requirements:
44
38
  - - ">="
45
39
  - !ruby/object:Gem::Version
46
- segments:
47
- - 0
48
40
  version: "0"
41
+ version:
49
42
  required_rubygems_version: !ruby/object:Gem::Requirement
50
- none: false
51
43
  requirements:
52
44
  - - ">="
53
45
  - !ruby/object:Gem::Version
54
- segments:
55
- - 0
56
46
  version: "0"
47
+ version:
57
48
  requirements: []
58
49
 
59
50
  rubyforge_project: rubydoop
60
- rubygems_version: 1.3.7
51
+ rubygems_version: 1.3.5
61
52
  signing_key:
62
53
  specification_version: 3
63
54
  summary: Simple Ruby Sugar for Hadoop Streaming