rubocop-codeur 0.1.9 → 0.1.14

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: beb900c6e9250b5da99a82fa046f376abf3729230ed9943661058c322c6365e3
4
- data.tar.gz: 11fff2c7910a90a43e7f1dbcc8d2044b26f802e88cb56d7a07e6964b03d2ccfb
3
+ metadata.gz: 393cedc3aa81b6bc7e241dd4b1c70f56374dd7265ae271fa43dd97f77aa6c97b
4
+ data.tar.gz: d14ad0234d1e20ba45415bfd287f43b8e29bfd6b15c224399b0da6fa7310487f
5
5
  SHA512:
6
- metadata.gz: 18ef49abc4d8ef5f7ce8b30d5b5e29c15add847c39ea0f08a24cf233d2288a0e79273d4f4c38ed06efce18c4393f67f2c94840c125fcec168f7344b97d437380
7
- data.tar.gz: 1adb7336302d57e8307e762d072dfc68aba00e4840951c66e8bcf7481e0afdec6e45c6c9277da12c03962e019b5a6b774bbfb8804002669a5374b7fcd1916c5e
6
+ metadata.gz: 949b65fdbee15d4078e9c4ff1626ed425fcc400832aaab747893d892a0b013cf0607ce585c945f9dfb3cd13bafa9afc1914672ac74fb91faf9ea4080fe89af7c
7
+ data.tar.gz: 1e44b1e228e77e50d2e27ea1a8527eb418cc27b11cdcd830bc7b2f0cf9c1b7c9d60e0edf325c1ad862d007e36a5b9b44560ed4749c96ac8f0826f4f889aee4ce
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
@@ -13,7 +13,7 @@ AllCops:
13
13
  - 'bin/*'
14
14
  - 'test/dummy/db/schema.rb'
15
15
  - 'test/dummy/tmp/**/*'
16
- TargetRubyVersion: 2.6
16
+ TargetRubyVersion: 2.7
17
17
  TargetRailsVersion: 6.0
18
18
  NewCops: enable
19
19
 
@@ -66,9 +66,12 @@ Metrics/BlockLength:
66
66
  Exclude:
67
67
  - 'config/routes.rb'
68
68
  - 'lib/tasks/**/*'
69
+ - 'app/states/*'
69
70
 
70
71
  Metrics/ClassLength:
71
72
  Max: 300
73
+ Exclude:
74
+ - 'app/models/**/*'
72
75
 
73
76
  Metrics/CyclomaticComplexity:
74
77
  Max: 10
@@ -98,6 +101,9 @@ Rails/CreateTableWithTimestamps:
98
101
  Exclude:
99
102
  - 'db/migrate/{2012,2013,2014,2015,2016,2017,2018}*.rb'
100
103
 
104
+ Rails/EnvironmentVariableAccess:
105
+ AllowReads: true
106
+
101
107
  Rails/FilePath:
102
108
  EnforcedStyle: arguments
103
109
 
@@ -169,3 +175,9 @@ Style/NumericPredicate:
169
175
 
170
176
  Style/SymbolArray:
171
177
  MinSize: 7
178
+
179
+ Style/FormatStringToken:
180
+ Enabled: true
181
+ Exclude:
182
+ - 'config/routes.rb'
183
+ - 'config/routes/*'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopCodeur
4
- VERSION = '0.1.9'
4
+ VERSION = '0.1.14'
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.9
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev-team Codeur
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-19 00:00:00.000000000 Z
11
+ date: 2021-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -101,7 +101,7 @@ licenses:
101
101
  - MIT
102
102
  metadata:
103
103
  homepage_uri: https://github.com/codeur/rubocop-codeur
104
- post_install_message:
104
+ post_install_message:
105
105
  rdoc_options: []
106
106
  require_paths:
107
107
  - lib
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.0.3
120
- signing_key:
119
+ rubygems_version: 3.1.4
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: Codeur rubocop config gem
123
123
  test_files: []