rubocop-codeur 0.1.8 → 0.1.13

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: 578ad8ea944d4d4539cba44b1057e4709dcc4e1229440f4b143341b31b2b1cb3
4
- data.tar.gz: '09e43e1ef5174e3fceb7666a342d49f0d3e9c71fc2716d0f08b075a1c95605bb'
3
+ metadata.gz: a2c335c0cdfd2e7c4f45eb896187e7bc557fe7ca246eb988b253db806a059ed9
4
+ data.tar.gz: d440f2cb94134d531a8e5f70ddb093c0c212916c9a1e9aa934463bdf836d5ce4
5
5
  SHA512:
6
- metadata.gz: 131e3a6f2d8bcfc6f002f0a24330b58f4f1d3bccadd28eaba26705638093206ba9b76f96fcbd9ba5ba3de280d7b5476665f2b1467d121f6e01d263afad0c6781
7
- data.tar.gz: c928e974ab30745433b17cc9d81af98600188ff479d6308cedfdb14150492c48e63982459c7921c21316d3f82d76c672455119ebf34b0ba54a3e80850b5cf7a2
6
+ metadata.gz: fbf8b0f657e14036d0c02ab47bd95f556a4a3e3d5d42c7cbbb695bbe566b2f7a66af9316b4658b84fda1d43a51235e7caa739d4a2fde51eb13d1f3dfcfecf436
7
+ data.tar.gz: 79b75aae2682b5c649836271938be779021a106a423543c3d176a5c89a37fb4a8ed4469fbeb3115316eca11c6343b0afc55a2f9c15c9fea9265149ebd3a52472
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2020 Codeur SARL
1
+ Copyright 2021 Codeur SARL
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -25,7 +25,7 @@ Then run:
25
25
  `bundle exec rubocop`
26
26
 
27
27
  You don't need to include rubocop directly in your application's dependencies.
28
- `rubocop-codeur will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
28
+ `rubocop-codeur` will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
29
29
 
30
30
  It might be necessary to override style rules set in this gem for some projects or to add specific ones. Rule inheritance provided by Rubocop works like the following:
31
31
  `inherit_gem → inherit_from → local rules`
@@ -46,9 +46,9 @@ AllCops:
46
46
  Note that those overriding should be avoided as much as possible.
47
47
 
48
48
  ## Release
49
- Before all, configure your credentials for `dev-codeur` RubyGems account:
49
+ Before all, configure your credentials for RubyGems :
50
50
 
51
- 1. Login to RubyGems with the `dev-codeur` account
51
+ 1. Login to RubyGems
52
52
  2. Create a token which have rights to push gems (https://rubygems.org/profile/api_keys)
53
53
  3. Add it to your config:
54
54
  ```
@@ -65,3 +65,6 @@ Else, to publish a new version of this gem, you'll need to build it with
65
65
  ```
66
66
  gem push rubocop-codeur-X.X.X.gem
67
67
  ```
68
+
69
+ ## License
70
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). Copyright 2021 Codeur SARL.
data/default.yml CHANGED
@@ -11,7 +11,9 @@ AllCops:
11
11
  - 'tmp/**/*'
12
12
  - 'vendor/**/*'
13
13
  - 'bin/*'
14
- TargetRubyVersion: 2.6
14
+ - 'test/dummy/db/schema.rb'
15
+ - 'test/dummy/tmp/**/*'
16
+ TargetRubyVersion: 2.7
15
17
  TargetRailsVersion: 6.0
16
18
  NewCops: enable
17
19
 
@@ -64,9 +66,12 @@ Metrics/BlockLength:
64
66
  Exclude:
65
67
  - 'config/routes.rb'
66
68
  - 'lib/tasks/**/*'
69
+ - 'app/states/*'
67
70
 
68
71
  Metrics/ClassLength:
69
72
  Max: 300
73
+ Exclude:
74
+ - 'app/models/**/*'
70
75
 
71
76
  Metrics/CyclomaticComplexity:
72
77
  Max: 10
@@ -167,3 +172,9 @@ Style/NumericPredicate:
167
172
 
168
173
  Style/SymbolArray:
169
174
  MinSize: 7
175
+
176
+ Style/FormatStringToken:
177
+ Enabled: true
178
+ Exclude:
179
+ - 'config/routes.rb'
180
+ - 'config/routes/*'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopCodeur
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.13'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-codeur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev-team Codeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop