Skip to content

Commit

Permalink
test against Rails 5.2; remove old and eol rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
markets committed Jun 11, 2018
1 parent c001749 commit 6cd3603
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 18 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Expand Up @@ -5,19 +5,13 @@ cache: bundler
sudo: false

rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- 2.1
- 2.5.1
- 2.4.4
- 2.3.6
- 2.2.9

gemfile:
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_4.2.gemfile

matrix:
exclude:
- rvm: 2.1
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5.1.gemfile
4 changes: 4 additions & 0 deletions Appraisals
@@ -1,3 +1,7 @@
appraise "rails-5.2" do
gem "rails", "~> 5.2.0"
end

appraise "rails-5.1" do
gem "rails", "~> 5.1.0"
end
Expand Down
2 changes: 1 addition & 1 deletion MIT-LICENSE
@@ -1,4 +1,4 @@
Copyright 2013-2017 Marc Anguera Insa
Copyright 2013-2018 Marc Anguera Insa

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions gemfiles/rails_4.2.gemfile
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: "4-2-stable"
gem "rails", :github => "rails/rails", :branch => "4-2-stable"

gemspec path: "../"
gemspec :path => "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5.0.gemfile
Expand Up @@ -4,4 +4,4 @@ source "https://rubygems.org"

gem "rails", "~> 5.0.0"

gemspec path: "../"
gemspec :path => "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5.1.gemfile
Expand Up @@ -4,4 +4,4 @@ source "https://rubygems.org"

gem "rails", "~> 5.1.0"

gemspec path: "../"
gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/rails_5.2.gemfile
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 5.2.0"

gemspec :path => "../"
3 changes: 1 addition & 2 deletions maily.gemspec
Expand Up @@ -19,6 +19,5 @@ Gem::Specification.new do |s|

s.add_development_dependency "rspec-rails"
s.add_development_dependency "appraisal"
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency "byebug" if RUBY_VERSION.to_i >= 2
s.add_development_dependency "byebug"
end

0 comments on commit 6cd3603

Please sign in to comment.