rubocop-obsession 0.1.2 → 0.1.3

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: bd3523798bbc346eb15f1b58b80bcf78e37dd8943f17eaa45064f69a0d5cdc65
4
- data.tar.gz: 861a5ca15e7ad4b1f737367faad91a56922b3ae9bdfe7ca562455c2320ef9b63
3
+ metadata.gz: ea07a822228dc1870028109392546cccbf654593eb89157fa80abc740352e147
4
+ data.tar.gz: 8bea104f48fc439020647ebc4977f6d0976e38b8fb94e694c85f32ab42ab5fc6
5
5
  SHA512:
6
- metadata.gz: ee149bc3433c82b163c49d336e8dd85dbd8b042ea6c2338c2f73b4921afad79fa6c020341c0ecffdb58e753ca8edc5db2e79ccea5505bbe584097b685f74ab12
7
- data.tar.gz: b5e1be57e0fa807b0252534b2be4c29a0883d3145555432580049409173981b48ef54cafac86b0bd8b6a3d9abeeff10d16706621b02c77801498cf530270e79a
6
+ metadata.gz: 4f36ed167869d3721b235ffd3b3409edcba01bf831e392b1a0101116bd7335b50169e27706360f98234f35fde716c71f86aae49516f1a9aaa28a2c64442e77df
7
+ data.tar.gz: 5c2b64a0069763a6e073af41b784b4c3f0d08a79117d3045d96065c0eed4c4fd2e235de61a57877cd37401e2aeb03d0d7ac49619d0835a91103d85831b27be22
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Rubocop Obsession
2
2
 
3
- A [RuboCop](https://github.com/rubocop/rubocop) extension that enforces
4
- higher-level code concepts, like checking that code reads from
3
+ A [RuboCop](https://github.com/rubocop/rubocop) extension that focuses on
4
+ higher-level concepts, like checking that code reads from
5
5
  [top to bottom](lib/rubocop/cop/obsession/method_order.rb), or only unit
6
6
  testing [public methods](lib/rubocop/cop/obsession/rspec/describe_public_method.rb).
7
+ There are some lower-level cops as well.
7
8
 
8
9
  Use the provided cops as is, or as inspiration to build custom cops aligned
9
10
  with your project's best practices.
@@ -66,11 +67,11 @@ end
66
67
 
67
68
  All cops are located under
68
69
  [`lib/rubocop/cop/obsession`](lib/rubocop/cop/obsession), and contain examples
69
- and documentation.
70
+ and documentation. Their default configuration is defined in
71
+ [`config/default.yml`](config/default.yml).
70
72
 
71
- These cops are opinionated and can often feel like too much, that is why some
72
- of them are disabled by default. They should not be treated as gospel, so do
73
- not hesitate to enable or disable them as needed.
73
+ These cops are opinionated and can feel like too much, that is why some of them
74
+ are disabled by default. Do not hesitate to enable or disable them as needed.
74
75
 
75
76
  I wrote them to scratch an itch I had at one point or another. Tastes change
76
77
  with time, and I personally do not use some of them any more, but others might
@@ -1,5 +1,5 @@
1
1
  module Rubocop
2
2
  module Obsession
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-obsession
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Dalbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-26 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport