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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32561f1c19ab9a331fbf7a88828bae2c51e3b688235e8f8d632439c7ed4e94a6
4
- data.tar.gz: ffb1a9c65495fff2393ec0f8a3ad5550c1a469b018bc5fce2772890c1bb7167b
3
+ metadata.gz: dc23288a737431b58136458dcd511758b722f6f3939fefc617abcbd64c7e5fa6
4
+ data.tar.gz: dec4f8b93b223cc068c733f65287f02e2169ec69b90bb672b6f8a9dbe362c627
5
5
  SHA512:
6
- metadata.gz: fe622f73bfcbabf171f47123943bf8be995cbfd2725190126d377bda9b2e0b504db423706b027e8935050a06d60a4ba9e35845059b4acf9dd7652a4043c5e135
7
- data.tar.gz: 57d7310c4f3f42fa851aaa6114c38ac221ebcb330ae342a89a12d27b3a0b2c3f935e8e66aedda59bf69068202c135d2afa5f23163e4651a0feeb70678c20e5b7
6
+ metadata.gz: df8684490628860d3cd491bbb84f9d2cc9d1b6da56a68ed7f1f87d056131424db367be9ff2d6043b9e626a7ea66bbfeb9a523a32d46cfe7491c5fc0386911eef
7
+ data.tar.gz: aac88b4db49efa476fa52917cf906ce13fe6892bc9ae7e24eb8314189fcd12dba32e9a17f49869cf433785913642d44e47092c22d7433e0610ec4f87d764f141
data/config/default.yml CHANGED
@@ -4,3 +4,4 @@ Redis/NotKeys:
4
4
  Description: "Do not use `.keys`. It may ruin performance when it is executed against large databases. See https://redis.io/commands/keys/ for details."
5
5
  Enabled: true
6
6
  VersionAdded: "0.1"
7
+ Safe: false
@@ -6,7 +6,7 @@
6
6
  | Enabled by default | Safe | Supports autocorrection | Version Added | Version Changed
7
7
 
8
8
  | Enabled
9
- | Yes
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Redis
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 9sako6