manageiq-style 1.1.0 → 1.1.1

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: 0c39d38f4271a8073edeef202ee92a1384823b678c273b5e21875d8b21af4dd7
4
- data.tar.gz: 22c988be09d434be7fb20d06b96c6e1209711c073a2ddc6911537d35a29fe6ec
3
+ metadata.gz: 8ac849693fa5f8a978080fceea20375e51f377e1fa3d3d84d20f020e916f4a45
4
+ data.tar.gz: 4ac69b27c626a34b009b4a286fd65b7f796422a0eca07dc847f1dbe4630caf2d
5
5
  SHA512:
6
- metadata.gz: b8b8362e34ff3efb97007047af172b5a11f677fafe2ba0f1d465f30191b9b9cd4dcb7d03cf614e043d9af3573a00712d6d49466b373f766f50c373779ec701c6
7
- data.tar.gz: b225d0b75481e663079b5dfc50d63845f6447f0c585d2d8703d870fba4580a9a3b649e3b5f34ecf00c12ee77fcc8d82d817b9c3c6e00126248c3e65b71316b00
6
+ metadata.gz: cc64a1eddc621edbecee991093365eb6c6077f332566823cc86a7973ae4c60db069c49ef97d8be9b23720b49f34b21eb4d3b7ce8443e83db50abab4367a76ea6
7
+ data.tar.gz: 6f3734f60de0140bf63e485850a74ca793915b785a834622fb589510c7a3dfe8661ec96ebb262a9f089f85ed1a72fb8feacac2e3c1b09956f74b77019c9ecf8e
@@ -1,292 +1,2 @@
1
- require:
2
- - rubocop-rails
3
- - rubocop-performance
4
-
5
- AllCops:
6
- NewCops: disable
7
- Exclude:
8
- - spec/manageiq/**/*
9
- - vendor/**/*
10
- TargetRubyVersion: 2.5
11
- Layout/HashAlignment:
12
- EnforcedHashRocketStyle: table
13
- EnforcedColonStyle: table
14
- Layout/DefEndAlignment:
15
- AutoCorrect: true
16
- Layout/EndAlignment:
17
- AutoCorrect: true
18
- Layout/ExtraSpacing:
19
- AutoCorrect: true
20
- Layout/LineLength:
21
- Enabled: false
22
- Layout/SpaceAroundMethodCallOperator:
23
- Enabled: true
24
- Layout/SpaceBeforeFirstArg:
25
- Enabled: false
26
- Layout/SpaceInsideHashLiteralBraces:
27
- EnforcedStyle: no_space
28
- Lint/RaiseException:
29
- Enabled: true
30
- Lint/StructNewOverride:
31
- Enabled: true
32
- Metrics/AbcSize:
33
- Enabled: false
34
- Metrics/BlockLength:
35
- Enabled: false
36
- Metrics/BlockNesting:
37
- Enabled: false
38
- Metrics/ClassLength:
39
- Enabled: false
40
- Metrics/CyclomaticComplexity:
41
- Enabled: false
42
- Metrics/MethodLength:
43
- Enabled: false
44
- Metrics/ModuleLength:
45
- Enabled: false
46
- Metrics/ParameterLists:
47
- Enabled: false
48
- Metrics/PerceivedComplexity:
49
- Enabled: false
50
- Naming/MethodParameterName:
51
- AllowedNames:
52
- - vm
53
- - dc
54
- Naming/RescuedExceptionsVariableName:
55
- Enabled: false
56
- Performance/Casecmp:
57
- Enabled: false
58
- Rails:
59
- Enabled: true
60
- Rails/FindEach:
61
- Enabled: false
62
- Rails/HttpStatus:
63
- Enabled: true
64
- EnforcedStyle: numeric
65
- Rails/ReadWriteAttribute:
66
- AutoCorrect: false
67
- Style/AccessModifierDeclarations:
68
- Enabled: false
69
- Style/ClassAndModuleChildren:
70
- Enabled: false
71
- Style/ClassCheck:
72
- EnforcedStyle: kind_of?
73
- Style/CollectionMethods:
74
- PreferredMethods:
75
- find: detect
76
- find_all: select
77
- map: collect
78
- reduce: inject
79
- Style/Documentation:
80
- Enabled: false
81
- Style/DoubleNegation:
82
- Enabled: false
83
- Style/EmptyMethod:
84
- Enabled: false
85
- Style/Encoding:
86
- Enabled: false
87
- Style/ExponentialNotation:
88
- Enabled: true
89
- Style/FormatString:
90
- EnforcedStyle: percent
91
- Style/FormatStringToken:
92
- EnforcedStyle: template
93
- Style/FrozenStringLiteralComment:
94
- Enabled: false
95
- Style/GuardClause:
96
- Enabled: false
97
- Style/HashEachMethods:
98
- Enabled: true
99
- Style/HashSyntax:
100
- EnforcedStyle: hash_rockets
101
- Exclude:
102
- - db/schema.rb
103
- Style/HashTransformKeys:
104
- Enabled: true
105
- Style/HashTransformValues:
106
- Enabled: true
107
- Style/IfUnlessModifier:
108
- Enabled: false
109
- Style/MethodCallWithArgsParentheses:
110
- Exclude:
111
- - Gemfile
112
- - config/routes.rb
113
- - lib/generators/**/*
114
- - lib/resource_feeder/**/*
115
- - lib/tasks/**/*
116
- - spec/**/*
117
- Enabled: true
118
- IgnoredMethods:
119
- # Ruby
120
- - add_dependency
121
- - add_development_dependency
122
- - add_runtime_dependency
123
- - alias_method
124
- - attr_accessor
125
- - attr_reader
126
- - attr_writer
127
- - exit
128
- - extend
129
- - gem
130
- - include
131
- - load
132
- - module_function
133
- - pp
134
- - prepend
135
- - print
136
- - private
137
- - private_class_method
138
- - private_constant
139
- - puts
140
- - raise
141
- - require
142
- - sleep
143
- - throw
144
- - warn
145
- - yield
146
- # Rails
147
- - accepts_nested_attributes_for
148
- - add_column
149
- - add_index
150
- - add_reference
151
- - after_action
152
- - after_commit
153
- - after_create
154
- - after_create_commit
155
- - after_destroy
156
- - after_destroy
157
- - after_destroy_commit
158
- - after_initialize
159
- - after_save
160
- - after_save
161
- - after_update
162
- - after_update_commit
163
- - alias_attribute
164
- - around_destroy
165
- - autoload
166
- - before_action
167
- - before_create
168
- - before_destroy
169
- - before_save
170
- - before_update
171
- - before_validation
172
- - belongs_to
173
- - bigint
174
- - boolean
175
- - cattr_accessor
176
- - cattr_reader
177
- - cattr_writer
178
- - change_column
179
- - change_column_comment
180
- - change_column_null
181
- - change_table_comment
182
- - class_attribute
183
- - create_table
184
- - datetime
185
- - decimal
186
- - delegate
187
- - drop_table
188
- - float
189
- - has_and_belongs_to_many
190
- - has_many
191
- - has_one
192
- - head
193
- - identified_by
194
- - index
195
- - integer
196
- - jsonb
197
- - mattr_accessor
198
- - references
199
- - remove_column
200
- - remove_index
201
- - remove_reference
202
- - rename_column
203
- - render
204
- - require_dependency
205
- - require_relative
206
- - respond_to
207
- - scope
208
- - serialize
209
- - skip_before_action
210
- - string
211
- - text
212
- - uuid
213
- - validate
214
- - validates
215
- # ActsAsTree Gem
216
- - acts_as_tree
217
- # Ancestry Gem
218
- - has_ancestry
219
- # DefaultValue Gem
220
- - default_value_for
221
- - default_values
222
- # Optimist Gem
223
- - banner
224
- - die
225
- - opt
226
- # MIQ
227
- - add_trigger
228
- - alias_with_relationship_type
229
- - api_relay_method
230
- - attr_accessor_that_yamls
231
- - deprecate_attribute
232
- - drop_trigger
233
- - encrypt_column
234
- - include_concern
235
- - require_nested
236
- - signal
237
- - supports
238
- - supports_not
239
- - virtual_aggregate
240
- - virtual_attribute
241
- - virtual_belongs_to
242
- - virtual_belongs_to
243
- - virtual_column
244
- - virtual_delegate
245
- - virtual_has_many
246
- - virtual_has_one
247
- - virtual_total
248
- # Rake
249
- - desc
250
- - task
251
- Style/NumericLiterals:
252
- AutoCorrect: false
253
- Style/NumericPredicate:
254
- Enabled: false
255
- Style/PerlBackrefs:
256
- Enabled: false
257
- Style/ParallelAssignment:
258
- Enabled: false
259
- Style/RedundantReturn:
260
- AllowMultipleReturnValues: true
261
- Style/RegexpLiteral:
262
- Enabled: false
263
- Style/RescueModifier:
264
- AutoCorrect: false
265
- Style/RescueStandardError:
266
- EnforcedStyle: implicit
267
- Style/SignalException:
268
- EnforcedStyle: only_raise
269
- Style/SingleLineBlockParams:
270
- Enabled: false
271
- Style/SingleLineMethods:
272
- AllowIfMethodIsEmpty: false
273
- Style/SpecialGlobalVars:
274
- AutoCorrect: false
275
- Style/StringLiterals:
276
- Enabled: false
277
- Style/StringLiteralsInInterpolation:
278
- Enabled: false
279
- Style/SymbolArray:
280
- Enabled: false
281
- Style/TrailingCommaInArrayLiteral:
282
- Enabled: false
283
- Style/TrailingCommaInHashLiteral:
284
- Enabled: false
285
- Style/TrailingUnderscoreVariable:
286
- Enabled: false
287
- Style/TrivialAccessors:
288
- AllowPredicates: true
289
- Style/WhileUntilModifier:
290
- Enabled: false
291
- Style/WordArray:
292
- Enabled: false
1
+ inherit_from:
2
+ - styles/base.yml
@@ -1,47 +1,2 @@
1
- #
2
- # THIS FILE IS AUTOGENERATED. DO NOT MODIFY MANUALLY.
3
- # For changes, please modify scripts/process_rubocop_yamls.rb
4
- #
5
- ---
6
- AllCops:
7
- TargetRubyVersion: 2.4
8
- Bundler:
9
- Enabled: true
10
- Gemspec:
11
- Enabled: true
12
- Layout:
13
- Enabled: false
14
- Lint:
15
- Enabled: true
16
- Naming:
17
- Enabled: false
18
- Performance:
19
- Enabled: true
20
- Rails:
21
- Enabled: false
22
- Security:
23
- Enabled: true
24
- Style:
25
- Enabled: false
26
- Metrics/AbcSize:
27
- Enabled: false
28
- Metrics/BlockLength:
29
- Enabled: false
30
- Metrics/BlockNesting:
31
- Enabled: true
32
- Metrics/ClassLength:
33
- Enabled: false
34
- Metrics/CyclomaticComplexity:
35
- Enabled: true
36
- Max: 11
37
- Metrics/LineLength:
38
- Enabled: false
39
- Metrics/MethodLength:
40
- Enabled: false
41
- Metrics/ModuleLength:
42
- Enabled: false
43
- Metrics/ParameterLists:
44
- Enabled: true
45
- Metrics/PerceivedComplexity:
46
- Enabled: false
47
-
1
+ inherit_from:
2
+ - styles/cc_base.yml
@@ -2,5 +2,6 @@
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.5.7
6
- before_install: gem install bundler -v 2.1.4
5
+ - 2.5.8
6
+ - 2.6.6
7
+ before_install: gem install bundler
data/Gemfile CHANGED
@@ -2,6 +2,3 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in manageiq-style.gemspec
4
4
  gemspec
5
-
6
- gem "rake", "~> 12.0"
7
- gem "rspec", "~> 3.0"
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- # Manageiq::Style
1
+ # manageiq-style
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/manageiq/style`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Style and linting configuration for ManageIQ projects.
6
4
 
7
5
  ## Installation
8
6
 
@@ -34,7 +32,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
34
32
 
35
33
  Bug reports and pull requests are welcome on GitHub at https://github.com/ManageIQ/manageiq-style. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/ManageIQ/.github/blob/master/CODE_OF_CONDUCT.md).
36
34
 
37
-
38
35
  ## Code of Conduct
39
36
 
40
- Everyone interacting in the Manageiq::Style project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ManageIQ/.github/blob/master/CODE_OF_CONDUCT.md).
37
+ Everyone interacting in the manageiq-style project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ManageIQ/.github/blob/master/CODE_OF_CONDUCT.md).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "manageiq/style"
4
+ require "manageiq-style"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -3,6 +3,6 @@
3
3
  $LOAD_PATH << File.expand_path("../lib", __dir__)
4
4
 
5
5
  require 'bundler/setup'
6
- require 'manageiq/style/cli'
6
+ require 'manageiq-style'
7
7
 
8
- Manageiq::Style::CLI.run
8
+ ManageIQ::Style::CLI.run
@@ -0,0 +1 @@
1
+ require "manageiq/style"
@@ -1,6 +1,7 @@
1
1
  require "manageiq/style/version"
2
+ require "manageiq/style/cli"
2
3
 
3
- module Manageiq
4
+ module ManageIQ
4
5
  module Style
5
6
  class Error < StandardError; end
6
7
  # Your code goes here...
@@ -1,6 +1,4 @@
1
- require "manageiq/style"
2
-
3
- module Manageiq
1
+ module ManageIQ
4
2
  module Style
5
3
  class CLI
6
4
  def self.run
@@ -15,16 +13,15 @@ module Manageiq
15
13
  require 'optimist'
16
14
 
17
15
  Optimist.options do
18
- usage "manageiq-version [OPTIONS]"
19
- synopsis "The ManageIQ communities style configuration utility"
20
- version "v#{Manageiq::Style::VERSION}\n"
16
+ usage "[OPTIONS]"
17
+ synopsis "\nThe ManageIQ community's style configuration utility."
18
+ version "v#{ManageIQ::Style::VERSION}\n"
21
19
 
22
- opt :install, "Install or update the style configurations", :default => false
20
+ opt :install, "Install or update the style configurations", :default => false, :required => true
23
21
  end
24
22
  end
25
23
 
26
24
  def run
27
- version if @opts[:version]
28
25
  install if @opts[:install]
29
26
  end
30
27
 
@@ -1,5 +1,5 @@
1
- module Manageiq
1
+ module ManageIQ
2
2
  module Style
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -2,12 +2,11 @@ require_relative 'lib/manageiq/style/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "manageiq-style"
5
- spec.version = Manageiq::Style::VERSION
6
- spec.authors = ["Brandon Dunne"]
7
- spec.email = ["brandondunne@hotmail.com"]
5
+ spec.version = ManageIQ::Style::VERSION
6
+ spec.authors = ["ManageIQ Authors"]
8
7
 
9
8
  spec.summary = "Style and linting configuration for ManageIQ projects."
10
- spec.description = "Style and linting configuration for ManageIQ projects."
9
+ spec.description = spec.summary
11
10
  spec.homepage = "https://github.com/ManageIQ/manageiq-style"
12
11
  spec.license = "MIT"
13
12
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
@@ -29,4 +28,7 @@ Gem::Specification.new do |spec|
29
28
  spec.add_runtime_dependency "rubocop", "~> 0.82.0"
30
29
  spec.add_runtime_dependency "rubocop-performance"
31
30
  spec.add_runtime_dependency "rubocop-rails"
31
+
32
+ spec.add_development_dependency "rake", "~> 12.0"
33
+ spec.add_development_dependency "rspec", "~> 3.0"
32
34
  end
@@ -0,0 +1,292 @@
1
+ require:
2
+ - rubocop-rails
3
+ - rubocop-performance
4
+
5
+ AllCops:
6
+ NewCops: disable
7
+ Exclude:
8
+ - spec/manageiq/**/*
9
+ - vendor/**/*
10
+ TargetRubyVersion: 2.5
11
+ Layout/HashAlignment:
12
+ EnforcedHashRocketStyle: table
13
+ EnforcedColonStyle: table
14
+ Layout/DefEndAlignment:
15
+ AutoCorrect: true
16
+ Layout/EndAlignment:
17
+ AutoCorrect: true
18
+ Layout/ExtraSpacing:
19
+ AutoCorrect: true
20
+ Layout/LineLength:
21
+ Enabled: false
22
+ Layout/SpaceAroundMethodCallOperator:
23
+ Enabled: true
24
+ Layout/SpaceBeforeFirstArg:
25
+ Enabled: false
26
+ Layout/SpaceInsideHashLiteralBraces:
27
+ EnforcedStyle: no_space
28
+ Lint/RaiseException:
29
+ Enabled: true
30
+ Lint/StructNewOverride:
31
+ Enabled: true
32
+ Metrics/AbcSize:
33
+ Enabled: false
34
+ Metrics/BlockLength:
35
+ Enabled: false
36
+ Metrics/BlockNesting:
37
+ Enabled: false
38
+ Metrics/ClassLength:
39
+ Enabled: false
40
+ Metrics/CyclomaticComplexity:
41
+ Enabled: false
42
+ Metrics/MethodLength:
43
+ Enabled: false
44
+ Metrics/ModuleLength:
45
+ Enabled: false
46
+ Metrics/ParameterLists:
47
+ Enabled: false
48
+ Metrics/PerceivedComplexity:
49
+ Enabled: false
50
+ Naming/MethodParameterName:
51
+ AllowedNames:
52
+ - vm
53
+ - dc
54
+ Naming/RescuedExceptionsVariableName:
55
+ Enabled: false
56
+ Performance/Casecmp:
57
+ Enabled: false
58
+ Rails:
59
+ Enabled: true
60
+ Rails/FindEach:
61
+ Enabled: false
62
+ Rails/HttpStatus:
63
+ Enabled: true
64
+ EnforcedStyle: numeric
65
+ Rails/ReadWriteAttribute:
66
+ AutoCorrect: false
67
+ Style/AccessModifierDeclarations:
68
+ Enabled: false
69
+ Style/ClassAndModuleChildren:
70
+ Enabled: false
71
+ Style/ClassCheck:
72
+ EnforcedStyle: kind_of?
73
+ Style/CollectionMethods:
74
+ PreferredMethods:
75
+ find: detect
76
+ find_all: select
77
+ map: collect
78
+ reduce: inject
79
+ Style/Documentation:
80
+ Enabled: false
81
+ Style/DoubleNegation:
82
+ Enabled: false
83
+ Style/EmptyMethod:
84
+ Enabled: false
85
+ Style/Encoding:
86
+ Enabled: false
87
+ Style/ExponentialNotation:
88
+ Enabled: true
89
+ Style/FormatString:
90
+ EnforcedStyle: percent
91
+ Style/FormatStringToken:
92
+ EnforcedStyle: template
93
+ Style/FrozenStringLiteralComment:
94
+ Enabled: false
95
+ Style/GuardClause:
96
+ Enabled: false
97
+ Style/HashEachMethods:
98
+ Enabled: true
99
+ Style/HashSyntax:
100
+ EnforcedStyle: hash_rockets
101
+ Exclude:
102
+ - db/schema.rb
103
+ Style/HashTransformKeys:
104
+ Enabled: true
105
+ Style/HashTransformValues:
106
+ Enabled: true
107
+ Style/IfUnlessModifier:
108
+ Enabled: false
109
+ Style/MethodCallWithArgsParentheses:
110
+ Exclude:
111
+ - Gemfile
112
+ - config/routes.rb
113
+ - lib/generators/**/*
114
+ - lib/resource_feeder/**/*
115
+ - lib/tasks/**/*
116
+ - spec/**/*
117
+ Enabled: true
118
+ IgnoredMethods:
119
+ # Ruby
120
+ - add_dependency
121
+ - add_development_dependency
122
+ - add_runtime_dependency
123
+ - alias_method
124
+ - attr_accessor
125
+ - attr_reader
126
+ - attr_writer
127
+ - exit
128
+ - extend
129
+ - gem
130
+ - include
131
+ - load
132
+ - module_function
133
+ - pp
134
+ - prepend
135
+ - print
136
+ - private
137
+ - private_class_method
138
+ - private_constant
139
+ - puts
140
+ - raise
141
+ - require
142
+ - sleep
143
+ - throw
144
+ - warn
145
+ - yield
146
+ # Rails
147
+ - accepts_nested_attributes_for
148
+ - add_column
149
+ - add_index
150
+ - add_reference
151
+ - after_action
152
+ - after_commit
153
+ - after_create
154
+ - after_create_commit
155
+ - after_destroy
156
+ - after_destroy
157
+ - after_destroy_commit
158
+ - after_initialize
159
+ - after_save
160
+ - after_save
161
+ - after_update
162
+ - after_update_commit
163
+ - alias_attribute
164
+ - around_destroy
165
+ - autoload
166
+ - before_action
167
+ - before_create
168
+ - before_destroy
169
+ - before_save
170
+ - before_update
171
+ - before_validation
172
+ - belongs_to
173
+ - bigint
174
+ - boolean
175
+ - cattr_accessor
176
+ - cattr_reader
177
+ - cattr_writer
178
+ - change_column
179
+ - change_column_comment
180
+ - change_column_null
181
+ - change_table_comment
182
+ - class_attribute
183
+ - create_table
184
+ - datetime
185
+ - decimal
186
+ - delegate
187
+ - drop_table
188
+ - float
189
+ - has_and_belongs_to_many
190
+ - has_many
191
+ - has_one
192
+ - head
193
+ - identified_by
194
+ - index
195
+ - integer
196
+ - jsonb
197
+ - mattr_accessor
198
+ - references
199
+ - remove_column
200
+ - remove_index
201
+ - remove_reference
202
+ - rename_column
203
+ - render
204
+ - require_dependency
205
+ - require_relative
206
+ - respond_to
207
+ - scope
208
+ - serialize
209
+ - skip_before_action
210
+ - string
211
+ - text
212
+ - uuid
213
+ - validate
214
+ - validates
215
+ # ActsAsTree Gem
216
+ - acts_as_tree
217
+ # Ancestry Gem
218
+ - has_ancestry
219
+ # DefaultValue Gem
220
+ - default_value_for
221
+ - default_values
222
+ # Optimist Gem
223
+ - banner
224
+ - die
225
+ - opt
226
+ # MIQ
227
+ - add_trigger
228
+ - alias_with_relationship_type
229
+ - api_relay_method
230
+ - attr_accessor_that_yamls
231
+ - deprecate_attribute
232
+ - drop_trigger
233
+ - encrypt_column
234
+ - include_concern
235
+ - require_nested
236
+ - signal
237
+ - supports
238
+ - supports_not
239
+ - virtual_aggregate
240
+ - virtual_attribute
241
+ - virtual_belongs_to
242
+ - virtual_belongs_to
243
+ - virtual_column
244
+ - virtual_delegate
245
+ - virtual_has_many
246
+ - virtual_has_one
247
+ - virtual_total
248
+ # Rake
249
+ - desc
250
+ - task
251
+ Style/NumericLiterals:
252
+ AutoCorrect: false
253
+ Style/NumericPredicate:
254
+ Enabled: false
255
+ Style/PerlBackrefs:
256
+ Enabled: false
257
+ Style/ParallelAssignment:
258
+ Enabled: false
259
+ Style/RedundantReturn:
260
+ AllowMultipleReturnValues: true
261
+ Style/RegexpLiteral:
262
+ Enabled: false
263
+ Style/RescueModifier:
264
+ AutoCorrect: false
265
+ Style/RescueStandardError:
266
+ EnforcedStyle: implicit
267
+ Style/SignalException:
268
+ EnforcedStyle: only_raise
269
+ Style/SingleLineBlockParams:
270
+ Enabled: false
271
+ Style/SingleLineMethods:
272
+ AllowIfMethodIsEmpty: false
273
+ Style/SpecialGlobalVars:
274
+ AutoCorrect: false
275
+ Style/StringLiterals:
276
+ Enabled: false
277
+ Style/StringLiteralsInInterpolation:
278
+ Enabled: false
279
+ Style/SymbolArray:
280
+ Enabled: false
281
+ Style/TrailingCommaInArrayLiteral:
282
+ Enabled: false
283
+ Style/TrailingCommaInHashLiteral:
284
+ Enabled: false
285
+ Style/TrailingUnderscoreVariable:
286
+ Enabled: false
287
+ Style/TrivialAccessors:
288
+ AllowPredicates: true
289
+ Style/WhileUntilModifier:
290
+ Enabled: false
291
+ Style/WordArray:
292
+ Enabled: false
@@ -0,0 +1,47 @@
1
+ #
2
+ # THIS FILE IS AUTOGENERATED. DO NOT MODIFY MANUALLY.
3
+ # For changes, please modify scripts/process_rubocop_yamls.rb
4
+ #
5
+ ---
6
+ AllCops:
7
+ TargetRubyVersion: 2.4
8
+ Bundler:
9
+ Enabled: true
10
+ Gemspec:
11
+ Enabled: true
12
+ Layout:
13
+ Enabled: false
14
+ Lint:
15
+ Enabled: true
16
+ Naming:
17
+ Enabled: false
18
+ Performance:
19
+ Enabled: true
20
+ Rails:
21
+ Enabled: false
22
+ Security:
23
+ Enabled: true
24
+ Style:
25
+ Enabled: false
26
+ Metrics/AbcSize:
27
+ Enabled: false
28
+ Metrics/BlockLength:
29
+ Enabled: false
30
+ Metrics/BlockNesting:
31
+ Enabled: true
32
+ Metrics/ClassLength:
33
+ Enabled: false
34
+ Metrics/CyclomaticComplexity:
35
+ Enabled: true
36
+ Max: 11
37
+ Metrics/LineLength:
38
+ Enabled: false
39
+ Metrics/MethodLength:
40
+ Enabled: false
41
+ Metrics/ModuleLength:
42
+ Enabled: false
43
+ Metrics/ParameterLists:
44
+ Enabled: true
45
+ Metrics/PerceivedComplexity:
46
+ Enabled: false
47
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Brandon Dunne
7
+ - ManageIQ Authors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: more_core_extensions
@@ -80,9 +80,36 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '12.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '12.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
83
111
  description: Style and linting configuration for ManageIQ projects.
84
- email:
85
- - brandondunne@hotmail.com
112
+ email:
86
113
  executables:
87
114
  - manageiq-style
88
115
  extensions: []
@@ -105,10 +132,13 @@ files:
105
132
  - bin/console
106
133
  - bin/setup
107
134
  - exe/manageiq-style
135
+ - lib/manageiq-style.rb
108
136
  - lib/manageiq/style.rb
109
137
  - lib/manageiq/style/cli.rb
110
138
  - lib/manageiq/style/version.rb
111
139
  - manageiq-style.gemspec
140
+ - styles/base.yml
141
+ - styles/cc_base.yml
112
142
  homepage: https://github.com/ManageIQ/manageiq-style
113
143
  licenses:
114
144
  - MIT