mry 0.77.0.1 → 0.77.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mry/rewriters.rb +11 -0
- data/lib/mry/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c52bb370d969ac1f8eaa74f58b9d7cfb7d5605bbdb58cb61a9de67a557a5d7f6
|
4
|
+
data.tar.gz: 32c264d49a8b23d06c883863e6ea7fbff832302d3211220db2169f184c4b2b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ce41ee6cd5395bf2062942d1d6c729df08b90e32a0c1e96dcb54a9fad3e0374eb77ae06ba24df6ae80a8bed54cf6128146e9cfbb88c6f918ace77485fffee70
|
7
|
+
data.tar.gz: 8ddf5fc5ed883c456577d532cdc2efc8e87abb7211e37f8f3705dc3250c75ebc3727c050d32a5abc67b81d38908d0e5369749921c8d40fb0bc87d564293ff7a9
|
data/lib/mry/rewriters.rb
CHANGED
@@ -22,6 +22,17 @@ module Mry
|
|
22
22
|
define_rule ['Layout/AlignHash' => 'Layout/HashAlignment']
|
23
23
|
define_rule ['Layout/AlignArray' => 'Layout/ArrayAlignment']
|
24
24
|
define_rule ['Layout/AlignArguments' => 'Layout/ArgumentAlignment']
|
25
|
+
|
26
|
+
define_rule ['Bundler/GemComment', 'Whitelist' => 'IgnoredGems']
|
27
|
+
define_rule ['Lint/SafeNavigationChain', 'Whitelist' => 'AllowedMethods']
|
28
|
+
define_rule ['Lint/SafeNavigationConsistency', 'Whitelist' => 'AllowedMethods']
|
29
|
+
define_rule ['Naming/HeredocDelimiterNaming', 'Blacklist' => 'ForbiddenDelimiters']
|
30
|
+
define_rule ['Naming/PredicateName', 'NamePrefixBlacklist' => 'ForbiddenPrefixes']
|
31
|
+
define_rule ['Naming/PredicateName', 'NameWhitelist' => 'AllowedMethods']
|
32
|
+
define_rule ['Style/IpAddresses', 'Whitelist' => 'AllowedAddresses']
|
33
|
+
define_rule ['Style/NestedParenthesizedCalls', 'Whitelist' => 'AllowedMethods']
|
34
|
+
define_rule ['Style/SafeNavigation', 'Whitelist' => 'AllowedMethods']
|
35
|
+
define_rule ['Style/TrivialAccessors', 'Whitelist' => 'AllowedMethods']
|
25
36
|
end
|
26
37
|
|
27
38
|
class Rewriter_0_76_0 < YAMLRewriter::Rewriter
|
data/lib/mry/version.rb
CHANGED