rubocop-obsession 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea07a822228dc1870028109392546cccbf654593eb89157fa80abc740352e147
4
- data.tar.gz: 8bea104f48fc439020647ebc4977f6d0976e38b8fb94e694c85f32ab42ab5fc6
3
+ metadata.gz: 47b14b8bd67398fccc5f92ba6e3e5b30bd76a47ec28a38694183cac973de17e4
4
+ data.tar.gz: bc60b8d77b8a2353abf4d0d3025161b5c581405507ecbe946f6401e9e3665951
5
5
  SHA512:
6
- metadata.gz: 4f36ed167869d3721b235ffd3b3409edcba01bf831e392b1a0101116bd7335b50169e27706360f98234f35fde716c71f86aae49516f1a9aaa28a2c64442e77df
7
- data.tar.gz: 5c2b64a0069763a6e073af41b784b4c3f0d08a79117d3045d96065c0eed4c4fd2e235de61a57877cd37401e2aeb03d0d7ac49619d0835a91103d85831b27be22
6
+ metadata.gz: db8e7698d91d0ab2ef5cb95236164ac2bb0dc754944082c3705d88d87cf99ed1d8bb620cefba7e7817dcfc622d951aca9ee38be76fec566d7a6644a9a1bed111
7
+ data.tar.gz: 744cc5411803bdf92075645b9aa53d50133078f8491c0edc6bbade699805141b72297b1acabc85ed5321a1cc70a86282d5458bd5eb7df0483174211f153f7250
@@ -3,7 +3,8 @@
3
3
  module RuboCop
4
4
  module Cop
5
5
  module Obsession
6
- # This cop checks for private/protected methods that are not ordered correctly.
6
+ # This cop checks for private/protected methods that are not ordered
7
+ # correctly. It supports autocorrect.
7
8
  #
8
9
  # Code should read from top to bottom: methods should be defined in the
9
10
  # same order as the order when they are first mentioned.
@@ -8,12 +8,12 @@ module RuboCop
8
8
  # defaults or comments.
9
9
  #
10
10
  # - json(b) fields should have a default value like {} or [] so code can
11
- # do my_field['field'] or my_field.first without fear that my_field is
12
- # nil.
11
+ # do my_field['field'] or my_field.first without fear that my_field is
12
+ # nil.
13
13
  # - It is impossible to know the structure of a json(b) field just by
14
- # reading the schema, because json(b) is an unstructured type. That's why
15
- # an "Example: ..." Postgres comment should always be present when
16
- # defining the field.
14
+ # reading the schema, because json(b) is an unstructured type. That's why
15
+ # an "Example: ..." Postgres comment should always be present when
16
+ # defining the field.
17
17
  #
18
18
  # @example
19
19
  #
@@ -1,5 +1,5 @@
1
1
  module Rubocop
2
2
  module Obsession
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-obsession
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Dalbert