Sha256: 635feb4f8597092a55477285405668f1b57654ff8c9a693f0405c018970e94f7
Contents?: true
Size: 1.48 KB
Versions: 3
Compression:
Stored size: 1.48 KB
Contents
# encoding: utf-8 require 'rubygems' 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 require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "backstack" gem.homepage = "http://github.com/kswope/backstack" gem.license = "MIT" gem.summary = %Q{Rails plugin used to generate "back" links or a breadcrumb trail.} gem.description = %Q{Rails plugin used to dynamically and intelligently generate "back" links or a breadcrumb trail.} gem.email = "git-kevdev@snkmail.com" gem.authors = ["Kevin Swope"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new task :default => :test task :test => [:test_neutral, :test_rails] require 'rake/testtask' Rake::TestTask.new(:test_neutral) do |test| test.libs << 'lib' << 'test/neutral' test.pattern = 'test/neutral/**/test_*.rb' test.verbose = true end # Bundler.setup (above) sets this and ruins rail's chance for loading # properly in the test below. Somebody tell me why a gem is setting # ENV variables. ENV['BUNDLE_GEMFILE'] = nil desc "Run tests in rails root" rails_root = "test/rails_root" command = "rake" task :test_rails do |t| chdir rails_root do puts "*** descending into #{rails_root} and running '#{command}'" system command end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
backstack-0.3.0 | Rakefile |
backstack-0.2.0 | Rakefile |
backstack-0.1.0 | Rakefile |