[openstreetmap/openstreetmap-website] Update to rails 5.0.x (#1561)

Tom Hughes notifications at github.com
Sun Jun 11 21:53:45 UTC 2017


Update to rails 5.0.x (currently 5.0.3) and fix up things that have been deprecated or changed as necessary.

There's a test site at https://rails50.apis.dev.openstreetmap.org/ so please shout if you find any problems.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1561

-- Commit Summary --

  * Update to rails 5.0.3
  * Update get/post etc to remove use of deprecated syntax
  * Fix some tests for changes in rails 5
  * Monkey patch oauth-plugin to avoid using deprecated methods

-- File Changes --

    M .rubocop_todo.yml (2)
    M Gemfile (11)
    M Gemfile.lock (146)
    M Rakefile (4)
    M app/controllers/application_controller.rb (2)
    M app/controllers/changeset_controller.rb (2)
    M app/controllers/user_controller.rb (2)
    M app/views/layouts/_header.html.erb (2)
    M app/views/user/logout.html.erb (2)
    M config.ru (3)
    M config/application.rb (15)
    M config/boot.rb (2)
    M config/environments/development.rb (23)
    M config/environments/production.rb (48)
    M config/environments/test.rb (14)
    M config/initializers/cookies_serializer.rb (2)
    M config/initializers/oauth.rb (39)
    M config/secrets.yml (16)
    M db/seeds.rb (6)
    M db/structure.sql (315)
    M lib/tasks/testing.rake (5)
    M test/controllers/api_controller_test.rb (38)
    M test/controllers/browse_controller_test.rb (22)
    M test/controllers/changeset_controller_test.rb (288)
    M test/controllers/diary_entry_controller_test.rb (240)
    M test/controllers/export_controller_test.rb (4)
    M test/controllers/geocoder_controller_test.rb (119)
    M test/controllers/message_controller_test.rb (80)
    M test/controllers/node_controller_test.rb (96)
    M test/controllers/notes_controller_test.rb (206)
    M test/controllers/oauth_clients_controller_test.rb (104)
    M test/controllers/old_node_controller_test.rb (54)
    M test/controllers/old_relation_controller_test.rb (52)
    M test/controllers/old_way_controller_test.rb (54)
    M test/controllers/redactions_controller_test.rb (24)
    M test/controllers/relation_controller_test.rb (110)
    M test/controllers/search_controller_test.rb (24)
    M test/controllers/site_controller_test.rb (80)
    M test/controllers/swf_controller_test.rb (6)
    M test/controllers/trace_controller_test.rb (222)
    M test/controllers/user_blocks_controller_test.rb (86)
    M test/controllers/user_controller_test.rb (229)
    M test/controllers/user_preference_controller_test.rb (18)
    M test/controllers/user_roles_controller_test.rb (28)
    M test/controllers/way_controller_test.rb (98)
    M test/integration/client_applications_test.rb (11)
    M test/integration/cors_test.rb (26)
    M test/integration/oauth_test.rb (56)
    M test/integration/page_locale_test.rb (12)
    M test/integration/user_blocks_test.rb (12)
    M test/integration/user_changeset_comments_test.rb (2)
    M test/integration/user_creation_test.rb (108)
    M test/integration/user_diaries_test.rb (2)
    M test/integration/user_login_test.rb (66)
    M test/integration/user_roles_test.rb (4)
    M test/integration/user_terms_seen_test.rb (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1561.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1561.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1561
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170611/0821f69a/attachment.html>


More information about the rails-dev mailing list