Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.349 kb
7863d14 Gabe Berke-Williams bundler/setup is important.
gabebw authored
1 require 'bundler/setup'
98ac882 Gabe Berke-Williams bundler/gem_tasks is easier.
gabebw authored
2 require 'bundler/gem_tasks'
90aad4a Matt Jankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
3 require 'appraisal'
ffdc672 Gabe Berke-Williams Use Bundler gem conventions.
gabebw authored
4
bc2e17f Matt Jankowski tell travis to use each gemfile separately
mjankowski authored
5 require 'rspec/core/rake_task'
ae7d28b Matt Jankowski use rspec for tests
mjankowski authored
6 RSpec::Core::RakeTask.new(:spec)
7
bc2e17f Matt Jankowski tell travis to use each gemfile separately
mjankowski authored
8 task :default do |t|
9 if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
10 exec 'rake spec'
11 else
12 Rake::Task['appraise'].execute
13 end
14 end
90aad4a Matt Jankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
15
bc2e17f Matt Jankowski tell travis to use each gemfile separately
mjankowski authored
16 task :appraise => ['appraisal:install'] do |t|
17 exec 'rake appraisal'
90aad4a Matt Jankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
18 end
Something went wrong with that request. Please try again.