Skip to content

Commit

Permalink
move Rails 4.2 to new Gemfile test Rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tarebyte committed Nov 13, 2016
1 parent 49a237d commit f5ac179
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gemfile:
- Gemfile-sprockets2-sprocketsrails2
- Gemfile-sprockets3-sprocketsrails2
- Gemfile-rails41
- Gemfile-rails42
before_script:
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
gemspec

gem "railties", "~> 4.2.0"
gem 'rails', '~> 5.0', '>= 5.0.0.1'
gem "sprockets-rails"
5 changes: 5 additions & 0 deletions Gemfile-rails42
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'
gemspec

gem "railties", "~> 4.2.0"
gem "sprockets-rails"
5 changes: 3 additions & 2 deletions konacha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ the asset pipeline and engines.}
gem.version = "4.0.0"
gem.license = "MIT"

gem.add_dependency "railties", ">= 4.1", "< 5"
gem.add_dependency "actionpack", ">= 4.1", "< 5"
gem.add_dependency "railties", ">= 4.1", "< 6"
gem.add_dependency "actionpack", ">= 4.1", "< 6"
gem.add_dependency "sprockets", ">= 2", "< 4"
gem.add_dependency "sprockets-rails", ">= 2", "< 4"
gem.add_dependency "capybara"
Expand All @@ -36,4 +36,5 @@ the asset pipeline and engines.}
gem.add_development_dependency "tzinfo"
gem.add_development_dependency "selenium-webdriver"
gem.add_development_dependency "poltergeist", "~> 1.5"
gem.add_development_dependency "rails-controller-testing"
end

0 comments on commit f5ac179

Please sign in to comment.