volley 0.1.0.alpha2 → 0.1.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/volley/dsl/plan.rb +3 -4
- data/volley.gemspec +1 -1
- metadata +1 -1
data/lib/volley/dsl/plan.rb
CHANGED
@@ -242,18 +242,17 @@ module Volley
|
|
242
242
|
|
243
243
|
dir = File.dirname(file)
|
244
244
|
Volley::Log.info "changing directory: #{dir} (#{file})"
|
245
|
-
|
246
|
-
#cmd = "volley run #{pr}:#{plan} branch:#{branch} #{arg_list.join(' ')}"
|
247
|
-
#Volley::Log.info "command: #{cmd}"
|
248
245
|
end
|
246
|
+
|
249
247
|
action :unpack do
|
250
248
|
FileUtils.mkdir_p("#{dir}/unpack")
|
251
249
|
Dir.chdir("#{dir}/unpack")
|
252
250
|
tgz = %x{tar xvfz #{file} 2>/dev/null}
|
253
251
|
File.open("#{dir}/tgz.log", "w") {|f| f.write(tgz)}
|
254
252
|
end
|
253
|
+
|
255
254
|
action :run do
|
256
|
-
yield dir if dir
|
255
|
+
yield "#{dir}/unpack" if dir && File.directory?("#{dir}/unpack")
|
257
256
|
end
|
258
257
|
end
|
259
258
|
|
data/volley.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = "volley"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version = "#{Volley::Version::STRING}.
|
16
|
+
gem.version = "#{Volley::Version::STRING}.alpha3"
|
17
17
|
|
18
18
|
gem.add_dependency "clamp"
|
19
19
|
gem.add_dependency "fog"
|