No one uses 1.8.7 or 1.9.2 anymore. Sorry, folks. #66

Merged
johnbintz merged 3 commits from travis-trimming into master 2015-07-03 16:33:29 +00:00
7 changed files with 7 additions and 36 deletions

View File

@ -1,19 +1,10 @@
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
branches:
only:
- master
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.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
gem 'rails', '~> 3.2.0'
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
it 'responds false when no head tag' do
regex.match("<header></header>").should be_false
regex.match("<header></header>").should be_falsey
end
end

View File

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

View File

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