Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-19 | Updated Rubocop for generator_templates/ | Yorick Peterse | |
2016-05-19 | Merge branch 'migration-helpers' into 'master' | Robert Speicher | |
Added helper methods for database migrations These helpers can ultimately be used to write migrations that don't require downtime. See #15464 for more information. See merge request !3860 | |||
2016-05-13 | Require space around operators | Gabriel Mazetto | |
2016-05-13 | Merge branch 'deprecated-class-methods-cop' into 'master' | Robert Speicher | |
Enable the Rubocop DeprecatedClassMethods cop This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. See merge request !4087 | |||
2016-05-12 | Tell Rubocop to ignore lib/templates | Yorick Peterse | |
2016-05-11 | Merge branch 'casecmp-cop' into 'master' | Rémy Coutable | |
Enable Rubocop Casecmp Performance Cop. Also fixes the errors caused by enabling the cop. `casecmp` is more performant than `.downcase` and `==`. See also: https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/performance/casecmp.rb See merge request !3957 | |||
2016-05-11 | Enable the StringReplacement cop. | Connor Shea | |
Also fix one use of `gsub` that would be faster as `delete`. Use `tr` instead of `gsub` when you are replacing the same number of characters. Use `delete` instead of `gsub` when you are deleting characters. | |||
2016-05-11 | Enable Rubocop Casecmp Performance Cop. | Connor Shea | |
Also fixes the errors caused by enabling the cop. casecmp is more performant than `.downcase` and `==`. | |||
2016-05-09 | Enable the Rubocop DeprecatedClassMethods cop | Connor Shea | |
This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. | |||
2016-04-28 | Enable LstripRstrip cop | Connor Shea | |
This requires no code changes since it doesn't actually change anything in the codebase, just preventative. | |||
2016-04-20 | Backport select_helper from EE | Valery Sizov | |
2016-04-11 | Decrease threshold for ABC Size metric in Rubocop | Grzegorz Bizon | |
To 60. | |||
2016-03-21 | Update Rubocop from 0.35.1 to 0.38.0. | connorshea | |
Discussed in #14233. See [their releases](https://github.com/bbatsov/rubocop/releases) for more info. Changes: - Enable DisplayCopNames for lint output. - Default behavior for `Alias` changed, set to enforce `prefer_alias_method`. - Enabling Rails cops changed to new syntax. - Remove StyleGuides and move Descriptions to comments. - Add missing cops. - Add TODOs for cops that should be enabled in the future. - Set TargetRubyVersion to 2.1. | |||
2015-12-15 | Disabled Rails/Date cop | Gabriel Mazetto | |
2015-12-15 | Updated .rubocop.yml to match 0.35.x changes | Gabriel Mazetto | |
2015-12-08 | Bump cyclomatic and perceived complexity threshold by one | Grzegorz Bizon | |
2015-12-08 | Enable rubocop metrics | Grzegorz Bizon | |
This enables rubocop metrics like CyclomaticComplexity and ABCSize. Initial threshold values are high, should be probably decreased. | |||
2015-11-25 | Enable the Lint/RescueException cop | Robert Speicher | |
2015-10-03 | Enable "UselessAssignment" rubocop lint | Guilherme Garnier | |
2015-09-16 | fix rubocop | Valery Sizov | |
2015-09-15 | fix specs. Stage 5 | Valery Sizov | |
2015-06-22 | Enable rubocop for tests too | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2015-04-20 | Fixed the Rails/ActionFilter cop | Jeroen van Baarsen | |
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | |||
2015-04-15 | No tabs in code! | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2015-03-25 | Style/RedundantReturn enabled | Dmitriy Zaporozhets | |
2015-03-25 | Enable more rubocop style checks | Dmitriy Zaporozhets | |
2015-03-03 | Enable ParenthesesAsGroupedExpression rule | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: indentation fixes Yay!!! | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: no trailing newlines | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Dont allow puts or print to stdout | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/ElseAlignment enabled | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: comment indentation | Dmitriy Zaporozhets | |
2015-02-03 | More rubocop rules enable | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/CaseIndentation enabled | Dmitriy Zaporozhets | |
2015-02-03 | Avoid using {...} for multi-line blocks | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Ascii restrictions | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/AlignHash enabled | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/AlignArray enabled | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/Alias enabled | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop: Style/AccessorMethodName enabled | Dmitriy Zaporozhets | |
2015-02-03 | Rubocop enabled for: Use spaces inside hash literal braces | Dmitriy Zaporozhets | |
2015-02-03 | Convert hashes to ruby 1.9 style | Dmitriy Zaporozhets | |
2015-02-03 | At first disable all checks. We will enable it one by one later | Dmitriy Zaporozhets | |
2015-02-03 | Add rubocop and remove rails_best_practices gem | Dmitriy Zaporozhets | |