Changeset [128c810377a008ed50cab772cd5fb5bd2553455c] by johnnyshields

December 13th, 2017 @ 08:41 PM

Fix array angle brackets and usage of %w[x y z] vs ['x', 'y', 'x'] according to rubocop / ruby-style guide rules. Note there are some cases where ['x', 'y', 'x'] is preferred. This code was done using Rubocop's auto-correct
https://github.com/fatfreecrm/fat_free_crm/commit/128c810377a008ed5...

Committed by johnnyshields

  • M app/controllers/admin/fields_controller.rb
  • M app/controllers/admin/groups_controller.rb
  • M app/controllers/admin/tags_controller.rb
  • M app/controllers/admin/users_controller.rb
  • M app/controllers/application_controller.rb
  • M app/controllers/authentications_controller.rb
  • M app/controllers/entities/contacts_controller.rb
  • M app/controllers/entities/opportunities_controller.rb
  • M app/controllers/entities_controller.rb
  • M app/controllers/home_controller.rb
  • M app/controllers/passwords_controller.rb
  • M app/controllers/tasks_controller.rb
  • M app/controllers/users_controller.rb
  • M app/helpers/application_helper.rb
  • M app/helpers/opportunities_helper.rb
  • M app/inputs/date_pair_input.rb
  • M app/models/entities/account.rb
  • M app/models/entities/account_contact.rb
  • M app/models/entities/campaign.rb
  • M app/models/entities/contact.rb
  • M app/models/entities/lead.rb
  • M app/models/entities/opportunity.rb
  • M app/models/fields/custom_field.rb
  • M app/models/fields/custom_field_pair.rb
  • M app/models/fields/field.rb
  • M app/models/polymorphic/address.rb
  • M app/models/polymorphic/avatar.rb
  • M app/models/polymorphic/task.rb
  • M app/models/polymorphic/version.rb
  • M app/models/users/user.rb
  • M config/application.rb
  • M config/deploy.example.rb
  • M config/initializers/assets.rb
  • M config/initializers/constants.rb
  • M config/initializers/ransack.rb
  • M config/routes.rb
  • M db/migrate/20100928030599_create_users.rb
  • M db/migrate/20100928030601_create_accounts.rb
  • M db/migrate/20100928030604_create_preferences.rb
  • M db/migrate/20100928030605_create_campaigns.rb
  • M db/migrate/20100928030606_create_leads.rb
  • M db/migrate/20100928030607_create_contacts.rb
  • M db/migrate/20100928030608_create_opportunities.rb
  • M db/migrate/20100928030612_create_tasks.rb
  • M db/migrate/20100928030620_remove_uuid.rb
  • M db/migrate/20100928030623_create_addresses.rb
  • M db/migrate/20100928030624_add_index_on_permissions.rb
  • M db/migrate/20100928030625_create_emails.rb
  • M db/migrate/20100928030627_acts_as_taggable_on_migration.rb
  • M db/migrate/20111201030535_add_field_groups_klass_name.rb
  • M db/migrate/20120216031616_create_versions.rb
  • M db/migrate/20120314080441_add_subscribed_users_to_entities.rb
  • M db/migrate/20120405080742_change_further_subscribed_users_to_set.rb
  • M db/migrate/20120406082136_create_groups.rb
  • M db/migrate/20120510025219_add_not_null_constraints_for_timestamp_columns.rb
  • M db/migrate/20140916012922_add_indexes_to_model_associations.rb
  • M db/migrate/20141230205453_add_missing_unique_indices.acts_as_taggable_on_engine.rb
  • M db/migrate/20141230205455_add_missing_taggable_index.acts_as_taggable_on_engine.rb
  • M db/migrate/20150427131956_create_index_related_type.rb
  • M db/migrate/20160511053730_add_account_contacts_index.rb
  • M lib/fat_free_crm/engine.rb
  • M lib/fat_free_crm/mail_processor/base.rb
  • M lib/fat_free_crm/mail_processor/dropbox.rb
  • M lib/fat_free_crm/permissions.rb
  • M lib/tasks/ffcrm/demo.rake
  • M spec/controllers/comments_controller_spec.rb
  • M spec/controllers/emails_controller_spec.rb
  • M spec/controllers/entities/accounts_controller_spec.rb
  • M spec/controllers/entities/campaigns_controller_spec.rb
  • M spec/controllers/entities/leads_controller_spec.rb
  • M spec/controllers/entities/opportunities_controller_spec.rb
  • M spec/factories/campaign_factories.rb
  • M spec/factories/contact_factories.rb
  • M spec/factories/field_factories.rb
  • M spec/factories/lead_factories.rb
  • M spec/factories/opportunity_factories.rb
  • M spec/factories/shared_factories.rb
  • M spec/factories/task_factories.rb
  • M spec/features/support/browser.rb
  • M spec/lib/permissions_spec.rb
  • M spec/lib/view_factory_spec.rb
  • M spec/models/fields/custom_field_spec.rb
  • M spec/models/observers/entity_observer_spec.rb
  • M spec/models/polymorphic/version_spec.rb
  • M spec/models/users/abilities/user_ability_spec.rb
  • M spec/models/users/user_spec.rb
  • M spec/spec_helper.rb
  • M spec/views/application/auto_complete.haml_spec.rb
  • M spec/views/tasks/_edit.haml_spec.rb
  • M spec/views/tasks/create.js.haml_spec.rb
  • M spec/views/tasks/edit.js.haml_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond