fablicop 1.0.8 → 1.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea27b444e39bc36b38a92d397f0d04340de44d4152f32bdd0a589e2928de0bb7
4
- data.tar.gz: 963705e1dc93606803c70c571904ae87cae79e100c8d16c60b26444af2689170
3
+ metadata.gz: 4e56d78d516a2bc1e745cacfdb05bdb28919374f61b8f545cdaabef827eecaaa
4
+ data.tar.gz: 40299c61a9a532f47dc35a28e641f4073cfe125794442660c654a2f073a6fe7f
5
5
  SHA512:
6
- metadata.gz: 7537521cadc4eb33bd237009f2d191688914006f6b71baafaafe27f7ed3411502e613e7696709a895ef144ee518d9e64fafea193718f1f28ce5a959940b53a14
7
- data.tar.gz: 57bd65151b614a526133739152c679f3098cfef376e2eda81068553781d685edda9deb1277ede298185eb9436cf415f2dcfcf4b7ef806cb1c501a4548074d6c3
6
+ metadata.gz: 9ddccb4c76956469e60c0e17c1980a5e0f193fd3791ac3fb8eb7e1131fbdf4d2797da0068a85d5b288988ea90a9bdd58e2018a34c6f61e2f84fa137ce94be8a5
7
+ data.tar.gz: bf458709ba64be42336838b496293d24e2c4bb1bb1595e882a56d1e35ff7826c4f375cc6b4a2880de4002075274a7ffa5bf3163331e6e547838f58e261ec6816
@@ -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
@@ -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,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
- ## Usage
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
- Setup .rubocop.yml
23
+ Set up `.rubocop.yml` with the command below.
8
24
 
9
- ```sh
10
- bundle exec fablicop init
25
+ ```console
26
+ fablicop init
11
27
  ```
12
28
 
13
- `init` generate the following directive to your `.rubocop.yml`:
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
- ```sh
26
- bundle exec rubocop <options...>
27
- ```
37
+ ## Usage
28
38
 
29
- ## Installation
39
+ After configuration, your RuboCop now sees fablicop's configuration. Just run `rubocop` as usual.
40
+
41
+ ```console
42
+ rubocop
43
+ ```
30
44
 
31
- Add this line to your application's Gemfile:
45
+ Or, prefix `bundle exec`.
32
46
 
33
- ```ruby
34
- group :development do
35
- gem "fablicop", require: false
36
- end
47
+ ```console
48
+ bundle exec rubocop
37
49
  ```
38
50
 
39
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,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
- # class先頭のコメントを省略する
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
- # 以下の2つのあわせ技で、こういうのを許可
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
- # 候補が多いときはcondみたいに使いたい
77
+ # We sometimes want to use empty case when there are many conditions.
87
78
  Style/EmptyCaseCondition:
88
79
  Enabled: false
89
80
 
@@ -93,52 +84,34 @@ Style/DoubleNegation:
93
84
  Style/ParallelAssignment:
94
85
  Enabled: false
95
86
 
96
- Style/BracesAroundHashParameters:
97
- Enabled: false
98
-
99
87
  Style/MethodCallWithoutArgsParentheses:
100
88
  Enabled: false
101
89
 
102
90
  Style/DefWithParentheses:
103
91
  Enabled: false
104
92
 
105
- # classが入れ子になった場合、テストの順番によってはエラーになりうる
93
+ # This might not be a style cop because errors happen due to the order of tests with nested classes/modules.
106
94
  Style/ClassAndModuleChildren:
107
95
  Exclude:
108
96
  - "test/**/*.rb"
109
97
  - "spec/**/*.rb"
110
98
 
111
- # 3桁ごとに_を入れるとSQLの表示方法と乖離するためfixtureは対象外
99
+ # This style differs from the expression of SQL.
112
100
  Style/NumericLiterals:
113
101
  Exclude:
114
102
  - "db/fixtures/*.rb"
115
103
 
116
- # 候補が多いときはcondみたいに使いたい
117
- Style/EmptyCaseCondition:
118
- Enabled: false
119
-
120
- Style/DoubleNegation:
121
- Enabled: false
122
-
123
- Style/ParallelAssignment:
124
- Enabled: false
125
-
126
- Style/MethodCallWithoutArgsParentheses:
127
- Enabled: false
128
-
129
- Style/DefWithParentheses:
130
- Enabled: false
131
-
132
104
  ##################### Layout ##################################
133
- # 引数前のスペースは複数許可
105
+ # We sometimes want to put multiple spaces before arguments.
134
106
  Layout/SpaceBeforeFirstArg:
135
107
  Enabled: false
136
108
  Layout/SpaceInLambdaLiteral:
137
109
  Enabled: false
138
- Layout/IndentHeredoc:
110
+ Layout/HeredocIndentation:
139
111
  Enabled: false
140
112
 
141
- # 引数の書き方の多様性を許可
113
+ # We want to allow various expression for arguments.
114
+ #
142
115
  # foo(a,
143
116
  # b
144
117
  # )
@@ -153,7 +126,9 @@ Layout/IndentHeredoc:
153
126
  # b)
154
127
  Layout/MultilineMethodCallBraceLayout:
155
128
  Enabled: false
156
- # メソッド指定の多様性を許可
129
+
130
+ # We don't want to enforce various method calls.
131
+ #
157
132
  # while a
158
133
  # .b
159
134
  # something
@@ -172,65 +147,58 @@ Layout/MultilineMethodCallBraceLayout:
172
147
  Layout/MultilineMethodCallIndentation:
173
148
  Enabled: false
174
149
 
150
+ # Sometimes, we want to write like this:
151
+ #
175
152
  # aaa(bbb(
176
153
  # ccc
177
154
  # ))
178
- # 的なのができないのは不便すぎるのでdisable
179
155
  Layout/FirstParameterIndentation:
180
156
  Enabled: false
181
157
 
182
- # 以下の両方を許容
158
+ # We want to allow both of them:
159
+ #
183
160
  # aaa.
184
161
  # bb().
185
162
  # cc()
186
163
  # aaa
187
164
  # .bb()
188
165
  # .cc()
189
- # 前者は途中にコメントをはさむことができて実用上圧倒的に便利.
190
- # 後者はデフォルトで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.
191
169
  Layout/DotPosition:
192
170
  Enabled: false
193
171
 
194
- # fixtureファイルの1 -> DBの1レコードとして記述している
195
- # 複数行にまたがると直感的でなくなるため無効化
172
+ # We want to consistently write fixture files with the rule: 1 line for 1 record.
173
+ # It's not intuitive with multiple lines.
196
174
  Layout/ClosingParenthesisIndentation:
197
175
  Exclude:
198
176
  - "db/fixtures/*.rb"
199
- Layout/AlignParameters:
177
+ Layout/ParameterAlignment:
200
178
  Exclude:
201
179
  - "db/fixtures/*.rb"
202
180
 
203
- # 引数前のスペースは複数許可
204
- Layout/SpaceBeforeFirstArg:
205
- Enabled: false
206
- Layout/SpaceInLambdaLiteral:
207
- Enabled: false
208
- Layout/HeredocIndentation:
209
- Enabled: false
210
-
211
- # * 警告 120文字
212
- # * 禁止 160文字
213
- # のイメージ
214
181
  Layout/LineLength:
215
182
  Max: 160
216
183
  Exclude:
217
184
  - "db/migrate/*.rb"
185
+ - "db/fixtures/*.rb" # Fixture files usually include long lines.
218
186
 
219
187
  ##################### Lint ##################################
220
188
 
221
- # 引数前のスペースを許容する
189
+ # We sometimes want to put spaces before arguments.
222
190
  Lint/ParenthesesAsGroupedExpression:
223
191
  Enabled: false
224
192
 
225
193
  ##################### Metrics ##################################
226
194
 
227
- # 20 行超えるのは migration ファイル以外滅多に無い
195
+ # There is something wrong with more than 20 lines aside from migration files.
228
196
  Metrics/MethodLength:
229
197
  Max: 20
230
198
  Exclude:
231
199
  - "db/migrate/*.rb"
232
200
 
233
- # キーワード引数は引数の数に含めない
201
+ # We want to measure this metrics without keyword arguments.
234
202
  Metrics/ParameterLists:
235
203
  CountKeywordArgs: false
236
204
 
@@ -242,7 +210,10 @@ Metrics/BlockLength:
242
210
  - "app/admin/*.rb"
243
211
  - "config/**/*.rb"
244
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
245
215
  Metrics/AbcSize:
216
+ Max: 20
246
217
  Exclude:
247
218
  - "test/**/*.rb"
248
219
 
@@ -250,7 +221,7 @@ Metrics/ClassLength:
250
221
  Exclude:
251
222
  - "test/**/*.rb"
252
223
 
253
- # カラムが多い、もしくは文章が含まれるfixtureは一行が長くなってしまうため無効化
254
- Metrics/LineLength:
255
- Exclude:
256
- - "db/fixtures/*.rb"
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
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.8'
4
+ VERSION = '1.1.2'
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,7 +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"
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.8
4
+ version: 1.1.2
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-06-01 00:00:00.000000000 Z
13
+ date: 2021-09-27 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: '0'
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
- rubyforge_project:
132
- rubygems_version: 2.7.6.2
133
- signing_key:
161
+ rubygems_version: 3.2.22
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