meowcop 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2327ad349cbb09277e9b832bd3208b5fd20da09
4
+ data.tar.gz: f111a053baccfa01288b672a699e61c472523266
5
+ SHA512:
6
+ metadata.gz: 95c8c2ef3d4e38860bfead610bfe40394257ad04565962d8adf7006f99ed981ed365d3c93ee8861ae7baa543d2b8c721a6de9915959aefac4f10d15efbe9837a
7
+ data.tar.gz: 67d0857de61dafbc5fd2440a840eddce1f75a0ddfb51bb469062fe97880255966e220b0c2f439b17a8f02f5ec2936c11f5fc07abf4cc955c34017056a1545f7d
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in meowcop.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # Meowcop
2
+
3
+ MeowCop is a RuboCop configuration recommended by Actcat inc.
4
+
5
+ In the configuration, style rules are disabled. Because the rules almost for project specific.
6
+ However, lint rules are enabled.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'meowcop'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install meowcop
23
+
24
+ ## Configuration
25
+
26
+ Add the following directive to your `.rubocop.yml`
27
+
28
+ ```yaml
29
+ inherit_gem:
30
+ meowcop:
31
+ - config/rubocop.yml
32
+ ```
33
+
34
+ ### Example
35
+
36
+ https://github.com/sideci/meowcop/blob/master/examples/.rubocop.yml
37
+
38
+
39
+ ## Usage
40
+
41
+ Just execute RuboCop.
42
+
43
+ ```sh
44
+ $ bundle exec rubocop
45
+ ```
46
+
47
+
48
+
49
+ ## Development
50
+
51
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
52
+
53
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
54
+
55
+ ## Contributing
56
+
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/sideci/meowcop.
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "meowcop"
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
data/bin/setup ADDED
@@ -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,400 @@
1
+ Lint/AmbiguousRegexpLiteral:
2
+ Enabled: false
3
+ Lint/AssignmentInCondition:
4
+ Enabled: false
5
+ Lint/BlockAlignment:
6
+ Enabled: false
7
+ Lint/DefEndAlignment:
8
+ Enabled: false
9
+ Lint/EndAlignment:
10
+ Enabled: false
11
+ Lint/Eval:
12
+ Enabled: false
13
+ Lint/HandleExceptions:
14
+ Enabled: false
15
+ Lint/Loop:
16
+ Enabled: false
17
+ Lint/RescueException:
18
+ Enabled: false
19
+ Lint/UnneededDisable:
20
+ Enabled: false
21
+ Lint/UnusedBlockArgument:
22
+ Enabled: false
23
+ Lint/UnusedMethodArgument:
24
+ Enabled: false
25
+
26
+ Metrics/AbcSize:
27
+ Enabled: false
28
+ Metrics/BlockNesting:
29
+ Enabled: false
30
+ Metrics/ClassLength:
31
+ Enabled: false
32
+ Metrics/CyclomaticComplexity:
33
+ Enabled: false
34
+ Metrics/LineLength:
35
+ Enabled: false
36
+ Metrics/MethodLength:
37
+ Enabled: false
38
+ Metrics/ModuleLength:
39
+ Enabled: false
40
+ Metrics/ParameterLists:
41
+ Enabled: false
42
+ Metrics/PerceivedComplexity:
43
+ Enabled: false
44
+
45
+ Performance/RedundantBlockCall:
46
+ Enabled: false
47
+
48
+ Rails/Delegate:
49
+ Enabled: false
50
+ Rails/Output:
51
+ Enabled: false
52
+ Rails/OutputSafety:
53
+ Enabled: false
54
+ Rails/PluralizationGrammar:
55
+ Enabled: false
56
+ Rails/ReadWriteAttribute:
57
+ Enabled: false
58
+ Rails/RequestReferer:
59
+ Enabled: false
60
+ Rails/SafeNavigation:
61
+ Enabled: false
62
+
63
+ Style/AccessModifierIndentation:
64
+ Enabled: false
65
+ Style/AccessorMethodName:
66
+ Enabled: false
67
+ Style/Alias:
68
+ Enabled: false
69
+ Style/AlignArray:
70
+ Enabled: false
71
+ Style/AlignHash:
72
+ Enabled: false
73
+ Style/AlignParameters:
74
+ Enabled: false
75
+ Style/AndOr:
76
+ Enabled: false
77
+ Style/AsciiComments:
78
+ Enabled: false
79
+ Style/Attr:
80
+ Enabled: false
81
+ Style/BarePercentLiterals:
82
+ Enabled: false
83
+ Style/BlockComments:
84
+ Enabled: false
85
+ Style/BlockDelimiters:
86
+ Enabled: false
87
+ Style/BlockEndNewline:
88
+ Enabled: false
89
+ Style/BracesAroundHashParameters:
90
+ Enabled: false
91
+ Style/CaseEquality:
92
+ Enabled: false
93
+ Style/CaseIndentation:
94
+ Enabled: false
95
+ Style/CharacterLiteral:
96
+ Enabled: false
97
+ Style/ClassAndModuleChildren:
98
+ Enabled: false
99
+ Style/ClassCheck:
100
+ Enabled: false
101
+ Style/ClassVars:
102
+ Enabled: false
103
+ Style/ClosingParenthesisIndentation:
104
+ Enabled: false
105
+ Style/CollectionMethods:
106
+ Enabled: false
107
+ Style/ColonMethodCall:
108
+ Enabled: false
109
+ Style/CommandLiteral:
110
+ Enabled: false
111
+ Style/CommentAnnotation:
112
+ Enabled: false
113
+ Style/CommentIndentation:
114
+ Enabled: false
115
+ Style/ConditionalAssignment:
116
+ Enabled: false
117
+ Style/ConstantName:
118
+ Enabled: false
119
+ Style/DefWithParentheses:
120
+ Enabled: false
121
+ Style/Documentation:
122
+ Enabled: false
123
+ Style/DotPosition:
124
+ Enabled: false
125
+ Style/DoubleNegation:
126
+ Enabled: false
127
+ Style/ElseAlignment:
128
+ Enabled: false
129
+ Style/EmptyCaseCondition:
130
+ Enabled: false
131
+ Style/EmptyElse:
132
+ Enabled: false
133
+ Style/EmptyLineBetweenDefs:
134
+ Enabled: false
135
+ Style/EmptyLines:
136
+ Enabled: false
137
+ Style/EmptyLinesAroundAccessModifier:
138
+ Enabled: false
139
+ Style/EmptyLinesAroundBlockBody:
140
+ Enabled: false
141
+ Style/EmptyLinesAroundClassBody:
142
+ Enabled: false
143
+ Style/EmptyLinesAroundMethodBody:
144
+ Enabled: false
145
+ Style/EmptyLinesAroundModuleBody:
146
+ Enabled: false
147
+ Style/EmptyLiteral:
148
+ Enabled: false
149
+ Style/Encoding:
150
+ Enabled: false
151
+ Style/EndBlock:
152
+ Enabled: false
153
+ Style/EndOfLine:
154
+ Enabled: false
155
+ Style/EvenOdd:
156
+ Enabled: false
157
+ Style/ExtraSpacing:
158
+ Enabled: false
159
+ Style/FileName:
160
+ Enabled: false
161
+ Style/FirstParameterIndentation:
162
+ Enabled: false
163
+ Style/For:
164
+ Enabled: false
165
+ Style/FormatString:
166
+ Enabled: false
167
+ Style/FrozenStringLiteralComment:
168
+ Enabled: false
169
+ Style/GuardClause:
170
+ Enabled: false
171
+ Style/HashSyntax:
172
+ Enabled: false
173
+ Style/IfInsideElse:
174
+ Enabled: false
175
+ Style/IfUnlessModifier:
176
+ Enabled: false
177
+ Style/IndentArray:
178
+ Enabled: false
179
+ Style/IndentAssignment:
180
+ Enabled: false
181
+ Style/IndentationConsistency:
182
+ Enabled: false
183
+ Style/IndentationWidth:
184
+ Enabled: false
185
+ Style/IndentHash:
186
+ Enabled: false
187
+ Style/InfiniteLoop:
188
+ Enabled: false
189
+ Style/InitialIndentation:
190
+ Enabled: false
191
+ Style/Lambda:
192
+ Enabled: false
193
+ Style/LambdaCall:
194
+ Enabled: false
195
+ Style/LeadingCommentSpace:
196
+ Enabled: false
197
+ Style/LineEndConcatenation:
198
+ Enabled: false
199
+ Style/MethodCallParentheses:
200
+ Enabled: false
201
+ Style/MethodDefParentheses:
202
+ Enabled: false
203
+ Style/MethodMissing:
204
+ Enabled: false
205
+ Style/MethodName:
206
+ Enabled: false
207
+ Style/ModuleFunction:
208
+ Enabled: false
209
+ Style/MultilineArrayBraceLayout:
210
+ Enabled: false
211
+ Style/MultilineAssignmentLayout:
212
+ Enabled: false
213
+ Style/MultilineBlockChain:
214
+ Enabled: false
215
+ Style/MultilineBlockLayout:
216
+ Enabled: false
217
+ Style/MultilineHashBraceLayout:
218
+ Enabled: false
219
+ Style/MultilineIfThen:
220
+ Enabled: false
221
+ Style/MultilineMethodCallBraceLayout:
222
+ Enabled: false
223
+ Style/MultilineMethodCallIndentation:
224
+ Enabled: false
225
+ Style/MultilineMethodDefinitionBraceLayout:
226
+ Enabled: false
227
+ Style/MultilineOperationIndentation:
228
+ Enabled: false
229
+ Style/MultilineTernaryOperator:
230
+ Enabled: false
231
+ Style/MutableConstant:
232
+ Enabled: false
233
+ Style/NegatedIf:
234
+ Enabled: false
235
+ Style/NegatedWhile:
236
+ Enabled: false
237
+ Style/NestedParenthesizedCalls:
238
+ Enabled: false
239
+ Style/NestedTernaryOperator:
240
+ Enabled: false
241
+ Style/Next:
242
+ Enabled: false
243
+ Style/NilComparison:
244
+ Enabled: false
245
+ Style/NonNilCheck:
246
+ Enabled: false
247
+ Style/Not:
248
+ Enabled: false
249
+ Style/NumericLiteralPrefix:
250
+ Enabled: false
251
+ Style/NumericLiterals:
252
+ Enabled: false
253
+ Style/NumericPredicate:
254
+ Enabled: false
255
+ Style/OneLineConditional:
256
+ Enabled: false
257
+ Style/OpMethod:
258
+ Enabled: false
259
+ Style/OptionalArguments:
260
+ Enabled: false
261
+ Style/OptionHash:
262
+ Enabled: false
263
+ Style/ParallelAssignment:
264
+ Enabled: false
265
+ Style/PercentLiteralDelimiters:
266
+ Enabled: false
267
+ Style/PercentQLiterals:
268
+ Enabled: false
269
+ Style/PerlBackrefs:
270
+ Enabled: false
271
+ Style/PredicateName:
272
+ Enabled: false
273
+ Style/PreferredHashMethods:
274
+ Enabled: false
275
+ Style/Proc:
276
+ Enabled: false
277
+ Style/RaiseArgs:
278
+ Enabled: false
279
+ Style/RedundantBegin:
280
+ Enabled: false
281
+ Style/RedundantException:
282
+ Enabled: false
283
+ Style/RedundantParentheses:
284
+ Enabled: false
285
+ Style/RedundantReturn:
286
+ Enabled: false
287
+ Style/RedundantSelf:
288
+ Enabled: false
289
+ Style/RegexpLiteral:
290
+ Enabled: false
291
+ Style/RescueEnsureAlignment:
292
+ Enabled: false
293
+ Style/RescueModifier:
294
+ Enabled: false
295
+ Style/Semicolon:
296
+ Enabled: false
297
+ Style/Send:
298
+ Enabled: false
299
+ Style/SignalException:
300
+ Enabled: false
301
+ Style/SingleLineBlockParams:
302
+ Enabled: false
303
+ Style/SingleLineMethods:
304
+ Enabled: false
305
+ Style/SpaceAfterColon:
306
+ Enabled: false
307
+ Style/SpaceAfterComma:
308
+ Enabled: false
309
+ Style/SpaceAfterMethodName:
310
+ Enabled: false
311
+ Style/SpaceAfterNot:
312
+ Enabled: false
313
+ Style/SpaceAfterSemicolon:
314
+ Enabled: false
315
+ Style/SpaceAroundBlockParameters:
316
+ Enabled: false
317
+ Style/SpaceAroundEqualsInParameterDefault:
318
+ Enabled: false
319
+ Style/SpaceAroundKeyword:
320
+ Enabled: false
321
+ Style/SpaceAroundOperators:
322
+ Enabled: false
323
+ Style/SpaceBeforeBlockBraces:
324
+ Enabled: false
325
+ Style/SpaceBeforeComma:
326
+ Enabled: false
327
+ Style/SpaceBeforeComment:
328
+ Enabled: false
329
+ Style/SpaceBeforeFirstArg:
330
+ Enabled: false
331
+ Style/SpaceBeforeSemicolon:
332
+ Enabled: false
333
+ Style/SpaceInsideArrayPercentLiteral:
334
+ Enabled: false
335
+ Style/SpaceInsideBlockBraces:
336
+ Enabled: false
337
+ Style/SpaceInsideBrackets:
338
+ Enabled: false
339
+ Style/SpaceInsideHashLiteralBraces:
340
+ Enabled: false
341
+ Style/SpaceInsideParens:
342
+ Enabled: false
343
+ Style/SpaceInsidePercentLiteralDelimiters:
344
+ Enabled: false
345
+ Style/SpaceInsideRangeLiteral:
346
+ Enabled: false
347
+ Style/SpaceInsideStringInterpolation:
348
+ Enabled: false
349
+ Style/SpecialGlobalVars:
350
+ Enabled: false
351
+ Style/StabbyLambdaParentheses:
352
+ Enabled: false
353
+ Style/StringLiterals:
354
+ Enabled: false
355
+ Style/StringLiteralsInInterpolation:
356
+ Enabled: false
357
+ Style/StringMethods:
358
+ Enabled: false
359
+ Style/StructInheritance:
360
+ Enabled: false
361
+ Style/SymbolArray:
362
+ Enabled: false
363
+ Style/SymbolLiteral:
364
+ Enabled: false
365
+ Style/SymbolProc:
366
+ Enabled: false
367
+ Style/TernaryParentheses:
368
+ Enabled: false
369
+ Style/TrailingBlankLines:
370
+ Enabled: false
371
+ Style/TrailingCommaInArguments:
372
+ Enabled: false
373
+ Style/TrailingCommaInLiteral:
374
+ Enabled: false
375
+ Style/TrailingUnderscoreVariable:
376
+ Enabled: false
377
+ Style/TrailingWhitespace:
378
+ Enabled: false
379
+ Style/TrivialAccessors:
380
+ Enabled: false
381
+ Style/UnlessElse:
382
+ Enabled: false
383
+ Style/UnneededInterpolation:
384
+ Enabled: false
385
+ Style/UnneededPercentQ:
386
+ Enabled: false
387
+ Style/VariableName:
388
+ Enabled: false
389
+ Style/VariableNumber:
390
+ Enabled: false
391
+ Style/WhenThen:
392
+ Enabled: false
393
+ Style/WhileUntilDo:
394
+ Enabled: false
395
+ Style/WhileUntilModifier:
396
+ Enabled: false
397
+ Style/WordArray:
398
+ Enabled: false
399
+ Style/ZeroLengthPredicate:
400
+ Enabled: false
@@ -0,0 +1,12 @@
1
+ # To use the MeowCop gem.
2
+ inherit_gem:
3
+ meowcop:
4
+ - config/rubocop.yml
5
+
6
+
7
+ # You can customize rubocop settings.
8
+ # For example.
9
+
10
+ Style/FrozenStringLiteralComment:
11
+ Enabled: true
12
+ EnforcedStyle: always
data/lib/meowcop.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "meowcop/version"
2
+
3
+ module Meowcop
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Meowcop
2
+ VERSION = "1.0.0"
3
+ end
data/meowcop.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'meowcop/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "meowcop"
8
+ spec.version = Meowcop::VERSION
9
+ spec.authors = ["Masataka Kuwabara"]
10
+ spec.email = ["p.ck.t22@gmail.com"]
11
+
12
+ spec.summary = %q{MeowCop is a RuboCop configuration recommended by Actcat inc.}
13
+ spec.description = %q{MeowCop is a RuboCop configuration recommended by Actcat inc.}
14
+ spec.homepage = "https://github.com/sideci/meowcop"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.12"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: meowcop
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Masataka Kuwabara
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-09-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: MeowCop is a RuboCop configuration recommended by Actcat inc.
42
+ email:
43
+ - p.ck.t22@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Gemfile
50
+ - README.md
51
+ - Rakefile
52
+ - bin/console
53
+ - bin/setup
54
+ - config/rubocop.yml
55
+ - examples/.rubocop.yml
56
+ - lib/meowcop.rb
57
+ - lib/meowcop/version.rb
58
+ - meowcop.gemspec
59
+ homepage: https://github.com/sideci/meowcop
60
+ licenses: []
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.5.1
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: MeowCop is a RuboCop configuration recommended by Actcat inc.
82
+ test_files: []