betterlint 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/default.yml +5 -0
- data/lib/rubocop/cop/betterment/internals_protection.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ae9168d5c43a437fe26c6b413ef1715c62f357dd6f7ff84cb0ee899029d6c89
|
|
4
|
+
data.tar.gz: 476ea6908ac443fc0433c798cdba841d4aee0f123db3244212a6d935fefefb00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24a3717010784d06dbf2bc2768f58db63a8d2013889b1691d00859ee81173fac8827da3a3c44282c337cae0893b0a2984e03a517c024c1e9f180ecc6fc3890bb
|
|
7
|
+
data.tar.gz: 78f3f97c2ff547aad69e82d7b8d7f78c1dd076de06475b5f60bb1127a646d7fcd303dfdfa1834877297b8489a56ed071cddfa8c36dcae0c388588d6f9c260180
|
data/config/default.yml
CHANGED
|
@@ -44,6 +44,11 @@ Betterment/HardcodedID:
|
|
|
44
44
|
SafeAutoCorrect: false
|
|
45
45
|
StyleGuide: '#bettermenthardcodedid'
|
|
46
46
|
|
|
47
|
+
Betterment/InternalsProtection:
|
|
48
|
+
Description: Detects invalid references to Internals modules
|
|
49
|
+
StyleGuide: '#bettermentinternalsprotection'
|
|
50
|
+
Enabled: false
|
|
51
|
+
|
|
47
52
|
Betterment/NonStandardActions:
|
|
48
53
|
AdditionalAllowedActions: []
|
|
49
54
|
Description: Detects non-standard controller actions.
|
|
@@ -18,7 +18,7 @@ module RuboCop
|
|
|
18
18
|
|
|
19
19
|
# @!method rspec_describe(node)
|
|
20
20
|
def_node_matcher :rspec_describe, <<-PATTERN
|
|
21
|
-
(block (send (const nil? :RSpec) :describe ${const | str}) ...)
|
|
21
|
+
(block (send (const nil? :RSpec) :describe ${const | str} ...) ...)
|
|
22
22
|
PATTERN
|
|
23
23
|
|
|
24
24
|
def on_const(node)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: betterlint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.15.
|
|
4
|
+
version: 1.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Development
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-11-
|
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -134,10 +134,10 @@ licenses:
|
|
|
134
134
|
- MIT
|
|
135
135
|
metadata:
|
|
136
136
|
homepage_uri: https://github.com/Betterment/betterlint
|
|
137
|
-
source_code_uri: https://github.com/Betterment/betterlint/tree/v1.15.
|
|
138
|
-
changelog_uri: https://github.com/Betterment/betterlint/blob/v1.15.
|
|
137
|
+
source_code_uri: https://github.com/Betterment/betterlint/tree/v1.15.1
|
|
138
|
+
changelog_uri: https://github.com/Betterment/betterlint/blob/v1.15.1/CHANGELOG.md
|
|
139
139
|
bug_tracker_uri: https://github.com/Betterment/betterlint/issues
|
|
140
|
-
documentation_uri: https://www.rubydoc.info/gems/betterlint/1.15.
|
|
140
|
+
documentation_uri: https://www.rubydoc.info/gems/betterlint/1.15.1
|
|
141
141
|
rubygems_mfa_required: 'true'
|
|
142
142
|
post_install_message:
|
|
143
143
|
rdoc_options: []
|