Sha256: 65c6b735e29b03e5b4c5801d66961f7d46a9479aa28431d83a3ca56ea5876893
Contents?: true
Size: 872 Bytes
Versions: 4
Compression:
Stored size: 872 Bytes
Contents
require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib') require 'jeweler' require 'mocha' require 'output_catcher' require 'timecop' require 'ruby-debug' require 'active_support' require 'test/unit/assertions' World(Test::Unit::Assertions) require 'construct' World(Construct::Helpers) def yank_task_info(content, task) if content =~ /#{Regexp.escape(task)}.new(\(.*\))? do \|(.*?)\|(.*?)end/m [$2, $3] end end def yank_group_info(content, group) if content =~ /group :#{group} do(.*?)end/m $1 end end def fixture_dir File.expand_path File.join(File.dirname(__FILE__), '..', '..', 'test', 'fixtures') end After do Timecop.return end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jeweler-1.5.0.pre5 | features/support/env.rb |
jeweler-1.5.0.pre4 | features/support/env.rb |
jeweler-1.5.0.pre3 | features/support/env.rb |
jeweler-1.5.0.pre2 | features/support/env.rb |