mandy 0.5.25 → 0.5.26
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/mandy-hadoop +1 -1
- data/lib/mandy/packer.rb +4 -1
- metadata +20 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.26
|
data/bin/mandy-hadoop
CHANGED
@@ -90,7 +90,7 @@ outputformat = !options.output_format.nil? ? options.output_format : "org.apache
|
|
90
90
|
|
91
91
|
at_exit do
|
92
92
|
puts
|
93
|
-
puts "Cleaning up..."
|
93
|
+
puts "Cleaning up... #{payload}"
|
94
94
|
Mandy::Packer.cleanup!(payload)
|
95
95
|
puts errors ? "Completed with errors!" : "Completed Successfully!"
|
96
96
|
end
|
data/lib/mandy/packer.rb
CHANGED
@@ -23,7 +23,10 @@ module Mandy
|
|
23
23
|
|
24
24
|
def self.cleanup!(file)
|
25
25
|
return false unless File.extname(file) == '.tar'
|
26
|
-
|
26
|
+
puts "Trying to delete: #{file}"
|
27
|
+
puts "#{File.dirname(file)}"
|
28
|
+
FileUtils.rm_r(File.dirname(file))
|
29
|
+
puts "#{file} deleted"
|
27
30
|
end
|
28
31
|
end
|
29
32
|
end
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mandy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 63
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 26
|
10
|
+
version: 0.5.26
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Andy Kent
|
@@ -11,7 +16,8 @@ autorequire:
|
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
18
|
|
14
|
-
date: 2011-
|
19
|
+
date: 2011-07-13 00:00:00 +01:00
|
20
|
+
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
23
|
name: json
|
@@ -21,6 +27,9 @@ dependencies:
|
|
21
27
|
requirements:
|
22
28
|
- - ">="
|
23
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
24
33
|
version: "0"
|
25
34
|
type: :runtime
|
26
35
|
version_requirements: *id001
|
@@ -100,6 +109,7 @@ files:
|
|
100
109
|
- lib/mandy/ruby-hbase/xml_decoder.rb
|
101
110
|
- lib/mandy/test_runner.rb
|
102
111
|
- bin/mandy-hdfs
|
112
|
+
has_rdoc: true
|
103
113
|
homepage: http://github.com/forward/mandy
|
104
114
|
licenses: []
|
105
115
|
|
@@ -113,17 +123,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
123
|
requirements:
|
114
124
|
- - ">="
|
115
125
|
- !ruby/object:Gem::Version
|
126
|
+
hash: 3
|
127
|
+
segments:
|
128
|
+
- 0
|
116
129
|
version: "0"
|
117
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
131
|
none: false
|
119
132
|
requirements:
|
120
133
|
- - ">="
|
121
134
|
- !ruby/object:Gem::Version
|
135
|
+
hash: 3
|
136
|
+
segments:
|
137
|
+
- 0
|
122
138
|
version: "0"
|
123
139
|
requirements: []
|
124
140
|
|
125
141
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.
|
142
|
+
rubygems_version: 1.3.7
|
127
143
|
signing_key:
|
128
144
|
specification_version: 2
|
129
145
|
summary: Map/Reduce Framework
|