Sha256: ae944a6c0028e5c75c7162a6764851909dfe7f462bd30a00a1dcc7266aae9a9b
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
require 'test/unit' require 'rubygems' require 'shoulda' require 'ruby-debug' require 'rr' require 'output_catcher' require 'time' $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') require 'jeweler' $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'shoulda_macros/jeweler_macros' # Use vendored gem because of limited gem availability on runcoderun # This is loosely based on 'vendor everything'. Dir[File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', '**')].each do |dir| lib = "#{dir}/lib" $LOAD_PATH.unshift(lib) if File.directory?(lib) end class Test::Unit::TestCase include RR::Adapters::TestUnit unless include?(RR::Adapters::TestUnit) def catch_out(&block) OutputCatcher.catch_out do block.call end end def fixture_dir File.join(File.dirname(__FILE__), 'fixtures', 'bar') end def tmp_dir File.join(File.dirname(__FILE__), 'tmp') end def build_spec(*files) Gem::Specification.new do |s| s.name = "bar" s.summary = "Simple and opinionated helper for creating Rubygem projects on GitHub" s.email = "josh@technicalpickles.com" s.homepage = "http://github.com/technicalpickles/jeweler" s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub" s.authors = ["Josh Nichols"] s.files = FileList[*files] unless files.empty? end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
dima-jeweler-0.9.2 | test/test_helper.rb |
technicalpickles-jeweler-0.9.0 | test/test_helper.rb |
technicalpickles-jeweler-0.9.1 | test/test_helper.rb |