Skip to content

Commit

Permalink
Test on Rails {4.2,5.{0,1}} on Ruby 2.{2,3,4}
Browse files Browse the repository at this point in the history
  • Loading branch information
vjt committed Nov 20, 2017
1 parent bd194e0 commit 52022d2
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.ruby-version
.bundle
Gemfile.lock
gemfiles/*.lock
html
pkg
.idea
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
rvm:
- 2.2
- 2.3
- 2.4

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

matrix:
exclude:
- rvm: 2.4
gemfile: gemfiles/rails_4.2.gemfile

language: ruby
cache: bundler
rvm:
- 2.1.2
- 2.0.0
- 1.9.3
5 changes: 5 additions & 0 deletions gemfiles/rails_4.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "rails", "~> 4.2.0"

gemspec :path => "../"
5 changes: 5 additions & 0 deletions gemfiles/rails_5.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "rails", "~> 5.0.0"

gemspec :path => "../"
5 changes: 5 additions & 0 deletions gemfiles/rails_5.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "rails", "~> 5.1.0"

gemspec :path => "../"
4 changes: 2 additions & 2 deletions sanitize-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.files = `git ls-files`.split("\n")

s.add_dependency "rails", ">= 3.0"
s.add_dependency "sanitize", ">= 3.0"
s.add_dependency "rails"
s.add_dependency "sanitize"
end

0 comments on commit 52022d2

Please sign in to comment.