Skip to content

Commit 79c12ac

Browse files
committed
Allow Rails 5 and test with it
1 parent 90c6dd1 commit 79c12ac

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ rvm:
44
- 1.9.3
55
- 2.0.0
66
- 2.1
7-
- 2.2
7+
- 2.2.5
8+
- 2.3.1
89
- rbx-2
910

1011
gemfile:
1112
- gemfiles/Gemfile-rails-4-0
1213
- gemfiles/Gemfile-rails-4-1
1314
- gemfiles/Gemfile-rails-4-2
15+
- gemfiles/Gemfile-rails-5.0
1416
- gemfiles/Gemfile-sprockets-2-11
1517
- gemfiles/Gemfile-sprockets-2-12
1618
- gemfiles/Gemfile-sprockets-2-8
@@ -33,7 +35,9 @@ matrix:
3335
- rvm: rbx-2
3436
include:
3537
- gemfile: Gemfile
36-
rvm: 2.2.2
38+
rvm: 2.2.5
39+
- gemfile: Gemfile
40+
rvm: 2.3.1
3741

3842
notifications:
3943
email: false

gemfiles/Gemfile-rails-5-0

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
# Specify your gem"s dependencies in sass-rails.gemspec
4+
gemspec path: ".."
5+
6+
gem "rails", github: 'rails/rails', branch: '5-0-stable'

sass-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.description = %q{Sass adapter for the Rails asset pipeline.}
1414
s.license = %q{MIT}
1515

16-
s.add_dependency 'railties', '>= 4.0.0', '< 5.0'
16+
s.add_dependency 'railties', '>= 4.0.0', '< 6'
1717
s.add_dependency 'sass', '~> 3.1'
1818
s.add_dependency 'sprockets-rails', '>= 2.0', '< 4.0'
1919
s.add_dependency 'sprockets', '>= 2.8', '< 4.0'

0 commit comments

Comments
 (0)