rubocop-nosolosoftware 0.2.0 → 0.7.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: b41ca476ebbc24df90f844c99f14bb995deecd54dc2e29f292cdbc7904a84f12
4
- data.tar.gz: 1d039963ff9238491133bbb088bf112580bf769e7903720493e97342529b2fb4
3
+ metadata.gz: f1f256e884ae63111efa71f5c69acadd0caf7cb57d288a778824562d667c6059
4
+ data.tar.gz: b54431a2cd90b1287402bba7433c4f0a86690632192670c25247da5f60bae9fd
5
5
  SHA512:
6
- metadata.gz: ecacf4bc61f13e6ae1524bbfb0739deb4380b66e4c3b41c7b16a1bffdf7d0dacadc78f9b187e6fb60ce7f02c800a0981c641171b302a6d1fbec9b7ecfbabf8d3
7
- data.tar.gz: 6932a0373cb07819401c43501e22dee57071ab7cdfc6863fad092dda6e61baa072473ba61bffa0bcb780815e02c2e4a909eb993f6eee4bb1e8b0113e5c346292
6
+ metadata.gz: 57a5ed7a613474b8820ef364a4a7cb08eb31a8e5e56d29a08a156f02bb845b146c8183037e7673f06a463d52e894f99e3b499df8e1160d52326c6ef1daf0b794
7
+ data.tar.gz: 9d36f3fd6cfbf65090562c1684e3796957cee41209c4f0d8d4d685ec76b55dac99b286c9d6a0ed1cbaa82afdac8daac0c71683f7990b09e5a1e0d3dd12257093
@@ -5,22 +5,59 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 0.7.0 - 2020-08-03
8
9
 
9
- ## [Unreleased]
10
+ ### Added
11
+ - Added rubocop-faker as new extension
10
12
 
13
+ ### Changed
14
+ - Updated all the extensions, and configured new rules
15
+
16
+ ## 0.6.0 - 2020-07-13
17
+
18
+ ### Added
19
+ - Added new rules introduced in the last version.
20
+ - Lint/DeprecatedOpenSSLConstant (0.84)
21
+ - Lint/MixedRegexpCaptureTypes (0.85)
22
+ - Style/AccessorGrouping (0.87)
23
+ - Style/BisectedAttrAccessor (0.87)
24
+ - Style/RedundantAssignment (0.87)
25
+ - Style/RedundantFetchBlock (0.86)
26
+ - Style/RedundantRegexpCharacterClass (0.85)
27
+ - Style/RedundantRegexpEscape (0.85)
28
+ - Performance/AncestorsInclude (1.7)
29
+ - Performance/BigDecimalWithNumericArgument (1.7)
30
+ - Performance/RedundantSortBlock (1.7)
31
+ - Performance/RedundantStringChars (1.7)
32
+ - Performance/ReverseFirst (1.7)
33
+ - Performance/SortReverse (1.7)
34
+ - Performance/Squeeze (1.7)
35
+ - Performance/StringInclude (1.7)
36
+
37
+ ## 0.5.0 - 2020-07-07
38
+
39
+ ### Changed
40
+ - Actualizadas reglas
11
41
 
12
- ## [0.2.0] - 2019-12-23
42
+ ## 0.4.0 - 2020-02-26
13
43
 
14
44
  ### Changed
45
+ - Remove Style/BracesAroundHashParameters cop
15
46
 
16
- - Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
47
+ ## 0.3.0 - 2020-02-07
17
48
 
49
+ ### Changed
50
+ - Set enforced style to braces_for_chaining in Style/BlockDelimiters cop.
51
+ - Relax required versions of rubocop gems.
52
+
53
+ ## 0.2.0 - 2019-12-23
54
+
55
+ ### Changed
56
+ - Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
18
57
 
19
58
  ## [0.1.0] - 2019-12-03
20
59
 
21
60
  First version of this gem.
22
61
 
23
62
 
24
- [Unreleased]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.2.0...HEAD
25
- [0.2.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.1.0...v0.2.0
26
- [0.1.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/releases/tag/v0.1.0
63
+ This changelog was generated using [ChangeFu](https://github.com/javierav/changefu).
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 NoSoloSoftware Network S.L.
1
+ Copyright (c) 2019-2020 NoSoloSoftware Network S.L.
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
@@ -26,16 +26,16 @@ $ gem install rubocop-nosolosoftware
26
26
 
27
27
  ## Usage
28
28
 
29
- Include the following in your `.rubocop.yml`:
29
+ Include the following in your `.rubocop.yml`
30
30
 
31
- **For Ruby**
31
+ **For Ruby**:
32
32
 
33
33
  ```yaml
34
34
  inherit_gem:
35
35
  rubocop-nosolosoftware: rubocop-default.yml
36
36
  ```
37
37
 
38
- **For Rails**
38
+ **For Rails**:
39
39
 
40
40
  ```yaml
41
41
  inherit_gem:
@@ -44,7 +44,7 @@ inherit_gem:
44
44
  - rubocop-rails.yml
45
45
  ```
46
46
 
47
- **Optional Rake and Rspec rules**
47
+ **Optional Rake, Faker and Rspec rules**:
48
48
 
49
49
  ```yaml
50
50
  inherit_gem:
@@ -53,6 +53,32 @@ inherit_gem:
53
53
  - rubocop-rails.yml
54
54
  - rubocop-rake.yml
55
55
  - rubocop-rspec.yml
56
+ - rubocop-faker.yml
57
+ ```
58
+
59
+ **For Mongoid projects**:
60
+
61
+ ```yaml
62
+ inherit_gem:
63
+ rubocop-nosolosoftware:
64
+ - rubocop-default.yml
65
+ - rubocop-rails.yml
66
+ - rubocop-rake.yml
67
+ - rubocop-rspec.yml
68
+ - rubocop-faker.yml
69
+ - rubocop-mongoid.yml
70
+ ```
71
+
72
+
73
+ ### Inheritance of array attributes
74
+
75
+ Don't forget to include the following in your configuration file:
76
+
77
+ ```yaml
78
+ inherit_mode:
79
+ merge:
80
+ - Exclude
81
+ - Prefixes
56
82
  ```
57
83
 
58
84
 
@@ -72,4 +98,4 @@ be a safe, welcoming space for collaboration, and contributors are expected to a
72
98
 
73
99
  ## License
74
100
 
75
- Copyright (c) 2019 NoSoloSoftware Network S.L. - Released under [MIT](LICENSE) license
101
+ Copyright (c) 2019-2020 NoSoloSoftware Network S.L. - Released under [MIT](LICENSE) license.
@@ -1,7 +1,3 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_bundler/
3
3
  #
4
-
5
- # https://rubocop.readthedocs.io/en/latest/cops_bundler/#bundlerorderedgems
6
- Bundler/OrderedGems:
7
- Enabled: false
@@ -0,0 +1,5 @@
1
+ #
2
+ ## https://www.rubydoc.info/gems/rubocop-faker/
3
+ #
4
+
5
+ require: rubocop-faker
@@ -2,6 +2,14 @@
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_layout/
3
3
  #
4
4
 
5
+ # https://docs.rubocop.org/en/stable/cops_layout/#layoutemptylinesaroundattributeaccessor
6
+ Layout/EmptyLinesAroundAttributeAccessor:
7
+ Enabled: true
8
+
9
+ # https://docs.rubocop.org/en/stable/cops_layout/#layoutspacearoundmethodcalloperator
10
+ Layout/SpaceAroundMethodCallOperator:
11
+ Enabled: true
12
+
5
13
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutfirstarrayelementindentation
6
14
  Layout/FirstArrayElementIndentation:
7
15
  EnforcedStyle: consistent
@@ -10,6 +18,10 @@ Layout/FirstArrayElementIndentation:
10
18
  Layout/LineLength:
11
19
  Max: 100
12
20
 
21
+ # https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutmultilinemethodcallindentation
22
+ Layout/MultilineMethodCallIndentation:
23
+ EnforcedStyle: indented_relative_to_receiver
24
+
13
25
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspacearoundequalsinparameterdefault
14
26
  Layout/SpaceAroundEqualsInParameterDefault:
15
27
  EnforcedStyle: no_space
@@ -1,3 +1,23 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_lint/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintraiseexception
6
+ Lint/RaiseException:
7
+ Enabled: true
8
+
9
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintstructnewoverride
10
+ Lint/StructNewOverride:
11
+ Enabled: true
12
+
13
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedopensslconstant
14
+ Lint/DeprecatedOpenSSLConstant:
15
+ Enabled: true
16
+
17
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintmixedregexpcapturetypes
18
+ Lint/MixedRegexpCaptureTypes:
19
+ Enabled: true
20
+
21
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateelsifcondition
22
+ Lint/DuplicateElsifCondition:
23
+ Enabled: true
@@ -0,0 +1,7 @@
1
+ #
2
+ ## Rubocop cops for Mongoid projects
3
+ #
4
+
5
+ # https://docs.rubocop.org/projects/rails/en/latest/cops_rails/#railsfindeach
6
+ Rails/FindEach:
7
+ Enabled: false
@@ -3,3 +3,35 @@
3
3
  #
4
4
 
5
5
  require: rubocop-performance
6
+
7
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceancestorsinclude
8
+ Performance/AncestorsInclude:
9
+ Enabled: true
10
+
11
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancebigdecimalwithnumericargument
12
+ Performance/BigDecimalWithNumericArgument:
13
+ Enabled: false
14
+
15
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantsortblock
16
+ Performance/RedundantSortBlock:
17
+ Enabled: true
18
+
19
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantstringchars
20
+ Performance/RedundantStringChars:
21
+ Enabled: true
22
+
23
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancereversefirst
24
+ Performance/ReverseFirst:
25
+ Enabled: true
26
+
27
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesortreverse
28
+ Performance/SortReverse:
29
+ Enabled: true
30
+
31
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesqueeze
32
+ Performance/Squeeze:
33
+ Enabled: true
34
+
35
+ # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancestringinclude
36
+ Performance/StringInclude:
37
+ Enabled: true
@@ -9,33 +9,36 @@ Rails:
9
9
 
10
10
  # https://docs.rubocop.org/projects/rails/en/latest/cops_rails/#railshttpstatus
11
11
  Rails/HttpStatus:
12
- Enabled: false
12
+ EnforcedStyle: numeric
13
13
 
14
- # https://docs.rubocop.org/projects/rails/en/latest/cops_rails/#railshasandbelongstomany
15
- Rails/HasAndBelongsToMany:
16
- Enabled: false
17
-
18
- # https://docs.rubocop.org/projects/rails/en/latest/cops_rails/#railsfindby
19
- Rails/FindBy:
20
- Enabled: false
14
+ # https://rubocop-rails.readthedocs.io/en/stable/cops_rails/#railsrakeenvironment
15
+ Rails/RakeEnvironment:
16
+ Exclude:
17
+ - "**/lib/tasks/auto_annotate_models.rake"
21
18
 
22
19
  AllCops:
23
20
  Exclude:
24
- - "**/db/schema.rb"
25
21
  - "**/bin/**/*"
22
+ - "**/db/schema.rb"
23
+
24
+ # https://rubocop.readthedocs.io/en/stable/cops_layout/#layouthashalignment
25
+ Layout/HashAlignment:
26
+ Exclude:
27
+ - "**/lib/tasks/auto_annotate_models.rake"
26
28
 
27
29
  # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsblocklength
28
30
  Metrics/BlockLength:
29
31
  Exclude:
30
- - "**/spec/**/*.rb"
31
- - "**/config/routes.rb"
32
32
  - "**/config/environments/*.rb"
33
+ - "**/config/routes.rb"
34
+ - "**/lib/tasks/auto_annotate_models.rake"
35
+ - "**/spec/**/*.rb"
33
36
 
34
37
  # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmodulelength
35
38
  Metrics/ModuleLength:
36
39
  Exclude:
37
- - "**/spec/**/*.rb"
38
40
  - "**/config/routes.rb"
41
+ - "**/spec/**/*.rb"
39
42
 
40
43
  # https://www.rubocop.org/en/stable/cops_naming/#namingfilename
41
44
  Naming/FileName:
@@ -46,3 +49,51 @@ Naming/FileName:
46
49
  Style/SymbolProc:
47
50
  Exclude:
48
51
  - "**/config/**/*.rb"
52
+
53
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactiverecordcallbacksorder
54
+ Rails/ActiveRecordCallbacksOrder:
55
+ Enabled: true
56
+
57
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsfindbyid
58
+ Rails/FindById:
59
+ Enabled: true
60
+
61
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsinquiry
62
+ Rails/Inquiry:
63
+ Enabled: true
64
+
65
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsmailername
66
+ Rails/MailerName:
67
+ Enabled: true
68
+
69
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsmatchroute
70
+ Rails/MatchRoute:
71
+ Enabled: true
72
+
73
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsnegateinclude
74
+ Rails/NegateInclude:
75
+ Enabled: true
76
+
77
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railspick
78
+ Rails/Pluck:
79
+ Enabled: true
80
+
81
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railspluckinwhere
82
+ Rails/PluckInWhere:
83
+ Enabled: true
84
+
85
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrenderinline
86
+ Rails/RenderInline:
87
+ Enabled: true
88
+
89
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrenderplaintext
90
+ Rails/RenderPlainText:
91
+ Enabled: true
92
+
93
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsshorti18n
94
+ Rails/ShortI18n:
95
+ Enabled: true
96
+
97
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswhereexists
98
+ Rails/WhereExists:
99
+ Enabled: true
@@ -1 +1,6 @@
1
1
  require: rubocop-rake
2
+
3
+ # https://github.com/rubocop-hq/rubocop-rake/blob/master/lib/rubocop/cop/rake/desc.rb
4
+ Rake/Desc:
5
+ Exclude:
6
+ - "**/lib/tasks/auto_annotate_models.rake"
@@ -4,6 +4,40 @@
4
4
 
5
5
  require: rubocop-rspec
6
6
 
7
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspeccontextwording
8
+ RSpec/ContextWording:
9
+ Prefixes:
10
+ - and
11
+
12
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspecdescribeclass
13
+ RSpec/DescribeClass:
14
+ Exclude:
15
+ - "**/spec/requests/**/*.rb"
16
+ - "**/spec/system/**/*.rb"
17
+ - "**/spec/features/**/*.rb"
18
+
19
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspecexamplelength
20
+ RSpec/ExampleLength:
21
+ Exclude:
22
+ - "**/spec/requests/**/*.rb"
23
+ - "**/spec/system/**/*.rb"
24
+ - "**/spec/features/**/*.rb"
25
+
26
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspecimplicitsubject
27
+ RSpec/ImplicitSubject:
28
+ EnforcedStyle: single_statement_only
29
+
30
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspecmultipleexpectations
31
+ RSpec/MultipleExpectations:
32
+ Exclude:
33
+ - "**/spec/requests/**/*.rb"
34
+ - "**/spec/system/**/*.rb"
35
+ - "**/spec/features/**/*.rb"
36
+
37
+ # https://rubocop-rspec.readthedocs.io/en/latest/cops_rspec/#rspecnestedgroups
38
+ RSpec/NestedGroups:
39
+ Max: 5
40
+
7
41
  # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockcomments
8
42
  Style/BlockComments:
9
43
  Exclude:
@@ -6,34 +6,82 @@
6
6
  Style/AsciiComments:
7
7
  Enabled: false
8
8
 
9
- # https://rubocop.readthedocs.io/en/latest/cops_style/#stylebracesaroundhashparameters
10
- Style/BracesAroundHashParameters:
11
- EnforcedStyle: context_dependent
9
+ # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockdelimiters
10
+ Style/BlockDelimiters:
11
+ EnforcedStyle: braces_for_chaining
12
12
 
13
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styledatetime
14
- Style/DateTime:
15
- Enabled: false
16
-
17
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styledocumentation
13
+ # https://docs.rubocop.org/rubocop/cops_style.html#styledocumentation
18
14
  Style/Documentation:
19
15
  Enabled: false
20
16
 
21
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styleemptymethod
22
- Style/EmptyMethod:
23
- Enabled: false
24
-
25
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styleformatstringtoken
26
- Style/FormatStringToken:
27
- Enabled: false
17
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleexponentialnotation
18
+ Style/ExponentialNotation:
19
+ Enabled: true
28
20
 
29
- # https://rubocop.readthedocs.io/en/latest/cops_style/#stylefrozenstringliteralcomment
21
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylefrozenstringliteralcommetn
30
22
  Style/FrozenStringLiteralComment:
31
23
  Enabled: false
32
24
 
33
- # https://rubocop.readthedocs.io/en/latest/cops_style/#stylemutableconstant
34
- Style/MutableConstant:
35
- Enabled: false
25
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods
26
+ Style/HashEachMethods:
27
+ Enabled: true
28
+
29
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformkeys
30
+ Style/HashTransformKeys:
31
+ Enabled: true
32
+
33
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformvalues
34
+ Style/HashTransformValues:
35
+ Enabled: true
36
36
 
37
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styleregexpliteral
37
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
38
38
  Style/RegexpLiteral:
39
+ AllowInnerSlashes: true
40
+
41
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleslicingwithrange
42
+ Style/SlicingWithRange:
43
+ Enabled: true
44
+
45
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleaccessorgrouping
46
+ Style/AccessorGrouping:
39
47
  Enabled: false
48
+
49
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylebisectedattraccessor
50
+ Style/BisectedAttrAccessor:
51
+ Enabled: true
52
+
53
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantassignment
54
+ Style/RedundantAssignment:
55
+ Enabled: true
56
+
57
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfetchblock
58
+ Style/RedundantFetchBlock:
59
+ Enabled: true
60
+
61
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpcharacterclass
62
+ Style/RedundantRegexpCharacterClass:
63
+ Enabled: true
64
+
65
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpescape
66
+ Style/RedundantRegexpEscape:
67
+ Enabled: true
68
+
69
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylearraycoercion
70
+ Style/ArrayCoercion:
71
+ Enabled: true
72
+
73
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylecaselikeif
74
+ Style/CaseLikeIf:
75
+ Enabled: true
76
+
77
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashaslastarrayitem
78
+ Style/HashAsLastArrayItem:
79
+ Enabled: true
80
+
81
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashlikecase
82
+ Style/HashLikeCase:
83
+ Enabled: true
84
+
85
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfileextensioninrequire
86
+ Style/RedundantFileExtensionInRequire:
87
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-nosolosoftware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Aranda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-23 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,70 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.78.0
19
+ version: '0.88'
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.78.0
26
+ version: '0.88'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-faker
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rubocop-performance
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 1.5.1
47
+ version: '1.7'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 1.5.1
54
+ version: '1.7'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-rails
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: 2.4.0
61
+ version: '2.7'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: 2.4.0
68
+ version: '2.7'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop-rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.5.0
75
+ version: '0.5'
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 0.5.0
82
+ version: '0.5'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rspec
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 1.37.0
89
+ version: '1.42'
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 1.37.0
96
+ version: '1.42'
83
97
  description: ''
84
98
  email: jaranda@nosolosoftware.es
85
99
  executables: []
@@ -91,14 +105,15 @@ files:
91
105
  - CHANGELOG.md
92
106
  - LICENSE
93
107
  - README.md
94
- - lib/rubocop-nosolosoftware/version.rb
95
108
  - rubocop-all.yml
96
109
  - rubocop-bundler.yml
97
110
  - rubocop-default.yml
111
+ - rubocop-faker.yml
98
112
  - rubocop-gemspec.yml
99
113
  - rubocop-layout.yml
100
114
  - rubocop-lint.yml
101
115
  - rubocop-metrics.yml
116
+ - rubocop-mongoid.yml
102
117
  - rubocop-naming.yml
103
118
  - rubocop-performance.yml
104
119
  - rubocop-rails.yml
@@ -110,8 +125,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
110
125
  licenses:
111
126
  - MIT
112
127
  metadata:
113
- source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.2.0
114
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.2.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.7.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.7.0/CHANGELOG.md
115
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
116
131
  post_install_message:
117
132
  rdoc_options:
@@ -129,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
144
  - !ruby/object:Gem::Version
130
145
  version: '0'
131
146
  requirements: []
132
- rubygems_version: 3.0.3
147
+ rubygems_version: 3.1.2
133
148
  signing_key:
134
149
  specification_version: 4
135
150
  summary: Default Rubocop configuration used in NoSoloSoftware developments
@@ -1,22 +0,0 @@
1
- module RubocopNoSoloSoftware
2
- module VERSION
3
- MAJOR = 0
4
- MINOR = 2
5
- TINY = 0
6
- PRE = nil
7
-
8
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
- end
10
-
11
- def self.version
12
- VERSION::STRING
13
- end
14
-
15
- def self.gem_version
16
- Gem::Version.new VERSION::STRING
17
- end
18
-
19
- def self.required_ruby_version
20
- Gem::Requirement.new('>= 2.5.0')
21
- end
22
- end