rubocop-commsworld 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 374d2d6eafeef975e8184d38aa1059c70cbef90a89cbd276b7cee732e0de400a
4
+ data.tar.gz: 4f86a3cd035d2e8093e665436bae6e1a3e657142dcf711e916f5072b79919679
5
+ SHA512:
6
+ metadata.gz: 8a020086169ec13ff991a489ab4d4d559c0a6550babcbb89aa47726866a2c1f0591c6e8e4127e2ef834f0658e48ab765716378a24875e5c4b3fac9b0ff64a760
7
+ data.tar.gz: 691679633cc03c77072a040f96c9952e3cc3385604362139b25cf490b21e9879ddac3f916b30c63dcf23ab831b0b17fd30a9df02079d712e5647e4b1fdef6d45
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ .byebug_history
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,3 @@
1
+ Naming/FileName:
2
+ Exclude:
3
+ - lib/rubocop-commsworld.rb
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rubocop-commsworld.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,80 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rubocop-commsworld (0.1.0)
5
+ rubocop (~> 1.8.1)
6
+ rubocop-rails (~> 2.5)
7
+ rubocop-rspec (~> 1.41.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (6.0.3.4)
13
+ concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ i18n (>= 0.7, < 2)
15
+ minitest (~> 5.1)
16
+ tzinfo (~> 1.1)
17
+ zeitwerk (~> 2.2, >= 2.2.2)
18
+ ast (2.4.1)
19
+ byebug (11.1.3)
20
+ concurrent-ruby (1.1.7)
21
+ diff-lcs (1.4.4)
22
+ i18n (1.8.7)
23
+ concurrent-ruby (~> 1.0)
24
+ minitest (5.14.3)
25
+ parallel (1.20.1)
26
+ parser (3.0.0.0)
27
+ ast (~> 2.4.1)
28
+ rack (2.2.3)
29
+ rainbow (3.0.0)
30
+ rake (12.3.3)
31
+ regexp_parser (2.0.3)
32
+ rexml (3.2.4)
33
+ rspec (3.10.0)
34
+ rspec-core (~> 3.10.0)
35
+ rspec-expectations (~> 3.10.0)
36
+ rspec-mocks (~> 3.10.0)
37
+ rspec-core (3.10.1)
38
+ rspec-support (~> 3.10.0)
39
+ rspec-expectations (3.10.1)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.10.0)
42
+ rspec-mocks (3.10.1)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.10.0)
45
+ rspec-support (3.10.1)
46
+ rubocop (1.8.1)
47
+ parallel (~> 1.10)
48
+ parser (>= 3.0.0.0)
49
+ rainbow (>= 2.2.2, < 4.0)
50
+ regexp_parser (>= 1.8, < 3.0)
51
+ rexml
52
+ rubocop-ast (>= 1.2.0, < 2.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 1.4.0, < 3.0)
55
+ rubocop-ast (1.4.0)
56
+ parser (>= 2.7.1.5)
57
+ rubocop-rails (2.5.2)
58
+ activesupport
59
+ rack (>= 1.1)
60
+ rubocop (>= 0.72.0)
61
+ rubocop-rspec (1.41.0)
62
+ rubocop (>= 0.68.1)
63
+ ruby-progressbar (1.11.0)
64
+ thread_safe (0.3.6)
65
+ tzinfo (1.2.9)
66
+ thread_safe (~> 0.1)
67
+ unicode-display_width (2.0.0)
68
+ zeitwerk (2.4.2)
69
+
70
+ PLATFORMS
71
+ ruby
72
+
73
+ DEPENDENCIES
74
+ byebug
75
+ rake (~> 12.0)
76
+ rspec (~> 3.0)
77
+ rubocop-commsworld!
78
+
79
+ BUNDLED WITH
80
+ 2.1.4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Commsworld Limited
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,58 @@
1
+ # rubocop-commsworld
2
+
3
+ Common [rubocop] configuration and custom cops.
4
+ Replaces [commsworld/house-style] which was config-only.
5
+
6
+ ## Installation
7
+
8
+ Add the gem as a dependency to your project's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "rubocop-commsworld", github: "commsworld/rubocop-commsworld", group: [:development, :test]
12
+ ```
13
+
14
+ And install with `bundle install`.
15
+
16
+ ## Usage
17
+
18
+ Configure rubocop in your project by creating a file in the root directory of the project, `.rubocop.yml`:
19
+
20
+ ```yml
21
+ require:
22
+ - rubocop-commsworld
23
+ - rubocop-rails
24
+ - rubocop-rspec
25
+ ```
26
+
27
+ ## Cops
28
+
29
+ ### Commsworld/UnspecifiedModelPrivacy
30
+
31
+ Issues an offence when a class is defined within a module which does not have an adjacent privacy definition.
32
+ By default, configured to only run on `app/models`.
33
+
34
+ The motivation is to enforce the use of [Private ActiveRecord models] where appropriate.
35
+
36
+ ```ruby
37
+ # bad
38
+ module Things
39
+ class Thing < ApplicationRecord
40
+ end
41
+ end
42
+
43
+ # good
44
+ module Things
45
+ class Thing < ApplicationRecord
46
+ end
47
+
48
+ private_constant :Thing # or public_constant
49
+ end
50
+ ```
51
+
52
+ ## License
53
+
54
+ The gem is available as open source under the terms of the [MIT License].
55
+
56
+ [rubocop]: https://github.com/rubocop-hq/rubocop
57
+ [commsworld/house-style]: https://github.com/commsworld/house-style
58
+ [Private ActiveRecord models]: https://kellysutton.com/2019/10/29/taming-large-rails-codebases-with-private-activerecord-models.html
@@ -0,0 +1,34 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
7
+
8
+ require "rspec/core/rake_task"
9
+
10
+ RSpec::Core::RakeTask.new(:spec) do |spec|
11
+ spec.pattern = FileList["spec/**/*_spec.rb"]
12
+ end
13
+
14
+ desc "Generate a new cop with a template"
15
+ task new_cop: :environment, [:cop] do |_task, args|
16
+ require "rubocop"
17
+
18
+ cop_name = args.fetch(:cop) do
19
+ warn "usage: bundle exec rake new_cop[Department/Name]"
20
+ exit!
21
+ end
22
+
23
+ github_user = `git config github.user`.chop
24
+ github_user = "your_id" if github_user.empty?
25
+
26
+ generator = RuboCop::Cop::Generator.new(cop_name, github_user)
27
+
28
+ generator.write_source
29
+ generator.write_spec
30
+ generator.inject_require(root_file_path: "lib/rubocop/cop/commsworld_cops.rb")
31
+ generator.inject_config(config_file_path: "config/default.yml")
32
+
33
+ puts generator.todo
34
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rubocop/commsworld"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,7 @@
1
+ Commsworld/UnspecifiedModelPrivacy:
2
+ Description: Identifies classes within modules which don't have an adjacent `private_constant` or `public_constant` declaration.
3
+ Enabled: Yes
4
+ VersionAdded: 0.1.0
5
+ Include:
6
+ - app/models/**/*.rb
7
+
@@ -0,0 +1,154 @@
1
+ AllCops:
2
+ DisplayCopNames: yes
3
+ DisplayStyleGuide: yes
4
+ Exclude:
5
+ - bin/*
6
+ - node_modules/**/*
7
+ ExtraDetails: yes
8
+
9
+ Layout/EmptyLinesAroundBlockBody:
10
+ Exclude:
11
+ - db/**/*.rb
12
+
13
+ Layout/EmptyLinesAroundClassBody:
14
+ Exclude:
15
+ - db/**/*.rb
16
+
17
+ Layout/FirstArrayElementIndentation:
18
+ Enabled: no
19
+
20
+ Layout/FirstHashElementIndentation:
21
+ EnforcedStyle: consistent
22
+
23
+ Layout/LineLength:
24
+ Max: 120
25
+ Exclude:
26
+ - db/**/*.rb
27
+ - config/**/*.rb
28
+
29
+ Layout/MultilineMethodCallIndentation:
30
+ Enabled: no
31
+
32
+ Layout/SpaceAroundOperators:
33
+ Exclude:
34
+ - db/**/*.rb
35
+
36
+ Layout/SpaceInsideArrayLiteralBrackets:
37
+ Exclude:
38
+ - db/**/*.rb
39
+
40
+ Layout/SpaceInsideHashLiteralBraces:
41
+ Exclude:
42
+ - db/**/*.rb
43
+
44
+ Lint/MissingSuper:
45
+ Enabled: no
46
+
47
+ Lint/UnusedBlockArgument:
48
+ Enabled: no
49
+
50
+ Metrics/BlockLength:
51
+ Exclude:
52
+ - db/**/*.rb
53
+ - lib/tasks/**/*.rake
54
+ - spec/**/*_spec.rb
55
+
56
+ Metrics/MethodLength:
57
+ Max: 20
58
+ Exclude:
59
+ - db/**/*.rb
60
+
61
+ Rails/Delegate:
62
+ Enabled: no
63
+
64
+ Rails/LexicallyScopedActionFilter:
65
+ Exclude:
66
+ - app/controllers/application_controller.rb
67
+ - app/controllers/concerns/**/*.rb
68
+
69
+ Rails/Output:
70
+ Exclude:
71
+ - db/seeds/**/*.rb
72
+ - db/seeds.rb
73
+
74
+ RSpec/ContextWording:
75
+ Exclude:
76
+ - spec/features/**/*_spec.rb
77
+ - spec/system/**/*_spec.rb
78
+ - spec/support/**/*.rb
79
+
80
+ RSpec/DescribeClass:
81
+ Exclude:
82
+ - spec/features/**/*_spec.rb
83
+ - spec/system/**/*_spec.rb
84
+ - spec/support/**/*.rb
85
+
86
+ RSpec/ExampleLength:
87
+ Max: 15
88
+
89
+ RSpec/InstanceVariable:
90
+ Exclude:
91
+ - spec/components/**/*_spec.rb
92
+ - spec/support/**/*.rb
93
+
94
+ Style/ClassAndModuleChildren:
95
+ Exclude:
96
+ - app/components/**/*.rb
97
+
98
+ Style/ConditionalAssignment:
99
+ Enabled: no
100
+
101
+ Style/Documentation:
102
+ # TODO: It might be a good idea to enable this for specific paths
103
+ Enabled: no
104
+
105
+ Style/EmptyElse:
106
+ Enabled: no
107
+
108
+ Style/EmptyMethod:
109
+ EnforcedStyle: expanded
110
+
111
+ Style/FrozenStringLiteralComment:
112
+ Enabled: no
113
+
114
+ Style/HashAsLastArrayItem:
115
+ Enabled: no
116
+
117
+ Style/HashSyntax:
118
+ Exclude:
119
+ - db/**/*.rb
120
+
121
+ Style/Lambda:
122
+ EnforcedStyle: literal
123
+
124
+ Style/NumericLiterals:
125
+ Exclude:
126
+ - db/**/*.rb
127
+
128
+ Style/RedundantFetchBlock:
129
+ Enabled: no
130
+
131
+ Style/RegexpLiteral:
132
+ EnforcedStyle: mixed
133
+ AllowInnerSlashes: yes
134
+
135
+ Style/StringLiterals:
136
+ EnforcedStyle: double_quotes
137
+
138
+ Style/SymbolArray:
139
+ EnforcedStyle: brackets
140
+
141
+ Style/TrailingCommaInArguments:
142
+ EnforcedStyleForMultiline: comma
143
+
144
+ Style/TrailingCommaInArrayLiteral:
145
+ EnforcedStyleForMultiline: comma
146
+
147
+ Style/TrailingCommaInHashLiteral:
148
+ EnforcedStyleForMultiline: comma
149
+
150
+ Style/TrivialAccessors:
151
+ Enabled: no
152
+
153
+ Style/WordArray:
154
+ EnforcedStyle: brackets
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubocop"
4
+
5
+ require_relative "rubocop/commsworld"
6
+ require_relative "rubocop/commsworld/version"
7
+ require_relative "rubocop/commsworld/inject"
8
+
9
+ RuboCop::Commsworld::Inject.defaults!
10
+ # TODO: Add a setting which allows using the cops in this gem without loading the house style.
11
+ RuboCop::Commsworld::Inject.house_style!
12
+
13
+ require_relative "rubocop/cop/commsworld_cops"
@@ -0,0 +1,10 @@
1
+ require "rubocop/commsworld/version"
2
+
3
+ module RuboCop
4
+ module Commsworld
5
+ class Error < StandardError; end
6
+ PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze
7
+
8
+ private_constant(:PROJECT_ROOT)
9
+ end
10
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The original code is from https://github.com/rubocop-hq/rubocop-rspec/blob/master/lib/rubocop/rspec/inject.rb
4
+ # See https://github.com/rubocop-hq/rubocop-rspec/blob/master/MIT-LICENSE.md
5
+ module RuboCop
6
+ module Commsworld
7
+ # Because RuboCop doesn't yet support plugins, we have to monkey patch in a
8
+ # bit of our configuration.
9
+ module Inject
10
+ def self.defaults!
11
+ inject! PROJECT_ROOT.join("config", "default.yml").to_s
12
+ end
13
+
14
+ def self.house_style!
15
+ inject! PROJECT_ROOT.join("config", "house-style.yml").to_s
16
+ end
17
+
18
+ def self.inject!(path)
19
+ hash = ConfigLoader.send(:load_yaml_configuration, path)
20
+ config = Config.new(hash, path).tap(&:make_excludes_absolute)
21
+ puts "configuration from #{path}" if ConfigLoader.debug?
22
+ config = ConfigLoader.merge_with_default(config, path)
23
+ ConfigLoader.instance_variable_set(:@default_configuration, config)
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ module RuboCop
2
+ module Commsworld
3
+ VERSION = "0.1.0".freeze
4
+ end
5
+ end
@@ -0,0 +1,50 @@
1
+ module RuboCop
2
+ module Cop
3
+ module Commsworld
4
+ class UnspecifiedModelPrivacy < Cop
5
+ MSG = "Specify an access modifier for namespaced class `%<class_name>s` with either " \
6
+ "`private_constant :%<class_name>s` or `public_constant :%<class_name>s`".freeze
7
+
8
+ def_node_matcher :private_constant_declaration?, <<~PATTERN
9
+ (send _ :private_constant _)
10
+ PATTERN
11
+
12
+ def_node_matcher :public_constant_declaration?, <<~PATTERN
13
+ (send _ :public_constant _)
14
+ PATTERN
15
+
16
+ def on_class(node)
17
+ return unless module_scope?(node)
18
+
19
+ klass_name = node.identifier.node_parts.last
20
+
21
+ node.parent.each_child_node do |child|
22
+ next unless private_constant_declaration?(child) || public_constant_declaration?(child)
23
+ return if klass_name == child.arguments.first.value
24
+ end
25
+
26
+ add_offense(node, message: message(node))
27
+ end
28
+
29
+ private
30
+
31
+ def message(node)
32
+ klass_name = node.identifier.node_parts.last
33
+
34
+ format(MSG, class_name: klass_name)
35
+ end
36
+
37
+ def module_scope?(node)
38
+ return unless node.parent
39
+
40
+ case node.parent.type
41
+ when :begin
42
+ module_scope?(node.parent)
43
+ when :module
44
+ true
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "commsworld/unspecified_model_privacy"
@@ -0,0 +1,30 @@
1
+ require_relative "lib/rubocop/commsworld/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "rubocop-commsworld"
5
+ spec.version = RuboCop::Commsworld::VERSION
6
+ spec.authors = ["Lewis Eason"]
7
+ spec.email = ["lewis.eason@commsworld.com"]
8
+
9
+ spec.summary = "Commsworld rubocop config and cops"
10
+ spec.homepage = "https://github.com/commsworld/rubocop-commsworld"
11
+ spec.license = "MIT"
12
+
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
14
+
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(/^(test|spec|features)\//) }
20
+ end
21
+
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_runtime_dependency "rubocop", "~> 1.8.1"
25
+ spec.add_runtime_dependency "rubocop-rails", "~> 2.5"
26
+ spec.add_runtime_dependency "rubocop-rspec", "~> 1.41.0"
27
+
28
+ spec.add_development_dependency "byebug"
29
+ spec.add_development_dependency "rspec", "~> 3.10"
30
+ end
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubocop-commsworld
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Lewis Eason
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-01-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.8.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.8.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.5'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.41.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.41.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.10'
83
+ description:
84
+ email:
85
+ - lewis.eason@commsworld.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".rubocop.yml"
93
+ - Gemfile
94
+ - Gemfile.lock
95
+ - LICENSE
96
+ - README.md
97
+ - Rakefile
98
+ - bin/console
99
+ - bin/setup
100
+ - config/default.yml
101
+ - config/house-style.yml
102
+ - lib/rubocop-commsworld.rb
103
+ - lib/rubocop/commsworld.rb
104
+ - lib/rubocop/commsworld/inject.rb
105
+ - lib/rubocop/commsworld/version.rb
106
+ - lib/rubocop/cop/commsworld/unspecified_model_privacy.rb
107
+ - lib/rubocop/cop/commsworld_cops.rb
108
+ - rubocop-commsworld.gemspec
109
+ homepage: https://github.com/commsworld/rubocop-commsworld
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: 2.4.0
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubygems_version: 3.0.6
129
+ signing_key:
130
+ specification_version: 4
131
+ summary: Commsworld rubocop config and cops
132
+ test_files: []