Sha256: f56d1746f0ca76148304e9bd716348f78912fa9cb03c57d970258db29e04bb10
Contents?: true
Size: 460 Bytes
Versions: 6
Compression:
Stored size: 460 Bytes
Contents
require 'fileutils' require 'ramaze' TESTS_DIR = __DIR__ def TESTS_DIR./(*paths) File.expand_path(File.join(*paths), TESTS_DIR) end def clear_tmp(tmp_dir) if File.exist?(tmp_dir) puts "removing all files under #{tmp_dir}... [Ctrl-C to stop it]" sleep 2 FileUtils.rm_r(tmp_dir) else Dir.mkdir(tmp_dir) end end def hello_gem_path(version) TESTS_DIR/"data/hello/pkg/hello-ruby-station-#{version}.gem" end clear_tmp(TESTS_DIR/"tmp/")
Version data entries
6 entries across 6 versions & 1 rubygems