fablicop 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/run-ci.yml +17 -0
- data/.rspec +3 -0
- data/.rubocop.yml +1 -2
- data/config/.base_rubocop.yml +5 -0
- data/fablicop.gemspec +2 -0
- data/lib/fablicop/version.rb +1 -1
- metadata +36 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b5caa1ee8828550cee968cb6207cc13bed218e6807a40411856ba69a43cb534
|
4
|
+
data.tar.gz: 8cb4ecff9101a1e21e308b7bb72614c1f85311dd5a089bf8802c2d14b9907f50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af21d0e9d4474a040648c2163ae72555c5c10d887793a4c5cbb7337ef59039355b00eb6223bc13a2d2f24e00a02524991a63bd2ea01d00039cd7fdbac1618d0d
|
7
|
+
data.tar.gz: 4c3bc61b9626a3b899e84cc6cfeedcf1971cc9d8ca048e9332d6fcd9813fc5d82fa9be4e97d3fbdac17b0a15e14c52cef252cde9a158a8de1fe00e4d57cba03d
|
@@ -0,0 +1,17 @@
|
|
1
|
+
name: Run CI
|
2
|
+
|
3
|
+
on: push
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
'run-ci':
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Set up Ruby
|
11
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
12
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
13
|
+
uses: ruby/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
16
|
+
- name: Run rspecs
|
17
|
+
run: bundle exec rspec
|
data/.rspec
ADDED
data/.rubocop.yml
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
fablicop: "config/base_rubocop.yml"
|
1
|
+
inherit_from: config/.base_rubocop.yml
|
data/config/.base_rubocop.yml
CHANGED
@@ -223,3 +223,8 @@ Metrics/AbcSize:
|
|
223
223
|
Metrics/ClassLength:
|
224
224
|
Exclude:
|
225
225
|
- "test/**/*.rb"
|
226
|
+
|
227
|
+
# Does the variable name for an exception object really matter?
|
228
|
+
# There are many things to think about before taking care of it.
|
229
|
+
Naming/RescuedExceptionsVariableName:
|
230
|
+
Enabled: false
|
data/fablicop.gemspec
CHANGED
@@ -34,5 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_dependency "rubocop-rspec", ">= 1.15.1"
|
35
35
|
spec.add_dependency "rubocop-rails"
|
36
36
|
spec.add_development_dependency "bundler"
|
37
|
+
spec.add_development_dependency "rspec"
|
37
38
|
spec.add_development_dependency "rake"
|
39
|
+
spec.add_development_dependency 'byebug'
|
38
40
|
end
|
data/lib/fablicop/version.rb
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.1.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-07-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,7 +120,9 @@ 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
127
|
- ".ruby-version"
|
98
128
|
- CODE_OF_CONDUCT.md
|
@@ -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
|
@@ -128,9 +158,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
158
|
- !ruby/object:Gem::Version
|
129
159
|
version: '0'
|
130
160
|
requirements: []
|
131
|
-
rubyforge_project:
|
161
|
+
rubyforge_project:
|
132
162
|
rubygems_version: 2.7.6.2
|
133
|
-
signing_key:
|
163
|
+
signing_key:
|
134
164
|
specification_version: 4
|
135
165
|
summary: fablicop is a RuboCop configration gem.
|
136
166
|
test_files: []
|