relaxed-rubocop 2.4 → 2.5

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: f03b9d6775a9a566af9637b7afb298704c12d275cd67e0f09299b722d398fe0c
4
- data.tar.gz: 2d20b2f246030c919e9381349578066a0716ffb99fb059bfd5de25f7efe737ef
3
+ metadata.gz: c3c40f7ff9ae80e82435fef724450e2ecf521d5e3e2b5575130135a5373a3ee3
4
+ data.tar.gz: 83773b710a39d46e547ff779c9166a7b59c3618287598891e3856403b1f91ffe
5
5
  SHA512:
6
- metadata.gz: 524f1db4ef50b4d000f9fb5415fd12b78f723f5f3a152364ca7bbebd5059a369f11eb43c3bcaec14182d9e2196822de8021c80a899e16d20d3ec025980f78e27
7
- data.tar.gz: 65fe4c9d6533015a3a0c34bf0dc675d0fc3d876a906d5b01c0bad11fd8c725a7ac39fa16f8d88f9689191513e9965691fd2d65cb512848cd6369799fad6f5c20
6
+ metadata.gz: cf17289fbbb025b1d78c7fe002eb30d4dd294c5d94583a455fc0596818aa4eb1a3f1fba15d78de726e594ad30e32f2312059efdfeb7c62c60b27b3b118f8ad54
7
+ data.tar.gz: 82c3553536e2ac6141320d984854ffc396ba38328fb334d0e41f5804bbef8663386e2ac3154642cfd2ba6cedcf7deadb93fc16d0609391f1aee35ee809164edf
@@ -1,5 +1,5 @@
1
1
  # Relaxed.Ruby.Style
2
- ## Version 2.4
2
+ ## Version 2.5
3
3
 
4
4
  Style/Alias:
5
5
  Enabled: false
@@ -145,30 +145,9 @@ Lint/AssignmentInCondition:
145
145
  Enabled: false
146
146
  StyleGuide: https://relaxed.ruby.style/#lintassignmentincondition
147
147
 
148
- Metrics/AbcSize:
148
+ Layout/LineLength:
149
149
  Enabled: false
150
150
 
151
- Metrics/BlockNesting:
152
- Enabled: false
153
-
154
- Metrics/ClassLength:
155
- Enabled: false
156
-
157
- Metrics/ModuleLength:
158
- Enabled: false
159
-
160
- Metrics/CyclomaticComplexity:
161
- Enabled: false
162
-
163
- Metrics/LineLength:
164
- Enabled: false
165
-
166
- Metrics/MethodLength:
167
- Enabled: false
168
-
169
- Metrics/ParameterLists:
170
- Enabled: false
171
-
172
- Metrics/PerceivedComplexity:
151
+ Metrics:
173
152
  Enabled: false
174
153
 
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## Version 2.5
4
+
5
+ - Metrics/LineLength -> Layout/LineLength
6
+ - Disable all metrics cops via prefix, not individually
7
+
3
8
  ## Version 2.4
4
9
 
5
10
  - Disable Style/SymbolArray
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # [Relaxed Ruby Style](https://relaxed.ruby.style)
2
2
 
3
- ## Version 2.4
3
+ ## Version 2.5
4
4
 
5
5
  A more liberal style guide for [RuboCop](https://github.com/rubocop-hq/rubocop). It comes
6
- with a [config file](https://relaxed.ruby.style/rubocop.yml) that deactivates some of
6
+ with a [config file](https://relaxed.ruby.style/rubocop.yml) which deactivates some of
7
7
  RuboCop's features. It is meant as a less restrictive foundation that you can use
8
8
  directly or base your style discussions on.
9
9
 
@@ -12,8 +12,6 @@ directly or base your style discussions on.
12
12
  RuboCop is an amazing tool, still some of its default rules feel overly strict. This
13
13
  might distract you from the helpful messages.
14
14
 
15
- **Warning:** Does include opinionated style advice.
16
-
17
15
  ### How to Read this Style Guide
18
16
 
19
17
  This is not a stand-alone style guide, but a patch applied to
@@ -244,6 +242,8 @@ be discussed, tweaked and activated individually.
244
242
  * [Airbnb](https://github.com/airbnb/ruby)
245
243
  * [Shopify](https://shopify.github.io/ruby-style-guide/)
246
244
 
245
+ Find more at [ruby.style](https://ruby.style)
246
+
247
247
  ## Also See
248
248
 
249
249
  * [Idiosyncratic Ruby](https://idiosyncratic-ruby.com)
@@ -2,16 +2,16 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "relaxed-rubocop"
5
- gem.version = "2.4"
5
+ gem.version = "2.5"
6
6
  gem.summary = "A relaxed style guide for RuboCop"
7
7
  gem.description = "A relaxed style guide for RuboCop. Although RuboCop is an amazing tool, some of its default rules feel overly strict. This might distract you from the helpful messages."
8
8
  gem.authors = ["Jan Lelis"]
9
- gem.email = ["mail@janlelis.de"]
9
+ gem.email = ["hi@ruby.consulting"]
10
10
  gem.homepage = "https://relaxed.ruby.style"
11
11
  gem.license = "MIT"
12
12
 
13
13
  gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^(?:pkg|build)/ }
14
14
  gem.require_paths = ["lib"]
15
15
 
16
- gem.required_ruby_version = "~> 2.0"
16
+ gem.required_ruby_version = ">= 2.0"
17
17
  end
metadata CHANGED
@@ -1,20 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaxed-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.4'
4
+ version: '2.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2020-01-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A relaxed style guide for RuboCop. Although RuboCop is an amazing tool,
14
14
  some of its default rules feel overly strict. This might distract you from the helpful
15
15
  messages.
16
16
  email:
17
- - mail@janlelis.de
17
+ - hi@ruby.consulting
18
18
  executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
@@ -34,7 +34,7 @@ require_paths:
34
34
  - lib
35
35
  required_ruby_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2.0'
40
40
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubygems_version: 3.0.3
46
+ rubygems_version: 3.0.6
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: A relaxed style guide for RuboCop