lib/jets/api/gems/extract/base.rb in jets-api-0.1.0 vs lib/jets/api/gems/extract/base.rb in jets-api-0.1.1
- old
+ new
@@ -7,10 +7,10 @@
attr_reader :project_root
def initialize(name, options={})
@name = name
@options = options
ruby_folder = Jets::Api::Gems.ruby_folder
- @downloads_root = options[:downloads_root] || "/tmp/jets/#{Jets.config.project_name}/jets-api/#{ruby_folder}"
+ @downloads_root = options[:downloads_root] || "/tmp/jets/#{Jets.project_name}/jets-api/#{ruby_folder}"
end
def clean_downloads(folder)
path = "#{@downloads_root}/downloads/#{folder}"
say "Removing cache: #{path}"