smokeclouds-rubocop 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/config/rspec.yml +24 -0
- data/lib/smokeclouds/rubocop/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: 7dbebaaa4f111a82c14fc885ede7f7a218e613359e3f70961b80f02bf8a1581e
|
4
|
+
data.tar.gz: b19f44240f583a4a05fc70c88dbd3a567cd4bac12bf42c37e2dc0fc5e16e1b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 305fda0253c07682ea6060680aa0d44e4e5c471ae2c959960dc13cf0e2287d097ed1a170bdb02e29797f4ef9905555cb556c54ee2970cca1d133c0f01e274327
|
7
|
+
data.tar.gz: 4ef891e684632b3cb55125d126d020dbec552fb9546a711a78fb7e912c498417475468f7ea127870efbd8b8db97738a6e79fc23063ea6db54e1fd01c29a4b270
|
data/CHANGELOG.md
CHANGED
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
|
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.
|
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-
|
11
|
+
date: 2021-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|