Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Update rubocop to 0.40.0 | Robert Speicher | 2016-05-23 | 1 | -0/+18 | |
| |/ / | ||||||
* | | | Merge branch 'complexity/rubocop-style-loop' into 'master' | Robert Speicher | 2016-05-23 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Style/InfiniteLoop Rubocop cop This MR enabled Style/InfiniteLoop Rubocop cop, and fixes offenses. See https://gitlab.com/gitlab-org/gitlab-ce/issues/17478 See merge request !4257 | |||||
| * | | | Enable Style/InfiniteLoop Rubocop copcomplexity/rubocop-style-loop | Grzegorz Bizon | 2016-05-23 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge branch 'rs-range-include' into 'master' | Robert Speicher | 2016-05-23 | 1 | -2/+1 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | Enable Performance/RangeInclude cop and fix single offense Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17478 See merge request !4255 | |||||
| * | | Enable Performance/RangeInclude cop and fix single offensers-range-include | Robert Speicher | 2016-05-23 | 1 | -2/+1 | |
| |/ | ||||||
* | | Merge branch 'rs-start-with' into 'master' | Robert Speicher | 2016-05-23 | 1 | -2/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | Enable Performance/StartWith cop and fix offenses Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/17478 See merge request !4256 | |||||
| * | | Enable Performance/StartWith cop and fix offensesrs-start-with | Robert Speicher | 2016-05-23 | 1 | -2/+1 | |
| |/ | ||||||
* | | Enable Style/DefWithParentheses cop and fix single offense | Robert Speicher | 2016-05-23 | 1 | -1/+1 | |
|/ | ||||||
* | Updated Rubocop for generator_templates/fix-generator-templates-directory | Yorick Peterse | 2016-05-19 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'migration-helpers' into 'master' | Robert Speicher | 2016-05-19 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | Tell Rubocop to ignore lib/templates | Yorick Peterse | 2016-05-12 | 1 | -1/+2 | |
| | | ||||||
* | | Require space around operators | Gabriel Mazetto | 2016-05-13 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'deprecated-class-methods-cop' into 'master' | Robert Speicher | 2016-05-12 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | Enable the Rubocop DeprecatedClassMethods cop | Connor Shea | 2016-05-08 | 1 | -1/+1 | |
| |/ | | | | | | | | | | | 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. | |||||
* | | Merge branch 'casecmp-cop' into 'master' | Rémy Coutable | 2016-05-11 | 1 | -2/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | Enable Rubocop Casecmp Performance Cop. | Connor Shea | 2016-05-10 | 1 | -2/+1 | |
| |/ | | | | | | | Also fixes the errors caused by enabling the cop. casecmp is more performant than `.downcase` and `==`. | |||||
* | | Enable the StringReplacement cop. | Connor Shea | 2016-05-10 | 1 | -1/+2 | |
|/ | | | | | | | | 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. | |||||
* | Enable LstripRstrip cop | Connor Shea | 2016-04-27 | 1 | -2/+1 | |
| | | | | | This requires no code changes since it doesn't actually change anything in the codebase, just preventative. | |||||
* | Backport select_helper from EEbackport_changes_from_ee | Valery Sizov | 2016-04-20 | 1 | -1/+1 | |
| | ||||||
* | Decrease threshold for ABC Size metric in Rubocopcomplexity/descrease-abc-size-threshold | Grzegorz Bizon | 2016-04-11 | 1 | -1/+1 | |
| | | | | To 60. | |||||
* | Update Rubocop from 0.35.1 to 0.38.0. | connorshea | 2016-03-20 | 1 | -469/+489 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | Disabled Rails/Date cop | Gabriel Mazetto | 2015-12-15 | 1 | -0/+6 | |
| | ||||||
* | Updated .rubocop.yml to match 0.35.x changes | Gabriel Mazetto | 2015-12-14 | 1 | -6/+30 | |
| | ||||||
* | Bump cyclomatic and perceived complexity threshold by one | Grzegorz Bizon | 2015-12-08 | 1 | -2/+2 | |
| | ||||||
* | Enable rubocop metrics | Grzegorz Bizon | 2015-12-08 | 1 | -19/+24 | |
| | | | | | This enables rubocop metrics like CyclomaticComplexity and ABCSize. Initial threshold values are high, should be probably decreased. | |||||
* | Enable the Lint/RescueException coprs-rescueexception-cop | Robert Speicher | 2015-11-24 | 1 | -1/+1 | |
| | ||||||
* | Enable "UselessAssignment" rubocop lint | Guilherme Garnier | 2015-10-03 | 1 | -1/+1 | |
| | ||||||
* | fix rubocop | Valery Sizov | 2015-09-16 | 1 | -0/+1 | |
| | ||||||
* | fix specs. Stage 5 | Valery Sizov | 2015-09-15 | 1 | -0/+1 | |
| | ||||||
* | Enable rubocop for tests too | Dmitriy Zaporozhets | 2015-06-22 | 1 | -2/+0 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Fixed the Rails/ActionFilter cop | Jeroen van Baarsen | 2015-04-20 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | |||||
* | No tabs in code! | Dmitriy Zaporozhets | 2015-04-15 | 1 | -1/+1 | |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
* | Style/RedundantReturn enabledmore-rubocop-styles | Dmitriy Zaporozhets | 2015-03-24 | 1 | -1/+1 | |
| | ||||||
* | Enable more rubocop style checks | Dmitriy Zaporozhets | 2015-03-24 | 1 | -7/+7 | |
| | ||||||
* | Enable ParenthesesAsGroupedExpression rule | Dmitriy Zaporozhets | 2015-03-02 | 1 | -1/+1 | |
| | ||||||
* | Rubocop: indentation fixes Yay!!! | Dmitriy Zaporozhets | 2015-02-02 | 1 | -2/+2 | |
| | ||||||
* | Rubocop: no trailing newlines | Dmitriy Zaporozhets | 2015-02-02 | 1 | -3/+3 | |
| | ||||||
* | Rubocop: Dont allow puts or print to stdout | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+4 | |
| | ||||||
* | Rubocop: Style/ElseAlignment enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -2/+2 | |
| | ||||||
* | Rubocop: comment indentation | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | More rubocop rules enable | Dmitriy Zaporozhets | 2015-02-02 | 1 | -4/+5 | |
| | ||||||
* | Rubocop: Style/CaseIndentation enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Avoid using {...} for multi-line blocks | Dmitriy Zaporozhets | 2015-02-02 | 1 | -2/+2 | |
| | ||||||
* | Rubocop: Ascii restrictions | Dmitriy Zaporozhets | 2015-02-02 | 1 | -2/+2 | |
| | ||||||
* | Rubocop: Style/AlignHash enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Rubocop: Style/AlignArray enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Rubocop: Style/Alias enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Rubocop: Style/AccessorMethodName enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Rubocop enabled for: Use spaces inside hash literal braces | Dmitriy Zaporozhets | 2015-02-02 | 1 | -1/+1 | |
| | ||||||
* | Convert hashes to ruby 1.9 style | Dmitriy Zaporozhets | 2015-02-02 | 1 | -5/+1 | |
| |