fablicop 1.1.2 → 1.3.0

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: 4e56d78d516a2bc1e745cacfdb05bdb28919374f61b8f545cdaabef827eecaaa
4
- data.tar.gz: 40299c61a9a532f47dc35a28e641f4073cfe125794442660c654a2f073a6fe7f
3
+ metadata.gz: 95a2cd71ba086853216e46e26cdb46400ff2c935b4acd681900d1c70340d87e8
4
+ data.tar.gz: c4e1d66f083820518f5a1b72ef95d94947dfab77a3c861a6e45b7804a478650e
5
5
  SHA512:
6
- metadata.gz: 9ddccb4c76956469e60c0e17c1980a5e0f193fd3791ac3fb8eb7e1131fbdf4d2797da0068a85d5b288988ea90a9bdd58e2018a34c6f61e2f84fa137ce94be8a5
7
- data.tar.gz: bf458709ba64be42336838b496293d24e2c4bb1bb1595e882a56d1e35ff7826c4f375cc6b4a2880de4002075274a7ffa5bf3163331e6e547838f58e261ec6816
6
+ metadata.gz: 6958adf5c1d73441beb50668d55d6cf193e1aa08644f3f6a69a594d3354db8a9d5ad2457a30e7e3d7b768a921fe6f1abf7d68ca8efcc5145cae33b32ee73993a
7
+ data.tar.gz: b97f02c3ca9cc43396945eebff609a52e55e4ec0382d7fd659d3ed2cf5981afa8504ea8addd7cd25e9f93641acbfb92c3eeb5eae289f3257737c3a3c279225cb
@@ -14,7 +14,7 @@ jobs:
14
14
  matrix:
15
15
  ruby: ["2.5", "2.6", "2.7", "3.0"]
16
16
  steps:
17
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v3
18
18
  - uses: ruby/setup-ruby@v1
19
19
  with:
20
20
  ruby-version: ${{ matrix.ruby }}
@@ -28,7 +28,7 @@ jobs:
28
28
  matrix:
29
29
  ruby: ["2.5", "2.6", "2.7", "3.0"]
30
30
  steps:
31
- - uses: actions/checkout@v2
31
+ - uses: actions/checkout@v3
32
32
  - uses: ruby/setup-ruby@v1
33
33
  with:
34
34
  ruby-version: ${{ matrix.ruby }}
data/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased](https://github.com/Fablic/fablicop/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.1...HEAD)
6
+
7
+ ## [v1.2.1](https://github.com/Fablic/fablicop/tree/v1.2.1) (2022-04-15)
8
+
9
+ [Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.0...v1.2.1)
10
+
11
+ - Update rubocop requirement from ~> 1.14.0 to >= 1.14, < 1.28 [\#71](https://github.com/Fablic/fablicop/pull/71) ([dependabot](https://github.com/apps/dependabot))
12
+ - disable `RSpec/ExampleLength` and `RSpec/NamedSubject` [\#70](https://github.com/Fablic/fablicop/pull/70) ([tana2034](https://github.com/tana2034))
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![fablicop](https://img.shields.io/gem/v/fablicop?label=fablicop)
2
+
1
3
  # fablicop
2
4
 
3
5
  fablicop is a RuboCop configration gem.
@@ -101,6 +101,14 @@ Style/NumericLiterals:
101
101
  Exclude:
102
102
  - "db/fixtures/*.rb"
103
103
 
104
+ # We don't care which we use: #yield_self or #then
105
+ Style/ObjectThen:
106
+ Enabled: false
107
+
108
+ # We don't care using ENV.fetch or ENV.[]
109
+ Style/FetchEnvVar:
110
+ Enabled: false
111
+
104
112
  ##################### Layout ##################################
105
113
  # We sometimes want to put multiple spaces before arguments.
106
114
  Layout/SpaceBeforeFirstArg:
@@ -225,3 +233,17 @@ Metrics/ClassLength:
225
233
  # There are many things to think about before taking care of it.
226
234
  Naming/RescuedExceptionsVariableName:
227
235
  Enabled: false
236
+
237
+ ##################### RSpec ##################################
238
+
239
+ # disabling to not to show errors if there is no when/with/without in the context
240
+ RSpec/ContextWording:
241
+ Enabled: false
242
+
243
+ # controller specs and request specs are hard to name reasonably
244
+ RSpec/NamedSubject:
245
+ Enabled: false
246
+
247
+ # because response validation in `request spec` is expected to result in large rows
248
+ RSpec/ExampleLength:
249
+ Enabled: false
data/fablicop.gemspec CHANGED
@@ -30,10 +30,11 @@ Gem::Specification.new do |spec|
30
30
  spec.bindir = 'exe'
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
+ spec.metadata['rubygems_mfa_required'] = 'true'
33
34
 
34
35
  spec.required_ruby_version = '>= 2.5.0'
35
36
 
36
- spec.add_dependency 'rubocop', '~> 1.14.0'
37
+ spec.add_dependency 'rubocop', '>= 1.14', '< 1.29'
37
38
  spec.add_dependency 'rubocop-rspec', '>= 1.15.1'
38
39
  spec.add_dependency 'rubocop-rails'
39
40
  spec.add_development_dependency 'bundler'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fablicop
4
- VERSION = '1.1.2'
4
+ VERSION = '1.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fablicop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tommy
@@ -10,22 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-09-27 00:00:00.000000000 Z
13
+ date: 2022-04-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '1.14'
22
+ - - "<"
20
23
  - !ruby/object:Gem::Version
21
- version: 1.14.0
24
+ version: '1.29'
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - "~>"
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '1.14'
32
+ - - "<"
27
33
  - !ruby/object:Gem::Version
28
- version: 1.14.0
34
+ version: '1.29'
29
35
  - !ruby/object:Gem::Dependency
30
36
  name: rubocop-rspec
31
37
  requirement: !ruby/object:Gem::Requirement
@@ -125,6 +131,7 @@ files:
125
131
  - ".gitignore"
126
132
  - ".rspec"
127
133
  - ".rubocop.yml"
134
+ - CHANGELOG.md
128
135
  - CODE_OF_CONDUCT.md
129
136
  - Gemfile
130
137
  - LICENSE.txt
@@ -142,7 +149,8 @@ files:
142
149
  homepage: https://github.com/Fablic/fablicop
143
150
  licenses:
144
151
  - MIT
145
- metadata: {}
152
+ metadata:
153
+ rubygems_mfa_required: 'true'
146
154
  post_install_message:
147
155
  rdoc_options: []
148
156
  require_paths:
@@ -158,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
166
  - !ruby/object:Gem::Version
159
167
  version: '0'
160
168
  requirements: []
161
- rubygems_version: 3.2.22
169
+ rubygems_version: 3.3.7
162
170
  signing_key:
163
171
  specification_version: 4
164
172
  summary: fablicop is a RuboCop configration gem.