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 +4 -4
- data/README.md +7 -6
- data/lib/rubocop/obsession/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea07a822228dc1870028109392546cccbf654593eb89157fa80abc740352e147
|
4
|
+
data.tar.gz: 8bea104f48fc439020647ebc4977f6d0976e38b8fb94e694c85f32ab42ab5fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
4
|
-
higher-level
|
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
|
72
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2024-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|