Merge pull request #66 from johnbintz/travis-trimming

No one uses 1.8.7 or 1.9.2 anymore. Sorry, folks.
This commit is contained in:
John Bintz 2015-07-03 12:33:29 -04:00
commit 651d202dd2
7 changed files with 7 additions and 36 deletions

View File

@ -1,19 +1,10 @@
rvm: rvm:
- 1.8.7
- 1.9.2
- 1.9.3 - 1.9.3
- 2.0.0 - 2.0.0
branches: branches:
only: only:
- master - master
gemfile: gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile - gemfiles/rails32.gemfile
- gemfiles/rails40.gemfile - gemfiles/rails40.gemfile
matrix:
exclude:
- rvm: 1.8.7
gemfile: gemfiles/rails40.gemfile
- rvm: 1.9.2
gemfile: gemfiles/rails40.gemfile

View File

@ -1,11 +1,3 @@
appraise 'rails30' do
gem 'rails', '~> 3.0.0'
end
appraise 'rails31' do
gem 'rails', '~> 3.1.0'
end
appraise 'rails32' do appraise 'rails32' do
gem 'rails', '~> 3.2.0' gem 'rails', '~> 3.2.0'
end end

View File

@ -1,7 +0,0 @@
# This file was generated by Appraisal
source "http://rubygems.org"
gem "rails", "~> 3.0.0"
gemspec :path=>"../"

View File

@ -1,7 +0,0 @@
# This file was generated by Appraisal
source "http://rubygems.org"
gem "rails", "~> 3.1.0"
gemspec :path=>"../"

View File

@ -15,7 +15,7 @@ describe Rack::LiveReload::BodyProcessor do
end end
it 'responds false when no head tag' do it 'responds false when no head tag' do
regex.match("<header></header>").should be_false regex.match("<header></header>").should be_falsey
end end
end end

View File

@ -14,7 +14,7 @@ describe Rack::LiveReload::ProcessingSkipAnalyzer do
describe '#skip_processing?' do describe '#skip_processing?' do
it "should skip processing" do it "should skip processing" do
subject.skip_processing?.should be_true subject.skip_processing?.should be_truthy
end end
end end

View File

@ -7,7 +7,9 @@ describe Rack::LiveReload do
subject { middleware } subject { middleware }
its(:app) { should == app } it 'should be an app' do
middleware.app.should be == app
end
let(:env) { {} } let(:env) { {} }
let(:options) { {} } let(:options) { {} }
@ -20,7 +22,7 @@ describe Rack::LiveReload do
end end
it 'should return the js file' do it 'should return the js file' do
middleware._call(env).should be_true middleware._call(env).should be_truthy
end end
end end
end end