Commit ece1c4e
authored
Code modernization via Rubocop (#2308)
* Address Lint/AmbiguousBlockAssociation
* Address Lint/AmbiguousOperator
* Address Lint/AmbiguousRegexpLiteral
* Address Lint/EmptyWhen
* Address Lint/LiteralAsCondition
* Address Lint/MissingSuper
* Address Lint/RedundantRequireStatement
* Address Lint/RedundantSplatExpansion
* Address Lint/RedundantWithObject
* Address Lint/SuppressedException
* Address Lint/UnderscorePrefixedVariableName
* Address Lint/UnusedBlockArgument
* Address Lint/UselessAssignment
* Address Style/AndOr
* Address Style/CommandLiteral
* Address Style/CommentAnnotation
* Address Style/ConditionalAssignment
* Address Style/Dir
* Address Style/DoubleNegation
* Address Style/EachWithObject
* Address Style/EmptyLiteral
* Address Style/EmptyMethod
* Address Style/Encoding
* Address Style/EvalWithLocation
* Address Style/ExpandPathArguments
* Address Style/ExplicitBlockArgument
* Address Style/For
* Address Style/HashAsLastArrayItem
* Address Style/HashEachMethods
* Address Style/HashLikeCase
* Address Style/HashTransformValues
* Address Style/IdenticalConditionalBranches
* Address Style/InverseMethods
* Address Style/LineEndConcatenation
* Address MethodCallWithoutArgsParentheses
* Address Style/MinMax
* Address Style/Next
* Address Style/Not
* Address Style/NumericLiteralPrefix
* Address Style/NumericLiterals
* Address Style/OrAssignment
* Address Style/PercentLiteralDelimiters
* Address Style/Proc
* Address Style/RedundantAssignment
* Address Style/RedundantBegin
* Address Style/RedundantCapitalW
* Address Style/RedundantFreeze
* Address Style/RedundantInterpolation
* Address Style/RedundantParentheses
* Address Style/RedundantRegexpEscape
* Address Style/RedundantReturn
* Address Style/SafeNavigation
* Address Style/SymbolProc
* Address Style/TernaryParentheses
* Address Style/TrailingCommaInArguments
* Address Style/TrailingCommaInArrayLiteral
* Address Style/TrailingUnderscoreVariable
* Address Style/WhileUntilModifier
* Address Style/YodaCondition
* Address Style/StringLiterals
* Address Layout/SpaceBeforeBlockBraces
* Address Layout/SpaceAroundEqualsInParameterDefault
* Address Layout/SpaceAfterComma
* Address Style/HashSyntax directly
* Checkpoint: Update rubocop config1 parent 3e3a1d7 commit ece1c4e
File tree
257 files changed
+6237
-6220
lines changed- padrino-admin
- lib
- padrino-admin
- generators
- helpers
- test
- fixtures
- generators
- padrino-cache
- lib
- padrino-cache/helpers
- test
- padrino-core
- bin
- lib
- padrino-core
- application
- cli
- ext
- mounter
- path_router
- reloader
- test
- fixtures
- app_gem
- lib/app_gem
- apps
- custom_dependencies
- demo_project
- api
- helpers
- mountable_apps
- stealthy/helpers
- dependencies
- circular
- nested
- reloadable_apps
- external/app/controllers
- main
- padrino-gen
- bin
- lib
- padrino-gen
- generators
- components
- mocks
- orms
- renderers
- scripts
- stylesheets
- tests
- project
- config
- padrino-tasks
- test
- fixtures
- padrino-helpers
- lib
- padrino-helpers
- form_builder
- form_helpers
- output_helpers
- padrino
- rendering
- test
- fixtures
- apps
- markup_app
- render_app
- views
- padrino-mailer
- lib/padrino-mailer
- test
- fixtures
- padrino_app
- sinatra_app
- padrino-performance
- bin
- lib
- padrino-performance
- suites
- test
- padrino-support
- lib
- padrino-support
- core_ext/string
- test
- padrino
- test
- padrino
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
257 files changed
+6237
-6220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
90 | 19 | | |
91 | | - | |
| 20 | + | |
| 21 | + | |
92 | 22 | | |
93 | | - | |
| 23 | + | |
| 24 | + | |
94 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
0 commit comments