rubocop-nosolosoftware 0.1.0 → 0.6.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: a61c152b479d508b2373acd221dab0683938ba1a1e872bd008c5dd956a838688
4
- data.tar.gz: 5a9f041171d20215d43d53a49925a4ccaed5c69fc9af3af6f3817c9a32822d95
3
+ metadata.gz: fb5d898222cca337d8a3119aec6ba9cc18f176c6f74833307192e21426cb5b8e
4
+ data.tar.gz: 68c73a006a6ec77afccb43d997bba6074b06f801b85b213a47932aaeb217751c
5
5
  SHA512:
6
- metadata.gz: 238b58095cc0ed0acb55597d01edf4197a264ca0a372fdc90bf65b3a6a11dbca5d0d32928ee5a26f8b164d7d6540836d168cc55498f6b69b08c586930109bb4d
7
- data.tar.gz: 8a7333d4eaba7f2bdd972187fd858147fdc9186182b9564d96ead26b710ddb341105d7c96e8a550de5ce45888be2fa30d6545a30b03be9d2030e2b450104e527
6
+ metadata.gz: 9efcc57f05e8918e961190a1953500880ef59927698aec9f4c9fe5c9ef949e70b71c5646fbf80a20ea9982a18d4d38339336599eb4a7a4e1fab9d6fcee0ea821
7
+ data.tar.gz: f1bec6ecc3b4a1ee3d3811b9826fae7b874f7f16520572c50b9dcbc5f906bbeeaf40dd40daa4bf328188717b112de610591db7021c5b50add46c14d5d5c474f7
@@ -5,14 +5,51 @@ 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.6.0 - 2020-07-13
8
9
 
9
- ## [Unreleased]
10
+ ### Added
11
+ - Added new rules introduced in the last version.
12
+ - Lint/DeprecatedOpenSSLConstant (0.84)
13
+ - Lint/MixedRegexpCaptureTypes (0.85)
14
+ - Style/AccessorGrouping (0.87)
15
+ - Style/BisectedAttrAccessor (0.87)
16
+ - Style/RedundantAssignment (0.87)
17
+ - Style/RedundantFetchBlock (0.86)
18
+ - Style/RedundantRegexpCharacterClass (0.85)
19
+ - Style/RedundantRegexpEscape (0.85)
20
+ - Performance/AncestorsInclude (1.7)
21
+ - Performance/BigDecimalWithNumericArgument (1.7)
22
+ - Performance/RedundantSortBlock (1.7)
23
+ - Performance/RedundantStringChars (1.7)
24
+ - Performance/ReverseFirst (1.7)
25
+ - Performance/SortReverse (1.7)
26
+ - Performance/Squeeze (1.7)
27
+ - Performance/StringInclude (1.7)
10
28
 
29
+ ## 0.5.0 - 2020-07-07
30
+
31
+ ### Changed
32
+ - Actualizadas reglas
33
+
34
+ ## 0.4.0 - 2020-02-26
35
+
36
+ ### Changed
37
+ - Remove Style/BracesAroundHashParameters cop
38
+
39
+ ## 0.3.0 - 2020-02-07
40
+
41
+ ### Changed
42
+ - Set enforced style to braces_for_chaining in Style/BlockDelimiters cop.
43
+ - Relax required versions of rubocop gems.
44
+
45
+ ## 0.2.0 - 2019-12-23
46
+
47
+ ### Changed
48
+ - Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
11
49
 
12
50
  ## [0.1.0] - 2019-12-03
13
51
 
14
52
  First version of this gem.
15
53
 
16
54
 
17
- [Unreleased]: https://github.com/nosolosoftware/rubocop-nosolosoftware/compare/v0.1.0...HEAD
18
- [0.1.0]: https://github.com/nosolosoftware/rubocop-nosolosoftware/releases/tag/v0.1.0
55
+ 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 and Rspec rules**:
48
48
 
49
49
  ```yaml
50
50
  inherit_gem:
@@ -55,6 +55,30 @@ inherit_gem:
55
55
  - rubocop-rspec.yml
56
56
  ```
57
57
 
58
+ **For Mongoid projects**:
59
+
60
+ ```yaml
61
+ inherit_gem:
62
+ rubocop-nosolosoftware:
63
+ - rubocop-default.yml
64
+ - rubocop-rails.yml
65
+ - rubocop-rake.yml
66
+ - rubocop-rspec.yml
67
+ - rubocop-mongoid.yml
68
+ ```
69
+
70
+
71
+ ### Inheritance of array attributes
72
+
73
+ Don't forget to include the following in your configuration file:
74
+
75
+ ```yaml
76
+ inherit_mode:
77
+ merge:
78
+ - Exclude
79
+ - Prefixes
80
+ ```
81
+
58
82
 
59
83
  ## Contributing
60
84
 
@@ -72,4 +96,4 @@ be a safe, welcoming space for collaboration, and contributors are expected to a
72
96
 
73
97
  ## License
74
98
 
75
- Copyright (c) 2019 NoSoloSoftware Network S.L. - Released under [MIT](LICENSE) license
99
+ 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
@@ -2,10 +2,26 @@
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
8
16
 
17
+ # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutlinelength
18
+ Layout/LineLength:
19
+ Max: 100
20
+
21
+ # https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutmultilinemethodcallindentation
22
+ Layout/MultilineMethodCallIndentation:
23
+ EnforcedStyle: indented_relative_to_receiver
24
+
9
25
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspacearoundequalsinparameterdefault
10
26
  Layout/SpaceAroundEqualsInParameterDefault:
11
27
  EnforcedStyle: no_space
@@ -1,3 +1,19 @@
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
@@ -10,10 +10,6 @@ Metrics/AbcSize:
10
10
  Metrics/ClassLength:
11
11
  Enabled: false
12
12
 
13
- # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricslinelength
14
- Metrics/LineLength:
15
- Max: 100
16
-
17
13
  # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmethodlength
18
14
  Metrics/MethodLength:
19
15
  Enabled: false
@@ -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,41 @@ 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"
42
+
43
+ # https://www.rubocop.org/en/stable/cops_naming/#namingfilename
44
+ Naming/FileName:
45
+ Exclude:
46
+ - "**/Envfile"
39
47
 
40
48
  # https://rubocop.readthedocs.io/en/latest/cops_style/#stylesymbolproc
41
49
  Style/SymbolProc:
@@ -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,62 @@
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
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.1.0
4
+ version: 0.6.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-03 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.77.0
19
+ version: '0.83'
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.77.0
26
+ version: '0.83'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.1
33
+ version: '1.5'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.1
40
+ version: '1.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.4.0
47
+ version: '2.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.4.0
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.5.0
61
+ version: '0.5'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.5.0
68
+ version: '0.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.37.0
75
+ version: '1.39'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.37.0
82
+ version: '1.39'
83
83
  description: ''
84
84
  email: jaranda@nosolosoftware.es
85
85
  executables: []
@@ -91,7 +91,6 @@ files:
91
91
  - CHANGELOG.md
92
92
  - LICENSE
93
93
  - README.md
94
- - lib/rubocop-nosolosoftware/version.rb
95
94
  - rubocop-all.yml
96
95
  - rubocop-bundler.yml
97
96
  - rubocop-default.yml
@@ -99,6 +98,7 @@ files:
99
98
  - rubocop-layout.yml
100
99
  - rubocop-lint.yml
101
100
  - rubocop-metrics.yml
101
+ - rubocop-mongoid.yml
102
102
  - rubocop-naming.yml
103
103
  - rubocop-performance.yml
104
104
  - rubocop-rails.yml
@@ -110,8 +110,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
110
110
  licenses:
111
111
  - MIT
112
112
  metadata:
113
- source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.1.0
114
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.1.0/CHANGELOG.md
113
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.6.0
114
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.6.0/CHANGELOG.md
115
115
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
116
116
  post_install_message:
117
117
  rdoc_options:
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.0.3
132
+ rubygems_version: 3.1.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Default Rubocop configuration used in NoSoloSoftware developments
@@ -1,22 +0,0 @@
1
- module RubocopNoSoloSoftware
2
- module VERSION
3
- MAJOR = 0
4
- MINOR = 1
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