fablicop 1.0.7 → 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: 866e22f81f324370afbf9661a8d8aac460b60891ed3f315f94fd6a6b3331771a
4
- data.tar.gz: e847ed2393c95059463139c796eee5be93ec3ec3340649edbd4dd26cda6b345d
3
+ metadata.gz: 6569d42b358ee7df8ca5eabfa95d57750e05dd57cb80f2994f54b9cab6658816
4
+ data.tar.gz: 36dbc034a61fe4c3d972d3b5fdfc53603cfc1fed4bdf1ae58f22c64ab3c98977
5
5
  SHA512:
6
- metadata.gz: 633a8019e167b8449f9d9d52dcc8d0f3525f84c181e044ccef115ad343ad581f5dd79547d3749a542af0030db283c8178e0676b6d10486f6e1ea37a921514f96
7
- data.tar.gz: 1d0c7cf21026ed0ab62b448b67d536823b378b5c4a29ebfeade756a75c65e110953d45fb9e6156e26c270d365e0640adb57702d2d932d4ac5ef365a696eecc5e
6
+ metadata.gz: dc26ed8cebee6f4bbbe62e7d34f42a244badecafcbae9c58c63a011e50a2b612d431f51d8202351031594ca55e2e48d4d2ef8c1eb9daca52c065801f39c31204
7
+ data.tar.gz: ecb8d33f436d7b3c4e1d657b57438785952a6038d8eb055ca777a9ddf04bf091f734d7d32447364eccddcd58871363a7d24b15b16da2ebcf88d9828c6b3a4f4b
@@ -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
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml CHANGED
@@ -1,2 +1,4 @@
1
- inherit_gem:
2
- fablicop: "config/base_rubocop.yml"
1
+ inherit_from: config/.base_rubocop.yml
2
+
3
+ Rails:
4
+ Enabled: false
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in fablicop.gemspec
data/README.md CHANGED
@@ -1,42 +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, so some Cops prefixed with `Rails` are enabled out of the box.
5
+ In other words, it's not appropriate to use it with non-Rails projects.
4
6
 
5
- ## Usage
7
+ ## Installation
6
8
 
7
- Setup .rubocop.yml
9
+ You can install fablicop with this command:
8
10
 
9
- ```sh
10
- bundle exec fablicop init
11
+ ```console
12
+ gem install fablicop
11
13
  ```
12
14
 
13
- `init` generate the following directive to your `.rubocop.yml`:
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
22
+
23
+ Set up `.rubocop.yml` with the command below.
24
+
25
+ ```console
26
+ fablicop init
27
+ ```
28
+
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
-
24
- AllCops:
25
- TargetRubyVersion: 2.3
26
35
  ```
27
36
 
28
- ```sh
29
- bundle exec rubocop <options...>
30
- ```
37
+ ## Usage
31
38
 
32
- ## Installation
39
+ After configuration, your RuboCop now sees fablicop's configuration. Just run `rubocop` as usual.
40
+
41
+ ```console
42
+ rubocop
43
+ ```
33
44
 
34
- Add this line to your application's Gemfile:
45
+ Or, prefix `bundle exec`.
35
46
 
36
- ```ruby
37
- group :development do
38
- gem "fablicop", require: false
39
- end
47
+ ```console
48
+ bundle exec rubocop
40
49
  ```
41
50
 
42
51
  ## Contributing
data/Rakefile CHANGED
@@ -1,2 +1,4 @@
1
- require "bundler/gem_tasks"
2
- task :default => :spec
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ task default: :spec
data/bin/console CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require "bundler/setup"
4
- require "fablicop"
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 "irb"
14
+ require 'irb'
14
15
  IRB.start
@@ -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/**/*" # rubocop config/default.yml
8
+ - "vendor/**/*"
8
9
  - "db/schema.rb"
9
10
  - "db/migrate/*"
10
11
  - "db/fixtures/**/*"
@@ -13,21 +14,36 @@ AllCops:
13
14
  - "spec/test_app/db/*"
14
15
 
15
16
  DisplayCopNames: true
16
- TargetRubyVersion: 2.5
17
- NewCops: enable # 新しい規約も随時取り入れる
17
+ NewCops: enable
18
+
18
19
  Rails:
19
20
  Enabled: true
20
- # rails >= 5 の設定のため
21
+
22
+ # For rails >= 5. TODO: This should be enabled in my opinion.
21
23
  Rails/HttpPositionalArguments:
22
24
  Enabled: false
23
25
 
26
+ Rails/InverseOf:
27
+ Enabled: false
28
+
29
+ Rails/UnknownEnv:
30
+ Environments:
31
+ - production
32
+ - staging
33
+ - development
34
+ - local
35
+ - test
36
+
37
+ Gemspec/OrderedDependencies:
38
+ Enabled: false
39
+
24
40
  ##################### Style ##################################
25
41
 
26
- # 日本語のコメントを許可する
42
+ # We sometimes use non-ascii comments.
27
43
  Style/AsciiComments:
28
44
  Enabled: false
29
45
 
30
- # 複数行の場合は末尾にカンマを入れる
46
+ # We prefer trailing comma all the time.
31
47
  Style/TrailingCommaInArrayLiteral:
32
48
  EnforcedStyleForMultiline: comma
33
49
  Style/TrailingCommaInHashLiteral:
@@ -35,39 +51,67 @@ Style/TrailingCommaInHashLiteral:
35
51
  Style/TrailingCommaInArguments:
36
52
  EnforcedStyleForMultiline: comma
37
53
 
38
- # class先頭のコメントを省略する
54
+ # We sometimes omit the top-level documentation for classes/modules.
39
55
  Style/Documentation:
40
56
  Enabled: false
41
57
 
42
- # selfは省略しない
58
+ # We sometimes want to use `self` anyway.
43
59
  Style/RedundantSelf:
44
60
  Enabled: false
45
61
 
46
- # 以下の2つのあわせ技で、こういうのを許可
62
+ # We want to allow the code like this:
63
+ #
47
64
  # xs.select {
48
65
  # f x
49
66
  # }.map { |x|
50
67
  # f x
51
68
  # f x
52
69
  # }.compact
53
- # Rubocopの意図としては、おそらく
54
- # * ブロックのあとにメソッドをチェインされると読みにくい(主観)
55
- # * ブロックの終わりを`}`ではなく`end`にすることで、defとかifとかと終了を揃える
56
- # だと思うけど、むしろ一旦変数に入れて改めてメソッド適用する方がかえって読みにくいと思うし(主観)、
57
- # 返り値を使う場合はブロックの終わりをendにせず}にしないとメソッド結合順序の関係などでやばいので
58
- # Style/BlockDelimitersとStyle/MultilineBlockChainはよくないと判断。
59
- #
60
- # 「返り値を目的とするブロック引数」には{}を、「副作用を目的とするブロック引数」にはdo/endを
61
- # 使うようにすると、可読性的にもメソッドの結合順序的にも実用上便利。
62
- # これが正しく運用されてるかどうかはgrammerではなくsemanticの話なので、レビュワーの人間が
63
- # 見ることになり、それは直感的な気がする (再び主観)
64
70
  Style/BlockDelimiters:
65
71
  Enabled: false
66
72
  Style/MultilineBlockChain:
67
73
  Enabled: false
68
74
  Style/EmptyMethod:
69
75
  Enabled: false
70
- # 引数の書き方の多様性を許可
76
+
77
+ # We sometimes want to use empty case when there are many conditions.
78
+ Style/EmptyCaseCondition:
79
+ Enabled: false
80
+
81
+ Style/DoubleNegation:
82
+ Enabled: false
83
+
84
+ Style/ParallelAssignment:
85
+ Enabled: false
86
+
87
+ Style/MethodCallWithoutArgsParentheses:
88
+ Enabled: false
89
+
90
+ Style/DefWithParentheses:
91
+ Enabled: false
92
+
93
+ # This might not be a style cop because errors happen due to the order of tests with nested classes/modules.
94
+ Style/ClassAndModuleChildren:
95
+ Exclude:
96
+ - "test/**/*.rb"
97
+ - "spec/**/*.rb"
98
+
99
+ # This style differs from the expression of SQL.
100
+ Style/NumericLiterals:
101
+ Exclude:
102
+ - "db/fixtures/*.rb"
103
+
104
+ ##################### Layout ##################################
105
+ # We sometimes want to put multiple spaces before arguments.
106
+ Layout/SpaceBeforeFirstArg:
107
+ Enabled: false
108
+ Layout/SpaceInLambdaLiteral:
109
+ Enabled: false
110
+ Layout/HeredocIndentation:
111
+ Enabled: false
112
+
113
+ # We want to allow various expression for arguments.
114
+ #
71
115
  # foo(a,
72
116
  # b
73
117
  # )
@@ -82,7 +126,9 @@ Style/EmptyMethod:
82
126
  # b)
83
127
  Layout/MultilineMethodCallBraceLayout:
84
128
  Enabled: false
85
- # メソッド指定の多様性を許可
129
+
130
+ # We don't want to enforce various method calls.
131
+ #
86
132
  # while a
87
133
  # .b
88
134
  # something
@@ -101,79 +147,58 @@ Layout/MultilineMethodCallBraceLayout:
101
147
  Layout/MultilineMethodCallIndentation:
102
148
  Enabled: false
103
149
 
150
+ # Sometimes, we want to write like this:
151
+ #
104
152
  # aaa(bbb(
105
153
  # ccc
106
154
  # ))
107
- # 的なのができないのは不便すぎるのでdisable
108
155
  Layout/FirstParameterIndentation:
109
156
  Enabled: false
110
157
 
111
- # 候補が多いときはcondみたいに使いたい
112
- Style/EmptyCaseCondition:
113
- Enabled: false
114
-
115
- Style/DoubleNegation:
116
- Enabled: false
117
-
118
- Style/ParallelAssignment:
119
- Enabled: false
120
-
121
- Style/MethodCallWithoutArgsParentheses:
122
- Enabled: false
123
-
124
- Style/DefWithParentheses:
125
- Enabled: false
126
-
127
- # 以下の両方を許容
158
+ # We want to allow both of them:
159
+ #
128
160
  # aaa.
129
161
  # bb().
130
162
  # cc()
131
163
  # aaa
132
164
  # .bb()
133
165
  # .cc()
134
- # 前者は途中にコメントをはさむことができて実用上圧倒的に便利.
135
- # 後者はデフォルトでrubocopがおすすめしてるやつ
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.
136
169
  Layout/DotPosition:
137
170
  Enabled: false
138
171
 
139
- # classが入れ子になった場合、テストの順番によってはエラーになりうる
140
- Style/ClassAndModuleChildren:
172
+ # We want to consistently write fixture files with the rule: 1 line for 1 record.
173
+ # It's not intuitive with multiple lines.
174
+ Layout/ClosingParenthesisIndentation:
141
175
  Exclude:
142
- - "test/**/*.rb"
143
- - "spec/**/*.rb"
176
+ - "db/fixtures/*.rb"
177
+ Layout/ParameterAlignment:
178
+ Exclude:
179
+ - "db/fixtures/*.rb"
144
180
 
145
- ##################### Layout ##################################
146
- # 引数前のスペースは複数許可
147
- Layout/SpaceBeforeFirstArg:
148
- Enabled: false
149
- Layout/SpaceInLambdaLiteral:
150
- Enabled: false
151
- Layout/HeredocIndentation:
152
- Enabled: false
181
+ Layout/LineLength:
182
+ Max: 160
183
+ Exclude:
184
+ - "db/migrate/*.rb"
185
+ - "db/fixtures/*.rb" # Fixture files usually include long lines.
153
186
 
154
187
  ##################### Lint ##################################
155
188
 
156
- # 引数前のスペースを許容する
189
+ # We sometimes want to put spaces before arguments.
157
190
  Lint/ParenthesesAsGroupedExpression:
158
191
  Enabled: false
159
192
 
160
193
  ##################### Metrics ##################################
161
194
 
162
- # * 警告 120文字
163
- # * 禁止 160文字
164
- # のイメージ
165
- Layout/LineLength:
166
- Max: 160
167
- Exclude:
168
- - "db/migrate/*.rb"
169
-
170
- # 20 行超えるのは migration ファイル以外滅多に無い
195
+ # There is something wrong with more than 20 lines aside from migration files.
171
196
  Metrics/MethodLength:
172
197
  Max: 20
173
198
  Exclude:
174
199
  - "db/migrate/*.rb"
175
200
 
176
- # キーワード引数は引数の数に含めない
201
+ # We want to measure this metrics without keyword arguments.
177
202
  Metrics/ParameterLists:
178
203
  CountKeywordArgs: false
179
204
 
@@ -193,16 +218,7 @@ Metrics/ClassLength:
193
218
  Exclude:
194
219
  - "test/**/*.rb"
195
220
 
196
- Rails/UnknownEnv:
197
- Environments:
198
- - production
199
- - staging
200
- - development
201
- - local
202
- - test
203
-
204
- Gemspec/OrderedDependencies:
205
- Enabled: false
206
-
207
- Rails/InverseOf:
221
+ # Does the variable name for an exception object really matter?
222
+ # There are many things to think about before taking care of it.
223
+ Naming/RescuedExceptionsVariableName:
208
224
  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.unshift File.dirname(__FILE__) + "/../lib"
4
+ $LOAD_PATH.prepend File.join(__dir__.to_s, '..', 'lib')
4
5
 
5
6
  # Exit cleanly from an early interrupt
6
- Signal.trap("INT") { exit 1 }
7
+ Signal.trap('INT') { exit 1 }
7
8
 
8
- require "fablicop"
9
+ require 'fablicop'
9
10
 
10
11
  Fablicop::CLI.start(ARGV)
data/fablicop.gemspec CHANGED
@@ -1,38 +1,43 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
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 = "fablicop"
8
+ spec.name = 'fablicop'
8
9
  spec.version = Fablicop::VERSION
9
- spec.authors = ["tommy", "ujihisa", "sinamon129"]
10
- spec.email = ["kazushige_tominaga@fablic.co.jp", "tatsuhiro_ujihisa@fablic.co.jp", "shihomi_katayama@fablic.co.jp"]
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 = "fablicop is a RuboCop configration gem. "
13
- spec.description = "fablicop is a RuboCop configration gem."
14
- spec.homepage = "https://github.com/Fablic/fablicop"
15
- spec.license = "MIT"
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 = "exe"
30
+ spec.bindir = 'exe'
30
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
32
+ spec.require_paths = ['lib']
33
+
34
+ spec.required_ruby_version = '>= 2.5.0'
32
35
 
33
- spec.add_dependency "rubocop", "~> 1.14.0"
34
- spec.add_dependency "rubocop-rspec", ">= 1.15.1"
35
- spec.add_dependency "rubocop-rails"
36
- spec.add_development_dependency "bundler"
37
- spec.add_development_dependency "rake"
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
- require "fileutils"
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 "fablicop commands:"
32
- puts " init - Setup .rubocop.yml"
34
+ puts 'fablicop commands:'
35
+ puts ' init - Setup .rubocop.yml'
33
36
  end
34
37
 
35
- CONFIG_FILE_NAME = ".rubocop.yml"
38
+ CONFIG_FILE_NAME = '.rubocop.yml'
36
39
  def init(args)
37
- raise "usage: fablicop init" unless args.empty?
38
- template_path = File.expand_path("../../templates", __dir__)
39
- puts "#{File.exist?(CONFIG_FILE_NAME) ? "overwrite" : "create"} #{CONFIG_FILE_NAME}"
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fablicop
2
- VERSION = '1.0.7'
4
+ VERSION = '1.1.1'
3
5
  end
data/lib/fablicop.rb CHANGED
@@ -1,5 +1,7 @@
1
- require "fablicop/cli"
2
- require "fablicop/version"
1
+ # frozen_string_literal: true
2
+
3
+ require 'fablicop/cli'
4
+ require 'fablicop/version'
3
5
 
4
6
  module Fablicop
5
7
  # Your code goes here...
@@ -1,10 +1,3 @@
1
1
  inherit_gem:
2
2
  fablicop:
3
3
  - "config/.base_rubocop.yml"
4
- # uncomment if use rails cops
5
- # - "config/rails.yml"
6
- # uncomment if use rspec cops
7
- # - "config/rspec.yml"
8
-
9
- AllCops:
10
- TargetRubyVersion: 2.3
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.7
4
+ version: 1.1.1
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-05-12 00:00:00.000000000 Z
13
+ date: 2021-09-01 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,10 @@ executables:
92
120
  extensions: []
93
121
  extra_rdoc_files: []
94
122
  files:
123
+ - ".github/workflows/run-ci.yml"
95
124
  - ".gitignore"
125
+ - ".rspec"
96
126
  - ".rubocop.yml"
97
- - ".ruby-version"
98
127
  - CODE_OF_CONDUCT.md
99
128
  - Gemfile
100
129
  - LICENSE.txt
@@ -113,7 +142,7 @@ homepage: https://github.com/Fablic/fablicop
113
142
  licenses:
114
143
  - MIT
115
144
  metadata: {}
116
- post_install_message:
145
+ post_install_message:
117
146
  rdoc_options: []
118
147
  require_paths:
119
148
  - lib
@@ -121,16 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
150
  requirements:
122
151
  - - ">="
123
152
  - !ruby/object:Gem::Version
124
- version: '0'
153
+ version: 2.5.0
125
154
  required_rubygems_version: !ruby/object:Gem::Requirement
126
155
  requirements:
127
156
  - - ">="
128
157
  - !ruby/object:Gem::Version
129
158
  version: '0'
130
159
  requirements: []
131
- rubyforge_project:
132
- rubygems_version: 2.7.6.2
133
- signing_key:
160
+ rubygems_version: 3.2.22
161
+ signing_key:
134
162
  specification_version: 4
135
163
  summary: fablicop is a RuboCop configration gem.
136
164
  test_files: []
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.5.5