smokeclouds-rubocop 0.1.0 → 0.1.1

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: 1f11604e8e52be0a1014fc8c8a2704e9f796a96471d400973e5a16976f22989f
4
- data.tar.gz: a1601c73a5edc7244999e57dbd4b9c7f06afe3168c59e0dbdbb516e35188085c
3
+ metadata.gz: 7dbebaaa4f111a82c14fc885ede7f7a218e613359e3f70961b80f02bf8a1581e
4
+ data.tar.gz: b19f44240f583a4a05fc70c88dbd3a567cd4bac12bf42c37e2dc0fc5e16e1b29
5
5
  SHA512:
6
- metadata.gz: 4dd0b4d4cbf1c1fdaf72c002adf957adee250e5e6be6ba0ae6e708fc9f450907a3b34fee4f6267aa20b06d4656e3751edce51dbe1633ff7040b0bf72d73a0fca
7
- data.tar.gz: 5ade58901d9b79a5ba6ed10e34e5b217eb8d81b69bfb54b9c52c903cf4ecb2a0822bbb2694b7698db911dee85ab0ebc49abcc6028a39b7f6493924b19dfbdef9
6
+ metadata.gz: 305fda0253c07682ea6060680aa0d44e4e5c471ae2c959960dc13cf0e2287d097ed1a170bdb02e29797f4ef9905555cb556c54ee2970cca1d133c0f01e274327
7
+ data.tar.gz: 4ef891e684632b3cb55125d126d020dbec552fb9546a711a78fb7e912c498417475468f7ea127870efbd8b8db97738a6e79fc23063ea6db54e1fd01c29a4b270
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.1] - 2021-04-06
4
+
5
+ - tweaks to rspec cops to reduce some of the unclear noise
6
+
3
7
  ## [0.1.0] - 2021-03-31
4
8
 
5
9
  - Initial release
data/config/rspec.yml CHANGED
@@ -14,3 +14,27 @@ RSpec/NotToNot:
14
14
  RSpec/AlignLeftLetBrace:
15
15
  Enabled: true
16
16
 
17
+ # ideally, we have fewer expectations per spec. But sometimes
18
+ # it's reasonable to test a couple different views on an object.
19
+ RSpec/MultipleExpectations:
20
+ Max: 2
21
+
22
+ # with all the setup and establishing code, it's not unsual for
23
+ # an example to be a bit longer than an average method.
24
+ RSpec/ExampleLength:
25
+ Max: 20
26
+
27
+ # many rails apps require a large number of objects to setup the
28
+ # stall before a test can run. this ups the helper count to something
29
+ # reasonable.
30
+ RSpec/MultipleMemoizedHelpers:
31
+ Max: 10
32
+
33
+ # This cop asserts that let! used in setup stages is bad, because often
34
+ # there are many many uses of let! which are unnecessary.
35
+ # But the thing is, with rails apps, it's almost always required to
36
+ # bring along some establishing objects... let! is a reasonable best
37
+ # practice to do this today.
38
+ # more: https://github.com/rubocop/rubocop-rspec/issues/94
39
+ RSpec/LetSetup:
40
+ enabled: false
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Smokeclouds
4
4
  module Rubocop
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smokeclouds-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Cox
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop