Fix rubocop warnings
authorTom Hughes <tom@compton.nu>
Thu, 1 Jun 2017 22:46:53 +0000 (23:46 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 1 Jun 2017 23:08:30 +0000 (00:08 +0100)
commit5b33f3f8e31c62bc3e5db1d5b120533c3afdde68
tree7be8cf7b7e16acfb9dd03e51ade53bebaf94b09c
parent95eda2d38103318a4c3c3f0c901d8e6ea86eac1e
Fix rubocop warnings
61 files changed:
.rubocop.yml
app/controllers/application_controller.rb
app/controllers/diary_entry_controller.rb
app/controllers/oauth_controller.rb
app/controllers/site_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_controller.rb
app/helpers/browse_helper.rb
app/models/client_application.rb
app/models/diary_entry.rb
app/models/note.rb
app/models/note_comment.rb
app/models/redaction.rb
app/models/relation.rb
app/models/trace.rb
app/models/user.rb
app/models/user_role.rb
config/application.rb
config/initializers/assets.rb
config/initializers/sanitize.rb
config/initializers/secure_headers.rb
db/migrate/001_create_osm_db.rb
db/migrate/002_cleanup_osm_db.rb
db/migrate/004_user_enhancements.rb
db/migrate/005_tile_tracepoints.rb
db/migrate/006_tile_nodes.rb
db/migrate/007_add_relations.rb
db/migrate/008_remove_segments.rb
db/migrate/010_diary_comments.rb
db/migrate/020_populate_node_tags_and_remove.rb
db/migrate/021_move_to_innodb.rb
db/migrate/023_add_changesets.rb
db/migrate/028_add_more_changeset_indexes.rb
db/migrate/039_add_more_controls_to_gpx_files.rb
db/migrate/041_add_fine_o_auth_permissions.rb
db/migrate/044_create_user_roles.rb
db/migrate/051_add_status_to_user.rb
db/migrate/053_add_map_bug_tables.rb
db/migrate/057_add_map_bug_comment_event.rb
db/migrate/20120214210114_add_text_format.rb
lib/editors.rb
script/statistics
script/update-spam-blocks
test/controllers/amf_controller_test.rb
test/controllers/api_controller_test.rb
test/controllers/changeset_controller_test.rb
test/controllers/geocoder_controller_test.rb
test/controllers/relation_controller_test.rb
test/controllers/trace_controller_test.rb
test/helpers/application_helper_test.rb
test/helpers/browse_helper_test.rb
test/helpers/title_helper_test.rb
test/integration/page_locale_test.rb
test/lib/bounding_box_test.rb
test/lib/i18n_test.rb
test/models/changeset_comment_test.rb
test/models/language_test.rb
test/models/message_test.rb
test/models/note_comment_test.rb
test/models/note_test.rb
test/models/user_test.rb