Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test rails 5.0 #495

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- 2.1.10
- 2.2.5
- 2.3.1
gemfile:
- Gemfile.rails32
- Gemfile.rails40
- Gemfile.rails41
- Gemfile.rails42
- Gemfile.rails50

matrix:
exclude:
- rvm: 1.9.3
gemfile: Gemfile.rails50
- rvm: 2.0.0
gemfile: Gemfile.rails50
- rvm: 2.1.10
gemfile: Gemfile.rails50
5 changes: 5 additions & 0 deletions Gemfile.rails50
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gemspec

gem 'rails', '~> 5.0.0'
12 changes: 6 additions & 6 deletions spec/dummy/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
scope '/api' do
resources :users do
collection do
post :create_route
post :create_route => 'users#create_route'
end
end
resources :concerns, :only => [:index, :show]
namespace :files do
get '/*file_path', to: :download, format: false
get '/*file_path' => 'files#download', format: false
end
resources :twitter_example do
collection do
get :lookup
get :lookup => 'twitter_example#lookup'
get 'profile_image/:screen_name' => 'twitter_example#profile_image'
get :search
get :search
get :contributors
get :search => 'twitter_example#search'
get :search => 'twitter_example#search'
get :contributors => 'twitter_example#contributors'
end
end
end
Expand Down