-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
1,987 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
service_name: travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
/doc | ||
/.bundle | ||
/vendor/gems | ||
|
||
/gemfiles/*.gemfile.lock | ||
/gemfiles/.bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,111 @@ | ||
sudo: false | ||
language: ruby | ||
cache: bundler | ||
notifications: | ||
webhooks: | ||
# With COVERALLS_PARALLEL, coverage information sent to coveralls will not be processed until | ||
# this webhook is sent. | ||
# https://coveralls.zendesk.com/hc/en-us/articles/203484329-Parallel-Build-Webhook | ||
- secure: "YnHYbTq51ySistjvOxsuNhyg4GLuUffEJstTYeGYXiBF7HG5h43IVYo8KNuLzwkgsOYBcNo+YMdQX7qCqJffSbhsr1FZRSzBmjFFxcyD4hu+ukM2theZ4mePVAZiePscYvQPRNY4hIb4d3egStJEytkalDhB3sOebF57tIaCssg=" | ||
rvm: | ||
- 2.0 | ||
- 2.1 | ||
- 2.2 | ||
- 2.2.10 | ||
- 2.3.8 | ||
- 2.4.9 | ||
- 2.5.7 | ||
- 2.6.5 | ||
- 2.7.0 | ||
- ruby-head | ||
- truffleruby-head | ||
gemfile: | ||
- gemfiles/rails42.gemfile | ||
- gemfiles/rails50.gemfile | ||
- gemfiles/rails51.gemfile | ||
- gemfiles/rails52.gemfile | ||
- gemfiles/rails60.gemfile | ||
- gemfiles/rails42_haml.gemfile | ||
- gemfiles/rails50_haml.gemfile | ||
- gemfiles/rails51_haml.gemfile | ||
- gemfiles/rails52_haml.gemfile | ||
- gemfiles/rails60_haml.gemfile | ||
- gemfiles/rails42_boc.gemfile | ||
- gemfiles/rails50_boc.gemfile | ||
- gemfiles/rails51_boc.gemfile | ||
- gemfiles/rails52_boc.gemfile | ||
- gemfiles/rails60_boc.gemfile | ||
- gemfiles/rack.gemfile | ||
- gemfiles/rack_boc.gemfile | ||
- gemfiles/pry09.gemfile | ||
- gemfiles/pry010.gemfile | ||
- gemfiles/pry011.gemfile | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- rvm: ruby-head | ||
- gemfile: gemfiles/pry010.gemfile | ||
- gemfile: gemfiles/pry011.gemfile | ||
exclude: | ||
- rvm: 2.2.10 | ||
gemfile: gemfiles/rails60.gemfile | ||
- rvm: 2.2.10 | ||
gemfile: gemfiles/rails60_boc.gemfile | ||
- rvm: 2.2.10 | ||
gemfile: gemfiles/rails60_haml.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails60.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails60_boc.gemfile | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/rails60_haml.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails60.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails60_boc.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails60_haml.gemfile | ||
- rvm: 2.5.7 | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: 2.5.7 | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: 2.5.7 | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: 2.6.5 | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: 2.6.5 | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: 2.6.5 | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: 2.7.0 | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: 2.7.0 | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: 2.7.0 | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: ruby-head | ||
gemfile: gemfiles/rails42.gemfile | ||
- rvm: ruby-head | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: ruby-head | ||
gemfile: gemfiles/rails42_haml.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rails42_boc.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rails50_boc.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rails51_boc.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rails52_boc.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rails60_boc.gemfile | ||
- rvm: truffleruby-head | ||
gemfile: gemfiles/rack_boc.gemfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Changelog | ||
|
||
See https://github.com/charliesome/better_errors/releases | ||
See https://github.com/BetterErrors/better_errors/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2012-2015 Charlie Somerville | ||
Copyright (c) 2012-2016 Charlie Somerville | ||
|
||
MIT License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
|
||
namespace :test do | ||
RSpec::Core::RakeTask.new(:with_binding_of_caller) | ||
RSpec::Core::RakeTask.new(:test) | ||
task :default => :test | ||
|
||
without_task = RSpec::Core::RakeTask.new(:without_binding_of_caller) | ||
without_task.ruby_opts = "-I spec -r without_binding_of_caller" | ||
def gemfiles | ||
@gemfiles ||= Dir[File.dirname(__FILE__) + '/gemfiles/*.gemfile'] | ||
end | ||
|
||
task :all => [:with_binding_of_caller, :without_binding_of_caller] | ||
def with_each_gemfile | ||
gemfiles.each do |gemfile| | ||
Bundler.with_clean_env do | ||
puts "\n=========== Using gemfile: #{gemfile}" | ||
ENV['BUNDLE_GEMFILE'] = gemfile | ||
yield | ||
end | ||
end | ||
end | ||
|
||
task :default => "test:all" | ||
namespace :test do | ||
namespace :bundles do | ||
desc "Install all dependencies necessary to test" | ||
task :install do | ||
with_each_gemfile { sh "bundle install" } | ||
end | ||
|
||
desc "Update all dependencies for tests" | ||
task :update do | ||
with_each_gemfile { sh "bundle update" } | ||
end | ||
end | ||
|
||
desc "Test all supported sets of dependencies." | ||
task :all => 'test:bundles:install' do | ||
with_each_gemfile { sh "bundle exec rspec" rescue nil } | ||
end | ||
end |
Oops, something went wrong.