unifacop 0.49.1.0 → 1.11.0.0
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 +5 -5
- data/Gemfile +2 -0
- data/config/performance.yml +10 -0
- data/config/rails.yml +44 -0
- data/config/rspec.yml +10 -0
- data/config/rubocop.yml +114 -31
- data/exe/unifacop +2 -1
- data/lib/unifacop/cli.rb +5 -3
- data/lib/unifacop/version.rb +1 -1
- data/templates/.rubocop.yml +5 -2
- data/unifacop.gemspec +10 -5
- metadata +42 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e69317a0ab38a8a0d86c214a4de03efdd1c0a6f19e9d4b31d66fa2011dc050ef
|
4
|
+
data.tar.gz: 1055b85255d8e935bf4c3ac315451df6c853a7533c0a3326b35708fa967d8b9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f397526874ae4507c3c9151b3e14e9ad65354baeda448b7b857a86421d07b32182225a7223645a7964433728b781a910650e324fe591c64fabf1bb9c5871c819
|
7
|
+
data.tar.gz: 41c06f7f1804e79b42f33f37af49b6ae10932e3012430e4cc8140fed8ad01f165870a8f54e428c78cdeefe28b6322b9f77e4fdbfb0425f41ab62ad28d9cc4750
|
data/Gemfile
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
require: 'rubocop-performance'
|
2
|
+
|
3
|
+
## Performance
|
4
|
+
# https://github.com/rubocop-hq/rubocop-performance/blob/master/manual/cops_performance.md
|
5
|
+
|
6
|
+
# onkcop参照
|
7
|
+
# > downcase or upcase しての比較はイディオムの域なので、多少の
|
8
|
+
# > パフォーマンスの違いがあろうが casecmp に変える意義を感じない
|
9
|
+
Performance/Casecmp:
|
10
|
+
Enabled: false
|
data/config/rails.yml
CHANGED
@@ -1,6 +1,41 @@
|
|
1
|
+
require: 'rubocop-rails'
|
2
|
+
|
1
3
|
Rails:
|
2
4
|
Enabled: true
|
3
5
|
|
6
|
+
# ActiveRecord aliases can also be understood
|
7
|
+
# For example update_attributes! for update!
|
8
|
+
Rails/ActiveRecordAliases:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
# onkcop参照
|
12
|
+
# > ActiveRecord で association を安易に delegate すると
|
13
|
+
# > N+1 を起こしまくるので、なるべく delegate 的なメソッドを使わずに
|
14
|
+
# > コストが掛かっていることを自覚できるようにしておきたい。
|
15
|
+
# > メソッドでも危ういが、DSL だと更に意識から抜けるので無効に。
|
16
|
+
Rails/Delegate:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
# onkcop参照
|
20
|
+
# > -File.join(Rails.root, "app", "models")
|
21
|
+
# > +Rails.root.join("app", "models")
|
22
|
+
# > はともかく
|
23
|
+
# > -Rails.root.join("app/models")
|
24
|
+
# > +Rails.root.join("app", "models")
|
25
|
+
# > は Pathname#plus が行っているので意味無いのでは?
|
26
|
+
Rails/FilePath:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
# 少しでもオプションつけるとすぐ引っかかってしまう。
|
30
|
+
# inverse_ofが必要かどうかは、bulletでN+1を検知してから対応としたい。
|
31
|
+
Rails/InverseOf:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
# :not_found より 404 の方がわかりやすいケースもあるので、どちらも使用可とする。
|
35
|
+
# プロジェクト参加メンバーの好みでnumeric、symbolicに変更してほしい。
|
36
|
+
Rails/HttpStatus:
|
37
|
+
Enabled: false
|
38
|
+
|
4
39
|
# onkcop参照
|
5
40
|
# > slug とか created_by とか、NOT NULL だが create_table 時に
|
6
41
|
# > default 値を定義できないカラムは存在する。
|
@@ -11,3 +46,12 @@ Rails/NotNullColumn:
|
|
11
46
|
# > valid? チェックし忘れを防ぎたい
|
12
47
|
Rails/SaveBang:
|
13
48
|
Enabled: true
|
49
|
+
|
50
|
+
# 多くの場合、staging環境は用意するのでデフォルトで追加。
|
51
|
+
# 他にもある場合、各プロジェクトで上書きしてもらう。
|
52
|
+
Rails/UnknownEnv:
|
53
|
+
Environments:
|
54
|
+
- development # rubocop default.yml
|
55
|
+
- test # rubocop default.yml
|
56
|
+
- production # rubocop default.yml
|
57
|
+
- staging
|
data/config/rspec.yml
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
require: 'rubocop-rspec'
|
2
2
|
|
3
|
+
# 日本語でcontextを書く場合、「〜の場合」と書くのでPrefixesでは対応できない。
|
4
|
+
# 英語と日本語が混じるケースでも対応が難しいので、各自の努力に任せる。
|
5
|
+
RSpec/ContextWording:
|
6
|
+
Enabled: false
|
7
|
+
|
3
8
|
# onkcop参照
|
4
9
|
# > subject はコピペ可搬性よりもそのまま USAGE であって欲しい
|
5
10
|
# described_classより直接クラス名を参照する方が、使い方が見えやすくてよい。
|
@@ -11,6 +16,11 @@ RSpec/DescribedClass:
|
|
11
16
|
RSpec/ExampleLength:
|
12
17
|
Max: 10
|
13
18
|
|
19
|
+
# expect(run).to change(Foo, :bar) だとどうも何をやっているのかわかりづらい。
|
20
|
+
# expect(run).to change { Foo.bar } の方が何を確認しているのかわかりやすい。
|
21
|
+
RSpec/ExpectChange:
|
22
|
+
EnforcedStyle: block
|
23
|
+
|
14
24
|
# onkcop参照
|
15
25
|
# > one-liner の should は書きやすいし意味が通りやすいし副作用も無いので撥ねる必要がない。
|
16
26
|
# > ただ expect 派に対して強制するほどでもないので統一はしない。
|
data/config/rubocop.yml
CHANGED
@@ -24,25 +24,53 @@ Layout/DotPosition:
|
|
24
24
|
Enabled: true
|
25
25
|
EnforcedStyle: leading
|
26
26
|
|
27
|
+
# 誤検知、誤修正が多い。安定するまで無効化。
|
28
|
+
Layout/EmptyLinesAroundArguments:
|
29
|
+
Enabled: false
|
30
|
+
|
27
31
|
# onkcop参照
|
28
32
|
# > special_inside_parentheses (default) と比べて
|
29
33
|
# > * 横に長くなりづらい
|
30
34
|
# > * メソッド名の長さが変わったときに diff が少ない
|
31
|
-
Layout/
|
35
|
+
Layout/FirstArrayElementIndentation:
|
32
36
|
EnforcedStyle: consistent
|
33
37
|
|
34
38
|
# onkcop参照
|
35
39
|
# > ({ と hash を開始した場合に ( の位置にインデントさせる
|
36
40
|
# > そもそも {} が必要ない可能性が高いが Style/BracesAroundHashParameters はチェックしないことにしたので
|
37
|
-
Layout/
|
41
|
+
Layout/FirstHashElementIndentation:
|
38
42
|
EnforcedStyle: consistent
|
39
43
|
|
44
|
+
# Allow both table and key hash alignment
|
45
|
+
Layout/HashAlignment:
|
46
|
+
EnforcedColonStyle:
|
47
|
+
- key
|
48
|
+
- table
|
49
|
+
EnforcedHashRocketStyle:
|
50
|
+
- key
|
51
|
+
- table
|
52
|
+
|
53
|
+
# 多くのRubyコーディング規約では「80」か「100」が主流な値であった。
|
54
|
+
# 「80」だと厳しすぎるので、「100」に設定する。
|
55
|
+
Layout/LineLength:
|
56
|
+
Max: 100
|
57
|
+
Exclude:
|
58
|
+
- 'db/migrate/*.rb'
|
59
|
+
|
40
60
|
# onkcop参照
|
41
61
|
# > メソッドチェーン感がより感じられるインデントにする
|
42
62
|
# 個人的にもこの形式の方が、上の行とのつながりを感じられるのでいいと思う。
|
43
63
|
Layout/MultilineMethodCallIndentation:
|
44
64
|
EnforcedStyle: indented_relative_to_receiver
|
45
65
|
|
66
|
+
# This is causing offences when a rescue block is used
|
67
|
+
# with variable assignment
|
68
|
+
Layout/RescueEnsureAlignment:
|
69
|
+
Enabled: false
|
70
|
+
|
71
|
+
Layout/SpaceAroundMethodCallOperator:
|
72
|
+
Enabled: true
|
73
|
+
|
46
74
|
## Lint cops
|
47
75
|
# https://rubocop.readthedocs.io/en/latest/cops_lint/
|
48
76
|
|
@@ -80,6 +108,12 @@ Lint/EmptyWhen:
|
|
80
108
|
Lint/InheritException:
|
81
109
|
EnforcedStyle: standard_error
|
82
110
|
|
111
|
+
Lint/RaiseException:
|
112
|
+
Enabled: true
|
113
|
+
|
114
|
+
Lint/StructNewOverride:
|
115
|
+
Enabled: true
|
116
|
+
|
83
117
|
# キーワード引数の先頭に「_」をつけてしまうと、呼び出し側で「_」をつけて呼ばないとキーが存在せずエラーになってしまうため。
|
84
118
|
Lint/UnusedMethodArgument:
|
85
119
|
AllowUnusedKeywordArguments: true
|
@@ -122,13 +156,6 @@ Metrics/ClassLength:
|
|
122
156
|
Metrics/CyclomaticComplexity:
|
123
157
|
Max: 10
|
124
158
|
|
125
|
-
# 多くのRubyコーディング規約では「80」か「100」が主流な値であった。
|
126
|
-
# 「80」だと厳しすぎるので、「100」に設定する。
|
127
|
-
Metrics/LineLength:
|
128
|
-
Max: 100
|
129
|
-
Exclude:
|
130
|
-
- 'db/migrate/*.rb'
|
131
|
-
|
132
159
|
# onkcop参照
|
133
160
|
# > 20 行超えるのは migration ファイル以外滅多に無い
|
134
161
|
Metrics/MethodLength:
|
@@ -149,10 +176,27 @@ Metrics/ParameterLists:
|
|
149
176
|
Metrics/PerceivedComplexity:
|
150
177
|
Max: 8
|
151
178
|
|
152
|
-
##
|
153
|
-
#
|
179
|
+
## Naming
|
180
|
+
# http://rubocop.readthedocs.io/en/latest/cops_naming/
|
154
181
|
|
155
|
-
#
|
182
|
+
# Allow short method param names like e or _
|
183
|
+
Naming/MethodParameterName:
|
184
|
+
Enabled: false
|
185
|
+
|
186
|
+
# onkcop参照
|
187
|
+
# > has_ から始まるメソッドは許可する
|
188
|
+
Naming/PredicateName:
|
189
|
+
ForbiddenPrefixes:
|
190
|
+
- 'is_'
|
191
|
+
- 'have_'
|
192
|
+
NamePrefix:
|
193
|
+
- 'is_'
|
194
|
+
- 'have_'
|
195
|
+
|
196
|
+
# This limits variable name exceptions
|
197
|
+
# Can be set on a per project basis if needed
|
198
|
+
Naming/RescuedExceptionsVariableName:
|
199
|
+
Enabled: false
|
156
200
|
|
157
201
|
## Security
|
158
202
|
# https://rubocop.readthedocs.io/en/latest/cops_security/
|
@@ -185,11 +229,6 @@ Style/BlockDelimiters:
|
|
185
229
|
Exclude:
|
186
230
|
- 'spec/**/*'
|
187
231
|
|
188
|
-
# onkcop参照
|
189
|
-
# > option 等、明示的にハッシュにした方が分かりやすい場合もある
|
190
|
-
Style/BracesAroundHashParameters:
|
191
|
-
Enabled: false
|
192
|
-
|
193
232
|
# onkcop参照
|
194
233
|
# > scope が違うとか親 module の存在確認が必要とかデメリットはあるが、
|
195
234
|
# > namespace 付きのクラスはかなり頻繁に作るので簡単に書きたい。
|
@@ -228,6 +267,10 @@ Style/Documentation:
|
|
228
267
|
Style/EmptyElse:
|
229
268
|
EnforcedStyle: empty
|
230
269
|
|
270
|
+
# -> { ... } より ->() { ... } の方がLambdaとblockを見分けやすい。
|
271
|
+
Style/EmptyLambdaParameter:
|
272
|
+
Enabled: false
|
273
|
+
|
231
274
|
# onkcop参照
|
232
275
|
# > 空メソッドの場合だけ1行で書かなければいけない理由が無い
|
233
276
|
# > 「セミコロンは使わない」に寄せた方がルールがシンプル
|
@@ -238,6 +281,16 @@ Style/EmptyMethod:
|
|
238
281
|
Style/Encoding:
|
239
282
|
Enabled: true
|
240
283
|
|
284
|
+
Style/ExponentialNotation:
|
285
|
+
Enabled: true
|
286
|
+
|
287
|
+
# onkcop参照
|
288
|
+
# > strftime("%Y%m%d") の %d で引っかかる false positive がある。
|
289
|
+
# > また、url escape でも引っかかるらしい。
|
290
|
+
# > see: pull/5230, issues/5242
|
291
|
+
Style/FormatStringToken:
|
292
|
+
Enabled: false
|
293
|
+
|
241
294
|
# onkcop参照
|
242
295
|
# > if 文の中に 3 行程度のブロックを書くぐらいは許容した方が現実的
|
243
296
|
# > NOTE: https://github.com/bbatsov/rubocop/commit/29945958034db13af9e8ff385ec58cb9eb464596
|
@@ -246,6 +299,17 @@ Style/Encoding:
|
|
246
299
|
Style/GuardClause:
|
247
300
|
MinBodyLength: 5
|
248
301
|
|
302
|
+
# Both .each_key and .keys.each are readable
|
303
|
+
# and have different return values
|
304
|
+
Style/HashEachMethods:
|
305
|
+
Enabled: false
|
306
|
+
|
307
|
+
Style/HashTransformKeys:
|
308
|
+
Enabled: true
|
309
|
+
|
310
|
+
Style/HashTransformValues:
|
311
|
+
Enabled: true
|
312
|
+
|
249
313
|
# onkcop参照
|
250
314
|
# > rake タスクの順序の hash は rocket を許可する。
|
251
315
|
Style/HashSyntax:
|
@@ -283,6 +347,16 @@ Style/MixinGrouping:
|
|
283
347
|
Exclude:
|
284
348
|
- 'spec/**/*'
|
285
349
|
|
350
|
+
# onkcop参照
|
351
|
+
# > この 2 つは単発で動かすのが分かっているので Object を汚染しても問題ない。
|
352
|
+
# > spec/dummy は Rails Engine を開発するときに絶対に引っかかるので入れておく。
|
353
|
+
Style/MixinUsage:
|
354
|
+
Exclude:
|
355
|
+
- 'bin/setup'
|
356
|
+
- 'bin/update'
|
357
|
+
- 'spec/dummy/bin/setup'
|
358
|
+
- 'spec/dummy/bin/update'
|
359
|
+
|
286
360
|
# onkcop参照
|
287
361
|
# > 1_000_000 と区切り文字が 2 個以上必要になる場合のみ _ 区切りを必須にする
|
288
362
|
# > 10_000_00 は許可しない。(これは例えば 10000 ドルをセント単位にする時に便利だが
|
@@ -298,6 +372,12 @@ Style/NumericLiterals:
|
|
298
372
|
Style/NumericPredicate:
|
299
373
|
Enabled: false
|
300
374
|
|
375
|
+
# onkcop参照
|
376
|
+
# > false な場合という条件式の方を意識させたい場合がある。
|
377
|
+
# > Style/IfUnlessModifier と同じ雰囲気。
|
378
|
+
Style/OrAssignment:
|
379
|
+
Enabled: false
|
380
|
+
|
301
381
|
# デフォルトでは %w[] が推奨だが、今いるメンバーでは %w() の方が合っているため
|
302
382
|
# また %i() も %w() と統一感を取るため合わせる
|
303
383
|
# %r{} はRubyStyleGuideの推奨を使用する。
|
@@ -316,16 +396,6 @@ Style/PercentLiteralDelimiters:
|
|
316
396
|
Style/PerlBackrefs:
|
317
397
|
AutoCorrect: false
|
318
398
|
|
319
|
-
# onkcop参照
|
320
|
-
# > has_ から始まるメソッドは許可する
|
321
|
-
Style/PredicateName:
|
322
|
-
NamePrefixBlacklist:
|
323
|
-
- 'is_'
|
324
|
-
- 'have_'
|
325
|
-
NamePrefix:
|
326
|
-
- 'is_'
|
327
|
-
- 'have_'
|
328
|
-
|
329
399
|
# onkcop参照
|
330
400
|
# > Hash#has_key? の方が key? よりも意味が通る
|
331
401
|
Style/PreferredHashMethods:
|
@@ -342,7 +412,14 @@ Style/RedundantSelf:
|
|
342
412
|
Enabled: false
|
343
413
|
|
344
414
|
# onkcop参照
|
345
|
-
# >
|
415
|
+
# > user&.admin? が、[nil, true, false] の 3 値を返すことに一瞬で気づけず
|
416
|
+
# > boolean を返すっぽく見えてしまうので無効に。
|
417
|
+
# > user && user.admin? なら短絡評価で nil が返ってくるのが一目で分かるので。
|
418
|
+
# > (boolean を返すメソッド以外なら積極的に使いたいんだけどねぇ
|
419
|
+
#
|
420
|
+
# > 他に auto-correct してはいけないパターンとして
|
421
|
+
# > if hoge && hoge.count > 1
|
422
|
+
# > がある。
|
346
423
|
Style/SafeNavigation:
|
347
424
|
Enabled: false
|
348
425
|
|
@@ -378,9 +455,15 @@ Style/TernaryParentheses:
|
|
378
455
|
EnforcedStyle: require_parentheses_when_complex
|
379
456
|
|
380
457
|
# onkcop参照
|
381
|
-
# > 複数行の場合はケツカンマを入れる
|
382
|
-
#
|
383
|
-
|
458
|
+
# > 複数行の場合はケツカンマを入れる(Arrayリテラル)
|
459
|
+
# > JSON がケツカンマを許していないという反対意見もあるが、
|
460
|
+
# > 古い JScript の仕様に縛られる必要は無い。
|
461
|
+
# > IE9 以降はリテラルでケツカンマ OK なので正しい差分行の検出に寄せる。
|
462
|
+
Style/TrailingCommaInArrayLiteral:
|
463
|
+
EnforcedStyleForMultiline: comma
|
464
|
+
|
465
|
+
# > 複数行の場合はケツカンマを入れる(Hashリテラル)
|
466
|
+
Style/TrailingCommaInHashLiteral:
|
384
467
|
EnforcedStyleForMultiline: comma
|
385
468
|
|
386
469
|
# onkcop参照
|
data/exe/unifacop
CHANGED
data/lib/unifacop/cli.rb
CHANGED
@@ -18,15 +18,16 @@ module UniFaCop
|
|
18
18
|
puts "Could not find command #{action_name}."
|
19
19
|
print_help
|
20
20
|
exit(1)
|
21
|
-
rescue => e
|
21
|
+
rescue StandardError => e
|
22
22
|
puts e.message
|
23
23
|
exit(1)
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.retrieve_command_name(args)
|
27
27
|
return nil if args.empty?
|
28
|
+
|
28
29
|
meth = args.first.to_s
|
29
|
-
args.shift
|
30
|
+
args.shift unless /^-/.match?(meth)
|
30
31
|
end
|
31
32
|
|
32
33
|
def self.print_help
|
@@ -34,10 +35,11 @@ module UniFaCop
|
|
34
35
|
puts ' init - Setup .rubocop.yml'
|
35
36
|
end
|
36
37
|
|
37
|
-
CONFIG_FILE_NAME = '.rubocop.yml'
|
38
|
+
CONFIG_FILE_NAME = '.rubocop.yml'
|
38
39
|
|
39
40
|
def init(args)
|
40
41
|
raise 'usage: unifacop init' unless args.empty?
|
42
|
+
|
41
43
|
template_path = File.expand_path('../../templates', __dir__)
|
42
44
|
puts "#{File.exist?(CONFIG_FILE_NAME) ? 'overwrite' : 'create'} #{CONFIG_FILE_NAME}"
|
43
45
|
FileUtils.copy_file(File.join(template_path, CONFIG_FILE_NAME), CONFIG_FILE_NAME)
|
data/lib/unifacop/version.rb
CHANGED
data/templates/.rubocop.yml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
inherit_gem:
|
2
2
|
unifacop:
|
3
3
|
- 'config/rubocop.yml'
|
4
|
+
- 'config/performance.yml'
|
4
5
|
# Uncomment if your project uses rails. Do not forget to specify TargetRailsVersion.
|
5
6
|
#- 'config/rails.yml'
|
6
|
-
# Uncomment
|
7
|
+
# Uncomment to use rspec cops
|
7
8
|
#- 'config/rspec.yml'
|
8
9
|
|
9
10
|
inherit_from:
|
@@ -12,7 +13,9 @@ inherit_from:
|
|
12
13
|
AllCops:
|
13
14
|
# Please specify your Ruby version
|
14
15
|
TargetRubyVersion: 2.4
|
15
|
-
#
|
16
|
+
# Uncomment if using rails cops
|
16
17
|
#TargetRailsVersion: 5.0
|
18
|
+
NewCops: enable
|
19
|
+
SuggestExtensions: false
|
17
20
|
|
18
21
|
# Add your project specific configurations here.
|
data/unifacop.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
lib = File.expand_path('
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require 'unifacop/version'
|
6
6
|
|
@@ -14,16 +14,21 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'A rubocop configuration gem for UniFa Coding Style Guide.'
|
15
15
|
spec.homepage = 'https://bitbucket.org/lookme/unifacop'
|
16
16
|
|
17
|
+
exclude_files = ['Gemfile', 'unifacop.gemspec'].freeze
|
17
18
|
spec.files = `git ls-files -z`.split("\x0").select do |f|
|
18
|
-
f.match(%r{^(config|exe|lib|templates)/}) ||
|
19
|
+
f.match(%r{^(config|exe|lib|templates)/}) || exclude_files.include?(f)
|
19
20
|
end
|
20
21
|
spec.bindir = 'exe'
|
21
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
23
|
spec.require_paths = ['lib']
|
23
24
|
|
24
|
-
spec.
|
25
|
-
|
26
|
-
spec.add_runtime_dependency 'rubocop
|
25
|
+
spec.required_ruby_version = '>= 2.4.0'
|
26
|
+
|
27
|
+
spec.add_runtime_dependency 'rubocop', '>= 1.11.0'
|
28
|
+
spec.add_runtime_dependency 'rubocop-performance', '>= 1.10.1'
|
29
|
+
spec.add_runtime_dependency 'rubocop-rails', '>= 2.9.1'
|
30
|
+
spec.add_runtime_dependency 'rubocop-rspec', '>= 2.2.0'
|
31
|
+
|
27
32
|
spec.add_development_dependency 'bundler'
|
28
33
|
spec.add_development_dependency 'rake'
|
29
34
|
end
|
metadata
CHANGED
@@ -1,43 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unifacop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.11.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UniFa Co. Ltd.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.11.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-performance
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.10.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
40
|
+
version: 1.10.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.9.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.9.1
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rubocop-rspec
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
59
|
- - ">="
|
32
60
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
61
|
+
version: 2.2.0
|
34
62
|
type: :runtime
|
35
63
|
prerelease: false
|
36
64
|
version_requirements: !ruby/object:Gem::Requirement
|
37
65
|
requirements:
|
38
66
|
- - ">="
|
39
67
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
68
|
+
version: 2.2.0
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: bundler
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,6 +103,7 @@ extensions: []
|
|
75
103
|
extra_rdoc_files: []
|
76
104
|
files:
|
77
105
|
- Gemfile
|
106
|
+
- config/performance.yml
|
78
107
|
- config/rails.yml
|
79
108
|
- config/rspec.yml
|
80
109
|
- config/rubocop.yml
|
@@ -87,7 +116,7 @@ files:
|
|
87
116
|
homepage: https://bitbucket.org/lookme/unifacop
|
88
117
|
licenses: []
|
89
118
|
metadata: {}
|
90
|
-
post_install_message:
|
119
|
+
post_install_message:
|
91
120
|
rdoc_options: []
|
92
121
|
require_paths:
|
93
122
|
- lib
|
@@ -95,16 +124,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
124
|
requirements:
|
96
125
|
- - ">="
|
97
126
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
127
|
+
version: 2.4.0
|
99
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
129
|
requirements:
|
101
130
|
- - ">="
|
102
131
|
- !ruby/object:Gem::Version
|
103
132
|
version: '0'
|
104
133
|
requirements: []
|
105
|
-
|
106
|
-
|
107
|
-
signing_key:
|
134
|
+
rubygems_version: 3.1.4
|
135
|
+
signing_key:
|
108
136
|
specification_version: 4
|
109
137
|
summary: A rubocop configuration gem for UniFa Coding Style Guide.
|
110
138
|
test_files: []
|