fablicop 1.0.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/run-ci.yml +36 -0
- data/.rspec +3 -0
- data/.rubocop.yml +4 -2
- data/Gemfile +2 -0
- data/README.md +30 -18
- data/Rakefile +4 -2
- data/bin/console +4 -3
- data/config/.base_rubocop.yml +45 -39
- data/exe/fablicop +4 -3
- data/fablicop.gemspec +24 -19
- data/lib/fablicop/cli.rb +13 -9
- data/lib/fablicop/version.rb +3 -1
- data/lib/fablicop.rb +4 -2
- data/templates/.rubocop.yml +0 -4
- metadata +38 -9
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe2a343729be8bc5a9ff715f293c3f3916def3b911a1302bccd7adb2a68ca2e3
|
4
|
+
data.tar.gz: 5588496cc37ec53e17a98a97ccff2304c51b82851aae17b1327bf3e526b7c824
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08abd81328aba9fd74384bece20fdc80c8ed0cf9b10cb18a8712123e8c33a15d54999a706f154c20d937ab97712a5bae539fc298d7423b439a972539f1f830b7'
|
7
|
+
data.tar.gz: b3e31118f19b5c779afd35b258c77e91e65a8996cb2838ecf5c1a983ae43e40d9cab3617165708126e0b050635137dde123d7cabff8c244bebdf6a75d6669170
|
@@ -0,0 +1,17 @@
|
|
1
|
+
version: 2
|
2
|
+
updates:
|
3
|
+
- package-ecosystem: bundler
|
4
|
+
directory: "/"
|
5
|
+
schedule:
|
6
|
+
interval: daily
|
7
|
+
time: "09:00"
|
8
|
+
timezone: Asia/Tokyo
|
9
|
+
- package-ecosystem: github-actions
|
10
|
+
directory: "/"
|
11
|
+
schedule:
|
12
|
+
interval: weekly
|
13
|
+
time: "09:00"
|
14
|
+
timezone: Asia/Tokyo
|
15
|
+
ignore:
|
16
|
+
- dependency-name: "*"
|
17
|
+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
|
@@ -0,0 +1,36 @@
|
|
1
|
+
name: Run CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: ["master"]
|
6
|
+
tags: ["**"]
|
7
|
+
pull_request:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
'run-ci':
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
fail-fast: false
|
14
|
+
matrix:
|
15
|
+
ruby: ["2.5", "2.6", "2.7", "3.0"]
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
bundler-cache: true
|
22
|
+
- run: bundle exec rspec
|
23
|
+
|
24
|
+
lint:
|
25
|
+
runs-on: ubuntu-latest
|
26
|
+
strategy:
|
27
|
+
fail-fast: false
|
28
|
+
matrix:
|
29
|
+
ruby: ["2.5", "2.6", "2.7", "3.0"]
|
30
|
+
steps:
|
31
|
+
- uses: actions/checkout@v2
|
32
|
+
- uses: ruby/setup-ruby@v1
|
33
|
+
with:
|
34
|
+
ruby-version: ${{ matrix.ruby }}
|
35
|
+
bundler-cache: true
|
36
|
+
- run: bundle exec rubocop
|
data/.rspec
ADDED
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,39 +1,51 @@
|
|
1
1
|
# fablicop
|
2
2
|
|
3
3
|
fablicop is a RuboCop configration gem.
|
4
|
+
It assumes your project is using Ruby on Rails and RSpec, so some Cops prefixed with `Rails` and `RSpec` are enabled out of the box.
|
5
|
+
In other words, it's not appropriate to use it with non-Rails projects.
|
4
6
|
|
5
|
-
##
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
You can install fablicop with this command:
|
10
|
+
|
11
|
+
```console
|
12
|
+
gem install fablicop
|
13
|
+
```
|
14
|
+
|
15
|
+
Or, run `bundle install` after adding this line to your application's Gemfile:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
gem 'fablicop', require: false
|
19
|
+
```
|
20
|
+
|
21
|
+
## Getting started
|
6
22
|
|
7
|
-
|
23
|
+
Set up `.rubocop.yml` with the command below.
|
8
24
|
|
9
|
-
```
|
10
|
-
|
25
|
+
```console
|
26
|
+
fablicop init
|
11
27
|
```
|
12
28
|
|
13
|
-
`init`
|
29
|
+
`init` generates the following directive to your `.rubocop.yml`:
|
14
30
|
|
15
31
|
```yaml
|
16
32
|
inherit_gem:
|
17
33
|
fablicop:
|
18
34
|
- "config/.base_rubocop.yml"
|
19
|
-
# uncomment if use rails cops
|
20
|
-
# - "config/rails.yml"
|
21
|
-
# uncomment if use rspec cops
|
22
|
-
# - "config/rspec.yml"
|
23
35
|
```
|
24
36
|
|
25
|
-
|
26
|
-
bundle exec rubocop <options...>
|
27
|
-
```
|
37
|
+
## Usage
|
28
38
|
|
29
|
-
|
39
|
+
After configuration, your RuboCop now sees fablicop's configuration. Just run `rubocop` as usual.
|
40
|
+
|
41
|
+
```console
|
42
|
+
rubocop
|
43
|
+
```
|
30
44
|
|
31
|
-
|
45
|
+
Or, prefix `bundle exec`.
|
32
46
|
|
33
|
-
```
|
34
|
-
|
35
|
-
gem "fablicop", require: false
|
36
|
-
end
|
47
|
+
```console
|
48
|
+
bundle exec rubocop
|
37
49
|
```
|
38
50
|
|
39
51
|
## Contributing
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'fablicop'
|
5
6
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +11,5 @@ require "fablicop"
|
|
10
11
|
# require "pry"
|
11
12
|
# Pry.start
|
12
13
|
|
13
|
-
require
|
14
|
+
require 'irb'
|
14
15
|
IRB.start
|
data/config/.base_rubocop.yml
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rails
|
3
|
+
- rubocop-rspec
|
3
4
|
|
4
|
-
#
|
5
|
+
# We exclude files that are generated automatically or test data.
|
5
6
|
AllCops:
|
6
7
|
Exclude:
|
7
|
-
- "vendor/**/*"
|
8
|
+
- "vendor/**/*"
|
8
9
|
- "db/schema.rb"
|
9
10
|
- "db/migrate/*"
|
10
11
|
- "db/fixtures/**/*"
|
@@ -13,12 +14,12 @@ AllCops:
|
|
13
14
|
- "spec/test_app/db/*"
|
14
15
|
|
15
16
|
DisplayCopNames: true
|
16
|
-
NewCops: enable
|
17
|
+
NewCops: enable
|
17
18
|
|
18
19
|
Rails:
|
19
20
|
Enabled: true
|
20
21
|
|
21
|
-
# rails >= 5
|
22
|
+
# For rails >= 5. TODO: This should be enabled in my opinion.
|
22
23
|
Rails/HttpPositionalArguments:
|
23
24
|
Enabled: false
|
24
25
|
|
@@ -38,11 +39,11 @@ Gemspec/OrderedDependencies:
|
|
38
39
|
|
39
40
|
##################### Style ##################################
|
40
41
|
|
41
|
-
#
|
42
|
+
# We sometimes use non-ascii comments.
|
42
43
|
Style/AsciiComments:
|
43
44
|
Enabled: false
|
44
45
|
|
45
|
-
#
|
46
|
+
# We prefer trailing comma all the time.
|
46
47
|
Style/TrailingCommaInArrayLiteral:
|
47
48
|
EnforcedStyleForMultiline: comma
|
48
49
|
Style/TrailingCommaInHashLiteral:
|
@@ -50,32 +51,22 @@ Style/TrailingCommaInHashLiteral:
|
|
50
51
|
Style/TrailingCommaInArguments:
|
51
52
|
EnforcedStyleForMultiline: comma
|
52
53
|
|
53
|
-
#
|
54
|
+
# We sometimes omit the top-level documentation for classes/modules.
|
54
55
|
Style/Documentation:
|
55
56
|
Enabled: false
|
56
57
|
|
57
|
-
# self
|
58
|
+
# We sometimes want to use `self` anyway.
|
58
59
|
Style/RedundantSelf:
|
59
60
|
Enabled: false
|
60
61
|
|
61
|
-
#
|
62
|
+
# We want to allow the code like this:
|
63
|
+
#
|
62
64
|
# xs.select {
|
63
65
|
# f x
|
64
66
|
# }.map { |x|
|
65
67
|
# f x
|
66
68
|
# f x
|
67
69
|
# }.compact
|
68
|
-
# Rubocopの意図としては、おそらく
|
69
|
-
# * ブロックのあとにメソッドをチェインされると読みにくい(主観)
|
70
|
-
# * ブロックの終わりを`}`ではなく`end`にすることで、defとかifとかと終了を揃える
|
71
|
-
# だと思うけど、むしろ一旦変数に入れて改めてメソッド適用する方がかえって読みにくいと思うし(主観)、
|
72
|
-
# 返り値を使う場合はブロックの終わりをendにせず}にしないとメソッド結合順序の関係などでやばいので
|
73
|
-
# Style/BlockDelimitersとStyle/MultilineBlockChainはよくないと判断。
|
74
|
-
#
|
75
|
-
# 「返り値を目的とするブロック引数」には{}を、「副作用を目的とするブロック引数」にはdo/endを
|
76
|
-
# 使うようにすると、可読性的にもメソッドの結合順序的にも実用上便利。
|
77
|
-
# これが正しく運用されてるかどうかはgrammerではなくsemanticの話なので、レビュワーの人間が
|
78
|
-
# 見ることになり、それは直感的な気がする (再び主観)
|
79
70
|
Style/BlockDelimiters:
|
80
71
|
Enabled: false
|
81
72
|
Style/MultilineBlockChain:
|
@@ -83,7 +74,7 @@ Style/MultilineBlockChain:
|
|
83
74
|
Style/EmptyMethod:
|
84
75
|
Enabled: false
|
85
76
|
|
86
|
-
#
|
77
|
+
# We sometimes want to use empty case when there are many conditions.
|
87
78
|
Style/EmptyCaseCondition:
|
88
79
|
Enabled: false
|
89
80
|
|
@@ -99,19 +90,19 @@ Style/MethodCallWithoutArgsParentheses:
|
|
99
90
|
Style/DefWithParentheses:
|
100
91
|
Enabled: false
|
101
92
|
|
102
|
-
#
|
93
|
+
# This might not be a style cop because errors happen due to the order of tests with nested classes/modules.
|
103
94
|
Style/ClassAndModuleChildren:
|
104
95
|
Exclude:
|
105
96
|
- "test/**/*.rb"
|
106
97
|
- "spec/**/*.rb"
|
107
98
|
|
108
|
-
#
|
99
|
+
# This style differs from the expression of SQL.
|
109
100
|
Style/NumericLiterals:
|
110
101
|
Exclude:
|
111
102
|
- "db/fixtures/*.rb"
|
112
103
|
|
113
104
|
##################### Layout ##################################
|
114
|
-
#
|
105
|
+
# We sometimes want to put multiple spaces before arguments.
|
115
106
|
Layout/SpaceBeforeFirstArg:
|
116
107
|
Enabled: false
|
117
108
|
Layout/SpaceInLambdaLiteral:
|
@@ -119,7 +110,8 @@ Layout/SpaceInLambdaLiteral:
|
|
119
110
|
Layout/HeredocIndentation:
|
120
111
|
Enabled: false
|
121
112
|
|
122
|
-
#
|
113
|
+
# We want to allow various expression for arguments.
|
114
|
+
#
|
123
115
|
# foo(a,
|
124
116
|
# b
|
125
117
|
# )
|
@@ -134,7 +126,9 @@ Layout/HeredocIndentation:
|
|
134
126
|
# b)
|
135
127
|
Layout/MultilineMethodCallBraceLayout:
|
136
128
|
Enabled: false
|
137
|
-
|
129
|
+
|
130
|
+
# We don't want to enforce various method calls.
|
131
|
+
#
|
138
132
|
# while a
|
139
133
|
# .b
|
140
134
|
# something
|
@@ -153,27 +147,30 @@ Layout/MultilineMethodCallBraceLayout:
|
|
153
147
|
Layout/MultilineMethodCallIndentation:
|
154
148
|
Enabled: false
|
155
149
|
|
150
|
+
# Sometimes, we want to write like this:
|
151
|
+
#
|
156
152
|
# aaa(bbb(
|
157
153
|
# ccc
|
158
154
|
# ))
|
159
|
-
# 的なのができないのは不便すぎるのでdisable
|
160
155
|
Layout/FirstParameterIndentation:
|
161
156
|
Enabled: false
|
162
157
|
|
163
|
-
#
|
158
|
+
# We want to allow both of them:
|
159
|
+
#
|
164
160
|
# aaa.
|
165
161
|
# bb().
|
166
162
|
# cc()
|
167
163
|
# aaa
|
168
164
|
# .bb()
|
169
165
|
# .cc()
|
170
|
-
#
|
171
|
-
#
|
166
|
+
#
|
167
|
+
# The first one allows us to insert comments, and it would be convenient.
|
168
|
+
# The second one is the default of this Cop.
|
172
169
|
Layout/DotPosition:
|
173
170
|
Enabled: false
|
174
171
|
|
175
|
-
# fixture
|
176
|
-
#
|
172
|
+
# We want to consistently write fixture files with the rule: 1 line for 1 record.
|
173
|
+
# It's not intuitive with multiple lines.
|
177
174
|
Layout/ClosingParenthesisIndentation:
|
178
175
|
Exclude:
|
179
176
|
- "db/fixtures/*.rb"
|
@@ -181,30 +178,27 @@ Layout/ParameterAlignment:
|
|
181
178
|
Exclude:
|
182
179
|
- "db/fixtures/*.rb"
|
183
180
|
|
184
|
-
# * 警告 120文字
|
185
|
-
# * 禁止 160文字
|
186
|
-
# のイメージ
|
187
181
|
Layout/LineLength:
|
188
182
|
Max: 160
|
189
183
|
Exclude:
|
190
184
|
- "db/migrate/*.rb"
|
191
|
-
- "db/fixtures/*.rb" #
|
185
|
+
- "db/fixtures/*.rb" # Fixture files usually include long lines.
|
192
186
|
|
193
187
|
##################### Lint ##################################
|
194
188
|
|
195
|
-
#
|
189
|
+
# We sometimes want to put spaces before arguments.
|
196
190
|
Lint/ParenthesesAsGroupedExpression:
|
197
191
|
Enabled: false
|
198
192
|
|
199
193
|
##################### Metrics ##################################
|
200
194
|
|
201
|
-
# 20
|
195
|
+
# There is something wrong with more than 20 lines aside from migration files.
|
202
196
|
Metrics/MethodLength:
|
203
197
|
Max: 20
|
204
198
|
Exclude:
|
205
199
|
- "db/migrate/*.rb"
|
206
200
|
|
207
|
-
#
|
201
|
+
# We want to measure this metrics without keyword arguments.
|
208
202
|
Metrics/ParameterLists:
|
209
203
|
CountKeywordArgs: false
|
210
204
|
|
@@ -216,10 +210,22 @@ Metrics/BlockLength:
|
|
216
210
|
- "app/admin/*.rb"
|
217
211
|
- "config/**/*.rb"
|
218
212
|
|
213
|
+
# We discussed internally about this parameter and decided to follow this configuration.
|
214
|
+
# https://github.com/onk/onkcop/blob/8066859d3d00328146c1da9e57bdd4a951974ef2/config/rubocop.yml#L113-L116
|
219
215
|
Metrics/AbcSize:
|
216
|
+
Max: 20
|
220
217
|
Exclude:
|
221
218
|
- "test/**/*.rb"
|
222
219
|
|
223
220
|
Metrics/ClassLength:
|
224
221
|
Exclude:
|
225
222
|
- "test/**/*.rb"
|
223
|
+
|
224
|
+
# Does the variable name for an exception object really matter?
|
225
|
+
# There are many things to think about before taking care of it.
|
226
|
+
Naming/RescuedExceptionsVariableName:
|
227
|
+
Enabled: false
|
228
|
+
|
229
|
+
# disabling to not to show errors if there is no when/with/without in the context
|
230
|
+
RSpec/ContextWording:
|
231
|
+
Enabled: false
|
data/exe/fablicop
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
$LOAD_PATH.
|
4
|
+
$LOAD_PATH.prepend File.join(__dir__.to_s, '..', 'lib')
|
4
5
|
|
5
6
|
# Exit cleanly from an early interrupt
|
6
|
-
Signal.trap(
|
7
|
+
Signal.trap('INT') { exit 1 }
|
7
8
|
|
8
|
-
require
|
9
|
+
require 'fablicop'
|
9
10
|
|
10
11
|
Fablicop::CLI.start(ARGV)
|
data/fablicop.gemspec
CHANGED
@@ -1,38 +1,43 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'fablicop/version'
|
5
6
|
|
6
7
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
8
|
+
spec.name = 'fablicop'
|
8
9
|
spec.version = Fablicop::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
10
|
+
spec.authors = %w[tommy ujihisa sinamon129]
|
11
|
+
spec.email = ['kazushige_tominaga@fablic.co.jp', 'tatsuhiro_ujihisa@fablic.co.jp', 'shihomi_katayama@fablic.co.jp']
|
11
12
|
|
12
|
-
spec.summary =
|
13
|
-
spec.description =
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
13
|
+
spec.summary = 'fablicop is a RuboCop configration gem. '
|
14
|
+
spec.description = 'fablicop is a RuboCop configration gem.'
|
15
|
+
spec.homepage = 'https://github.com/Fablic/fablicop'
|
16
|
+
spec.license = 'MIT'
|
16
17
|
|
17
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
19
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
#if spec.respond_to?(:metadata)
|
20
|
+
# if spec.respond_to?(:metadata)
|
20
21
|
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
#else
|
22
|
+
# else
|
22
23
|
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
24
|
# "public gem pushes."
|
24
|
-
#end
|
25
|
+
# end
|
25
26
|
|
26
27
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
28
|
f.match(%r{^(test|spec|features)/})
|
28
29
|
end
|
29
|
-
spec.bindir =
|
30
|
+
spec.bindir = 'exe'
|
30
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = [
|
32
|
+
spec.require_paths = ['lib']
|
33
|
+
|
34
|
+
spec.required_ruby_version = '>= 2.5.0'
|
32
35
|
|
33
|
-
spec.add_dependency
|
34
|
-
spec.add_dependency
|
35
|
-
spec.add_dependency
|
36
|
-
spec.add_development_dependency
|
37
|
-
spec.add_development_dependency
|
36
|
+
spec.add_dependency 'rubocop', '~> 1.14.0'
|
37
|
+
spec.add_dependency 'rubocop-rspec', '>= 1.15.1'
|
38
|
+
spec.add_dependency 'rubocop-rails'
|
39
|
+
spec.add_development_dependency 'bundler'
|
40
|
+
spec.add_development_dependency 'rspec'
|
41
|
+
spec.add_development_dependency 'rake'
|
42
|
+
spec.add_development_dependency 'byebug'
|
38
43
|
end
|
data/lib/fablicop/cli.rb
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'fileutils'
|
4
|
+
|
2
5
|
module Fablicop
|
3
6
|
class CLI
|
4
7
|
def self.start(args)
|
@@ -17,26 +20,27 @@ module Fablicop
|
|
17
20
|
puts "Could not find command #{action_name}."
|
18
21
|
print_help
|
19
22
|
exit(1)
|
20
|
-
rescue => e
|
23
|
+
rescue StandardError => e
|
21
24
|
puts e.message
|
22
25
|
exit(1)
|
23
26
|
end
|
24
27
|
|
25
28
|
def self.retrieve_command_name(args)
|
26
29
|
meth = args.first.to_s unless args.empty?
|
27
|
-
args.shift if meth && (meth !~
|
30
|
+
args.shift if meth && (meth !~ /^-/)
|
28
31
|
end
|
29
32
|
|
30
33
|
def self.print_help
|
31
|
-
puts
|
32
|
-
puts
|
34
|
+
puts 'fablicop commands:'
|
35
|
+
puts ' init - Setup .rubocop.yml'
|
33
36
|
end
|
34
37
|
|
35
|
-
CONFIG_FILE_NAME =
|
38
|
+
CONFIG_FILE_NAME = '.rubocop.yml'
|
36
39
|
def init(args)
|
37
|
-
raise
|
38
|
-
|
39
|
-
|
40
|
+
raise 'usage: fablicop init' unless args.empty?
|
41
|
+
|
42
|
+
template_path = File.expand_path('../../templates', __dir__)
|
43
|
+
puts "#{File.exist?(CONFIG_FILE_NAME) ? 'overwrite' : 'create'} #{CONFIG_FILE_NAME}"
|
40
44
|
FileUtils.copy_file(File.join(template_path, CONFIG_FILE_NAME), CONFIG_FILE_NAME)
|
41
45
|
end
|
42
46
|
end
|
data/lib/fablicop/version.rb
CHANGED
data/lib/fablicop.rb
CHANGED
data/templates/.rubocop.yml
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fablicop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tommy
|
8
8
|
- ujihisa
|
9
9
|
- sinamon129
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-12-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -68,6 +68,20 @@ dependencies:
|
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
71
85
|
- !ruby/object:Gem::Dependency
|
72
86
|
name: rake
|
73
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,6 +96,20 @@ dependencies:
|
|
82
96
|
- - ">="
|
83
97
|
- !ruby/object:Gem::Version
|
84
98
|
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: byebug
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
85
113
|
description: fablicop is a RuboCop configration gem.
|
86
114
|
email:
|
87
115
|
- kazushige_tominaga@fablic.co.jp
|
@@ -92,9 +120,11 @@ executables:
|
|
92
120
|
extensions: []
|
93
121
|
extra_rdoc_files: []
|
94
122
|
files:
|
123
|
+
- ".github/dependabot.yml"
|
124
|
+
- ".github/workflows/run-ci.yml"
|
95
125
|
- ".gitignore"
|
126
|
+
- ".rspec"
|
96
127
|
- ".rubocop.yml"
|
97
|
-
- ".ruby-version"
|
98
128
|
- CODE_OF_CONDUCT.md
|
99
129
|
- Gemfile
|
100
130
|
- LICENSE.txt
|
@@ -113,7 +143,7 @@ homepage: https://github.com/Fablic/fablicop
|
|
113
143
|
licenses:
|
114
144
|
- MIT
|
115
145
|
metadata: {}
|
116
|
-
post_install_message:
|
146
|
+
post_install_message:
|
117
147
|
rdoc_options: []
|
118
148
|
require_paths:
|
119
149
|
- lib
|
@@ -121,16 +151,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
151
|
requirements:
|
122
152
|
- - ">="
|
123
153
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
154
|
+
version: 2.5.0
|
125
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
156
|
requirements:
|
127
157
|
- - ">="
|
128
158
|
- !ruby/object:Gem::Version
|
129
159
|
version: '0'
|
130
160
|
requirements: []
|
131
|
-
|
132
|
-
|
133
|
-
signing_key:
|
161
|
+
rubygems_version: 3.2.32
|
162
|
+
signing_key:
|
134
163
|
specification_version: 4
|
135
164
|
summary: fablicop is a RuboCop configration gem.
|
136
165
|
test_files: []
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.5
|