arcadia_cops 2.1.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config/config.yml +4 -0
  3. data/config/enabled.yml +53 -0
  4. metadata +19 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1614099aa0df15348805de8917fb86fcaf67ef31556eb7038f72e9f4596c411
4
- data.tar.gz: 628d69cdfea2abefecb780d3fb697090eed548b9c71608d5cf151958aa07179d
3
+ metadata.gz: 8797d8fbae103e45e4c6e58e75de4e1486797d125b542a507c7ee8395bc65cac
4
+ data.tar.gz: a9639c33eb35f826cfb6254b4fd2a043ff573ff4997af388db5096e0430591d4
5
5
  SHA512:
6
- metadata.gz: ab01756fc9dd392ad4efbe78c28a4deb2be36acd6676ddc0c19b734a79dd646ff581d3b9349e85b119a0891febfbc385331a9961499e9bb4505c11d529eeb445
7
- data.tar.gz: 931facb6d8269291a3650e3241bc699d75b83acc7e1285880768ef87b301ab88202e37b1826f77777677265c84aa7ff704dd26ec0a92a118aa428cbdf0e65a61
6
+ metadata.gz: 4b239bc9ed714fa92082851bb50e6774a793c43da187daea914bddb336cbfd75697d6d35eca35a7059c61eb3dbda12b9932507d1de6d8f8fb981f405f2de237c
7
+ data.tar.gz: a54bed52fe1f8dbcb263fdc972d9240e5f485a7566e2146ae64b7389003b16d3933b86c1b63dee2388f54a22409b4f8a414ee2fea3cf90cab6fd92c4f50d80a6
@@ -1,10 +1,14 @@
1
1
  # This is the default configuration file. Enabling and disabling is configured
2
2
  # in separate files. This file adds all other parameters apart from Enabled.
3
3
 
4
+ require: rubocop-rspec
5
+
4
6
  # Common configuration.
5
7
  AllCops:
6
8
  # Include common Ruby source files.
7
9
  Include:
10
+ - '**/*.rb'
11
+ - '**/*.rake'
8
12
  - '**/*.gemspec'
9
13
  - '**/*.rake'
10
14
  - '**/config.ru'
@@ -618,3 +618,56 @@ Style/TrailingMethodEndStatement:
618
618
 
619
619
  Style/TrailingBodyOnModule:
620
620
  Description: Module body goes below module statement.
621
+
622
+ # RSpec
623
+
624
+ FactoryBot/AttributeDefinedStatically:
625
+ Description: Always declare attribute values as blocks.
626
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically
627
+
628
+ RSpec/AroundBlock:
629
+ Description: Checks that around blocks actually run the test.
630
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/AroundBlock
631
+
632
+ RSpec/Be:
633
+ Description: Check for expectations where `be` is used without argument.
634
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Be
635
+
636
+ RSpec/DescribeSymbol:
637
+ Description: Avoid describing symbols.
638
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeSymbol
639
+
640
+ RSpec/ExampleWithoutDescription:
641
+ Description: Checks for examples without a description.
642
+ EnforcedStyle: always_allow
643
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWithoutDescription
644
+
645
+ RSpec/ImplicitExpect:
646
+ Description: Check that a consistent implicit expectation style is used.
647
+ EnforcedStyle: is_expected
648
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect
649
+
650
+ RSpec/InvalidPredicateMatcher:
651
+ Description: Checks invalid usage for predicate matcher.
652
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InvalidPredicateMatcher
653
+
654
+ RSpec/IteratedExpectation:
655
+ Description: Check that `all` matcher is used instead of iterating over an array.
656
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IteratedExpectation
657
+
658
+ RSpec/MultipleDescribes:
659
+ Description: Checks for multiple top level describes.
660
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleDescribes
661
+
662
+ RSpec/MultipleSubjects:
663
+ Description: Checks if an example group defines `subject` multiple times.
664
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleSubjects
665
+
666
+ RSpec/RepeatedExample:
667
+ Description: Check for repeated examples within example groups.
668
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedExample
669
+
670
+ RSpec/OverwritingSetup:
671
+ Description: Checks if there is a let/subject that overwrites an existing one.
672
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/OverwritingSetup
673
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arcadia_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - justin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-19 00:00:00.000000000 Z
11
+ date: 2018-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.53.0
19
+ version: 0.59.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.53.0
26
+ version: 0.59.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: '1.29'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: '1.29'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
96
  version: '0'
83
97
  requirements: []
84
98
  rubyforge_project:
85
- rubygems_version: 2.7.7
99
+ rubygems_version: 2.7.6
86
100
  signing_key:
87
101
  specification_version: 4
88
102
  summary: Arcadia Power Style Cops