rubocop-redis 0.1.4 → 0.1.5
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 +1 -0
- data/docs/modules/ROOT/pages/cops_redis.adoc +2 -2
- data/lib/rubocop/redis/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: dc23288a737431b58136458dcd511758b722f6f3939fefc617abcbd64c7e5fa6
|
4
|
+
data.tar.gz: dec4f8b93b223cc068c733f65287f02e2169ec69b90bb672b6f8a9dbe362c627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df8684490628860d3cd491bbb84f9d2cc9d1b6da56a68ed7f1f87d056131424db367be9ff2d6043b9e626a7ea66bbfeb9a523a32d46cfe7491c5fc0386911eef
|
7
|
+
data.tar.gz: aac88b4db49efa476fa52917cf906ce13fe6892bc9ae7e24eb8314189fcd12dba32e9a17f49869cf433785913642d44e47092c22d7433e0610ec4f87d764f141
|
data/config/default.yml
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
| Enabled by default | Safe | Supports autocorrection | Version Added | Version Changed
|
7
7
|
|
8
8
|
| Enabled
|
9
|
-
|
|
9
|
+
| No
|
10
10
|
| No
|
11
11
|
| 0.1
|
12
12
|
| -
|
@@ -16,7 +16,7 @@ This cop detects the use of `KEYS` query that should be noted when used in a pro
|
|
16
16
|
Consider using `SCAN` query instead of `KEYS` query.
|
17
17
|
See https://redis.io/commands/keys/ for details.
|
18
18
|
|
19
|
-
To avoid detecting `Hash#keys` calling, this cop adds an offense if a receiver of `keys` method is named `redis`.
|
19
|
+
To avoid detecting `Hash#keys` calling, this cop adds an offense only if a receiver of `keys` method is named `redis`.
|
20
20
|
|
21
21
|
=== Examples
|
22
22
|
|