1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Test against sinatra 1.4, move sinatra -> sinatra_13

This commit is contained in:
Zachary Scott 2013-08-07 15:05:58 -04:00
parent c3890d4ca8
commit 3f08b7dae5
4 changed files with 17 additions and 3 deletions

View file

@ -14,4 +14,5 @@ gemfile:
- gemfiles/data_mapper_12.gemfile
- gemfiles/mongo_mapper.gemfile
- gemfiles/mongoid_30.gemfile
- gemfiles/sinatra.gemfile
- gemfiles/sinatra_13.gemfile
- gemfiles/sinatra_14.gemfile

View file

@ -13,7 +13,7 @@ end
task :default => "spec:all"
namespace :spec do
%w(active_record_edge active_record_40 active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_30 mongoid_24 mongo_mapper sinatra).each do |gemfile|
%w(active_record_edge active_record_40 active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_30 mongoid_24 mongo_mapper sinatra_13 sinatra_14).each do |gemfile|
desc "Run Tests against #{gemfile}"
task gemfile do
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
@ -23,7 +23,7 @@ namespace :spec do
desc "Run Tests against all ORMs"
task :all do
%w(active_record_edge active_record_40 active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_30 mongoid_24 mongo_mapper sinatra).each do |gemfile|
%w(active_record_edge active_record_40 active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_30 mongoid_24 mongo_mapper sinatra_13 sinatra_14).each do |gemfile|
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec"
end

View file

@ -0,0 +1,13 @@
source 'https://rubygems.org'
gem 'activerecord', '~> 3.2.0', :require => 'active_record'
gem 'sinatra', '~> 1.4.0'
gem 'tilt', '~> 1.3.0'
gem 'padrino-helpers', '~> 0.11.3'
gem 'rack-test', '>= 0'
gem 'sinatra-contrib', '~> 1.4.0'
gem 'nokogiri'
gem 'xpath'
gem 'mime-types'
gemspec :path => '../'