Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.349 kB
7863d14 @gabebw bundler/setup is important.
gabebw authored
1 require 'bundler/setup'
98ac882 @gabebw bundler/gem_tasks is easier.
gabebw authored
2 require 'bundler/gem_tasks'
90aad4a @mjankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
3 require 'appraisal'
ffdc672 @gabebw Use Bundler gem conventions.
gabebw authored
4
bc2e17f @mjankowski tell travis to use each gemfile separately
mjankowski authored
5 require 'rspec/core/rake_task'
ae7d28b @mjankowski use rspec for tests
mjankowski authored
6 RSpec::Core::RakeTask.new(:spec)
7
bc2e17f @mjankowski 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 @mjankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
15
bc2e17f @mjankowski tell travis to use each gemfile separately
mjankowski authored
16 task :appraise => ['appraisal:install'] do |t|
17 exec 'rake appraisal'
90aad4a @mjankowski use appraisal to test 3.1.0 and 3.0.10
mjankowski authored
18 end
Something went wrong with that request. Please try again.