rubocop-mdsol 0.1.0 → 0.2.0

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: 8460e737707e0774510b19a9972b0ffe8fe7698f82bc7a07ac0c35df5a05acd0
4
- data.tar.gz: 25be958b7838b8a76fb61379fefd301cdf0993e734bac5a75f5a7cb898bad833
3
+ metadata.gz: 92834a11847f8ca55b8c2f90149fce6a66bf68ab3786a4d9b4f85b3230ccd63f
4
+ data.tar.gz: 602685a360aad1801893619d31b192094530807727545d876c0365c78e6a52d5
5
5
  SHA512:
6
- metadata.gz: 4175171350960c3c53de590ce613c5e97f6f26b34097ca6029208ecc77db16cdf48cdcab68440222f9c792c42b022a1dd8e08fda58ed2a7d37d64c5a46e2ae52
7
- data.tar.gz: d687527049f0a16fd2b608980900d1770f69a2b6615406443411cba0b9fdc103ec6e682e55d7a84f100ec512119e1cab625a4b9064b7f8063001f62a19ff8a18
6
+ metadata.gz: 20b149d79d773a80530631cf32e9b1e42eb39dbc65cea2ef3e43cb6695effedb1e187a94d6df0e8e81c75d754c022240cd4c58cd68ab23dacf1da08ff49b1b28
7
+ data.tar.gz: d5d84bfd222b879e17c71a8557b4e8b3f75921d33215138555f2d74fae4068c143daec2ed2449529263920ab49caeb5a03535d9994d77a425cb758a25e6a16df
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ # 0.2.0
2
+ - Add rubocop-rspec.yml.
3
+
1
4
  # 0.1.0
2
5
  - Initial release.
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2020 Medidata Solutions Worldwide
1
+ Copyright (c) 2012-2022 Medidata Solutions Worldwide
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -39,12 +39,27 @@ inherit_gem:
39
39
  Plain ruby projects only need to inherit from the base configuration file:
40
40
 
41
41
  ```yaml
42
- inherit_from:
42
+ inherit_gem:
43
43
  rubocop-mdsol: rubocop.yml
44
44
 
45
45
  # your customizations here...
46
46
  ```
47
47
 
48
+ ### RSpec
49
+
50
+ To lint RSpec files, add the [rubocop-rpec](https://rubygems.org/gems/rubocop-rspec) gem to your Gemfile and in your RuboCop configuration require it alongside the RSpec-specific yaml file:
51
+
52
+ ```yaml
53
+ require: rubocop-rspec
54
+
55
+ inherit_gem:
56
+ rubocop-mdsol:
57
+ - rubocop.yml
58
+ - rubocop-rspec.yml
59
+
60
+ # your customizations here...
61
+ ```
62
+
48
63
 
49
64
  ## Recommended customizations
50
65
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubocop-mdsol"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.2.0"
6
6
  spec.authors = ["Team Æ", "Team 10"]
7
7
  spec.email = ["ae@mdsol.com", "team10@mdsol.com"]
8
8
  spec.license = "MIT"
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  "README.md",
20
20
  "rubocop-mdsol.gemspec",
21
21
  "rubocop-rails.yml",
22
+ "rubocop-rspec.yml",
22
23
  "rubocop.yml"
23
24
  ]
24
25
 
data/rubocop-rspec.yml ADDED
@@ -0,0 +1,41 @@
1
+ RSpec:
2
+ Enabled: true
3
+
4
+ RSpec/AnyInstance:
5
+ Enabled: false
6
+
7
+ RSpec/DescribeClass:
8
+ Enabled: false
9
+
10
+ RSpec/DescribedClass:
11
+ Enabled: false
12
+
13
+ RSpec/ExampleLength:
14
+ Enabled: false
15
+
16
+ RSpec/ExpectInHook:
17
+ Enabled: false
18
+
19
+ RSpec/LetSetup:
20
+ Enabled: false
21
+
22
+ RSpec/MessageChain:
23
+ Enabled: false
24
+
25
+ RSpec/MessageSpies:
26
+ Enabled: false
27
+
28
+ RSpec/MultipleExpectations:
29
+ Enabled: false
30
+
31
+ RSpec/MultipleMemoizedHelpers:
32
+ Enabled: false
33
+
34
+ RSpec/NamedSubject:
35
+ Enabled: false
36
+
37
+ RSpec/NestedGroups:
38
+ Enabled: false
39
+
40
+ RSpec/VerifiedDoubles:
41
+ Enabled: false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-mdsol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Æ
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-06 00:00:00.000000000 Z
12
+ date: 2022-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -38,6 +38,7 @@ files:
38
38
  - README.md
39
39
  - rubocop-mdsol.gemspec
40
40
  - rubocop-rails.yml
41
+ - rubocop-rspec.yml
41
42
  - rubocop.yml
42
43
  homepage:
43
44
  licenses: