[openstreetmap-website] Update to Rails 4.2 (#868)

Tom Hughes notifications at github.com
Sun Jan 11 13:52:02 UTC 2015


This updates the site to use rails 4.2 (currently 4.2.0).

A test site is up at http://rails42.apis.dev.openstreetmap.org/ and things could probably do with a bit of testing before we merge this.
You can merge this Pull Request by running:

  git pull https://github.com/tomhughes/openstreetmap-website rails42

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * Update to rails 4.2.0
  * Cleanup migrations
  * Replace deprecated deliver method with deliver_now
  * Replace deprecated reset method with restore method
  * Updated for changes in rails HTML testing
  * Set default formats in the database now that rails handles enums
  * Don't try and match xmlns as an attribute
  * Remove some (hopefully) redundant code

-- File Changes --

    M Gemfile (10)
    M Gemfile.lock (128)
    M Rakefile (1)
    M app/controllers/changeset_controller.rb (2)
    M app/controllers/diary_entry_controller.rb (2)
    M app/controllers/message_controller.rb (2)
    M app/controllers/notes_controller.rb (2)
    M app/controllers/user_controller.rb (12)
    M app/models/diary_comment.rb (5)
    M app/models/diary_entry.rb (5)
    M app/models/message.rb (8)
    M app/models/old_node.rb (5)
    M app/models/old_relation.rb (7)
    M app/models/old_way.rb (12)
    M app/models/redaction.rb (10)
    M app/models/user.rb (1)
    M app/models/user_block.rb (8)
    M config.ru (2)
    M config/application.rb (3)
    M config/boot.rb (3)
    M config/environments/development.rb (4)
    M config/environments/production.rb (31)
    M config/environments/test.rb (7)
    M config/initializers/assets.rb (3)
    M config/initializers/cookies_serializer.rb (2)
    M config/initializers/mime_types.rb (1)
    D config/initializers/postgresql_adapter.rb (34)
    M db/migrate/001_create_osm_db.rb (192)
    M db/migrate/002_cleanup_osm_db.rb (123)
    M db/migrate/003_sql_session_store_setup.rb (2)
    M db/migrate/004_user_enhancements.rb (26)
    M db/migrate/005_tile_tracepoints.rb (2)
    M db/migrate/006_tile_nodes.rb (72)
    M db/migrate/007_add_relations.rb (49)
    M db/migrate/008_remove_segments.rb (18)
    M db/migrate/010_diary_comments.rb (14)
    M db/migrate/018_create_acls.rb (10)
    M db/migrate/020_populate_node_tags_and_remove.rb (12)
    M db/migrate/021_move_to_innodb.rb (8)
    M db/migrate/022_key_constraints.rb (22)
    M db/migrate/023_add_changesets.rb (24)
    M db/migrate/025_add_end_time_to_changesets.rb (4)
    M db/migrate/028_add_more_changeset_indexes.rb (2)
    M db/migrate/029_add_user_foreign_keys.rb (26)
    M db/migrate/030_add_foreign_keys.rb (8)
    M db/migrate/031_create_countries.rb (14)
    M db/migrate/034_create_languages.rb (12)
    M db/migrate/035_change_user_locale.rb (4)
    M db/migrate/042_add_foreign_keys_to_oauth_tables.rb (14)
    M db/migrate/044_create_user_roles.rb (7)
    M db/migrate/045_create_user_blocks.rb (12)
    M db/migrate/046_alter_user_roles_and_blocks.rb (8)
    M db/migrate/054_refactor_map_bug_tables.rb (8)
    M db/migrate/20110521142405_rename_bugs_to_notes.rb (20)
    M db/migrate/20111212183945_add_lowercase_user_indexes.rb (4)
    M db/migrate/20120318201948_create_redactions.rb (13)
    M db/migrate/20120328090602_drop_session_table.rb (2)
    M db/migrate/20120404205604_add_user_and_description_to_redaction.rb (11)
    M db/migrate/20140115192822_add_text_index_to_note_comments.rb (2)
    M db/migrate/20140507110937_create_changeset_comments.rb (4)
    M db/migrate/20140519141742_add_join_table_between_users_and_changesets.rb (4)
    A db/migrate/20150110152606_change_default_formats.rb (17)
    M db/structure.sql (122)
    M lib/migrate.rb (146)
    M test/controllers/api_controller_test.rb (6)
    M test/controllers/diary_entry_controller_test.rb (4)
    M test/lib/rich_text_test.rb (6)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/868
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150111/d4344953/attachment.html>


More information about the rails-dev mailing list