rubocop 0.41.0 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubocop might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0791b6d45f757c5aa7d753a3da95ad6edb4c3f81
4
- data.tar.gz: 319febb8012ffb45dbec46c4007ad1eeb8da212d
3
+ metadata.gz: 86879d377fb20fd602a7bd74846127dabff3eaff
4
+ data.tar.gz: 667de06f4b8796dcdc48bd8c84da7687df8c7503
5
5
  SHA512:
6
- metadata.gz: adb956749fb18f0704476657494d7a65567946ae0dfa8eaf3d978f117203bbcc903e8a63c68eccbb4edfe79fbee9994306e38f35cd239495830f8845b3a9cd0e
7
- data.tar.gz: c707072a7b5ab71dc4b753221ae456a8157dbf18d746740a857a8251ce2ca557183d39885ac7f88198b051f6498d82d8639e8dcd6e878f8a120d6c7cfa53000e
6
+ metadata.gz: 9286cdc9b1842a27df0a884ab5c7e33b6e7162fa29507d810ba7c27b1f4fadc960c3502a64b0855726e0ab664fb5d36a4c685eac11c9286bd597e9aac9aaebca
7
+ data.tar.gz: cb042872468b5309744a002bc052d2601c344efd1773265d0b463a00c7b5e3931aa4ac85daf974104b81ac8e9877bf436cf08fd554bae331f25b82b308241a96
data/README.md CHANGED
@@ -51,7 +51,7 @@ haven't reached version 1.0 yet). To prevent an unwanted RuboCop update you
51
51
  might want to use a conservative version locking in your `Gemfile`:
52
52
 
53
53
  ```rb
54
- gem 'rubocop', '~> 0.41.0', require: false
54
+ gem 'rubocop', '~> 0.41.1', require: false
55
55
  ```
56
56
 
57
57
  ## Quickstart
@@ -1226,7 +1226,7 @@ Rails/TimeZone:
1226
1226
  - flexible
1227
1227
 
1228
1228
  Rails/UniqBeforePluck:
1229
- EnforcementMode: conservative
1229
+ EnforcedMode: conservative
1230
1230
  SupportedModes:
1231
1231
  - conservative
1232
1232
  - aggressive
@@ -16,11 +16,11 @@ module RuboCop
16
16
  # # good
17
17
  # Model.uniq.pluck(:id)
18
18
  #
19
- # This cop has two different enforcement modes. When the EnforcementMode
19
+ # This cop has two different enforcement modes. When the EnforcedMode
20
20
  # is conservative (the default) then only calls to pluck on a constant
21
21
  # (i.e. a model class) before uniq are added as offenses.
22
22
  #
23
- # When the EnforcementMode is aggressive then all calls to pluck before
23
+ # When the EnforcedMode is aggressive then all calls to pluck before
24
24
  # uniq are added as offenses. This may lead to false positives as the cop
25
25
  # cannot distinguish between calls to pluck on an ActiveRecord::Relation
26
26
  # vs a call to pluck on an ActiveRecord::Associations::CollectionProxy.
@@ -4,7 +4,7 @@
4
4
  module RuboCop
5
5
  # This module holds the RuboCop version information.
6
6
  module Version
7
- STRING = '0.41.0'.freeze
7
+ STRING = '0.41.1'.freeze
8
8
 
9
9
  MSG = '%s (using Parser %s, running on %s %s %s)'.freeze
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.41.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-06-25 00:00:00.000000000 Z
13
+ date: 2016-06-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rainbow