rubocop-next 1.0.3 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop-next.gemspec +1 -1
  3. data/rubocop.yml +26 -20
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8924e2fee9535fede4da34d3f14011c1ec259f14e993d1bbaca74ef6208b8904
4
- data.tar.gz: e5f759d9979c4064d5fae1b45db0bbd7bfa5f037890efab760e9d84e5e496dc6
3
+ metadata.gz: ab2a966aec1fa2b0a9c5ace59aef55dfee8cebe5e200bd3a106a42f6dff16288
4
+ data.tar.gz: aef1f1d8767740a728ae8f70f719d54e61419f8e13324b9f6acb19e3b344009e
5
5
  SHA512:
6
- metadata.gz: 559c9e002df9840de7f2f9601912dea5b9e64564e45b4226b3de16bec99c105b5dda393e38ab6f7a3881c586b68d001682d402a74bfcd1126cd209849da3a977
7
- data.tar.gz: cc5db51fedc8d4f7ca24b263ed2cb23f1d268e548a72a0ddae636fd6b2f53366fb1144b89a162bc17b529f47d46238bf16328968fb31f9ea0101d644cc23440e
6
+ metadata.gz: 74203995476d6d30e3bf2e5edd15015331a653f1a98cc20d03151a11a111e5224a87389f4743dd51ce31f738fbaf7e4f571f06d336a06dca92ca3f5f3bcf9c35
7
+ data.tar.gz: 7bec7e735a8bf6fd203887a782c1d59812e88e7f08856aab2b2a684d034020a33cf075a9c1b75acbc175896bf01bffd3f8cb54a42124329606a153ce19b5cb33
data/rubocop-next.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rubocop-next'
5
- spec.version = '1.0.3'
5
+ spec.version = '1.0.6'
6
6
 
7
7
  spec.authors = ['Third Party Transportation Systems LLC']
8
8
  spec.email = 'hello@next-tms.com'
data/rubocop.yml CHANGED
@@ -10,6 +10,18 @@ inherit_gem:
10
10
  AllCops:
11
11
  NewCops: disable
12
12
 
13
+ GraphQL/ArgumentDescription:
14
+ Enabled: false
15
+
16
+ GraphQL/FieldDescription:
17
+ Enabled: false
18
+
19
+ GraphQL/ExtractInputType:
20
+ Enabled: false
21
+
22
+ GraphQL/ExtractType:
23
+ Enabled: false
24
+
13
25
  Layout/ArgumentAlignment:
14
26
  EnforcedStyle: with_first_argument
15
27
 
@@ -22,6 +34,14 @@ Layout/EndAlignment:
22
34
  Layout/FirstArrayElementIndentation:
23
35
  EnforcedStyle: align_brackets
24
36
 
37
+ Layout/FirstHashElementIndentation:
38
+ Enabled: true
39
+ EnforcedStyle: align_braces
40
+
41
+ Layout/HashAlignment:
42
+ Enabled: true
43
+ EnforcedStyle: align_braces
44
+
25
45
  Layout/LineEndStringConcatenationIndentation:
26
46
  Enabled: true
27
47
  EnforcedStyle: aligned
@@ -49,12 +69,18 @@ Metrics/MethodLength:
49
69
  Metrics/ModuleLength:
50
70
  Max: 150
51
71
 
72
+ RSpec/MultipleMemoizedHelpers:
73
+ Enabled: false
74
+
52
75
  Style/Documentation:
53
76
  Enabled: false
54
77
 
55
78
  Style/GuardClause:
56
79
  Enabled: false
57
80
 
81
+ Style/HashSyntax:
82
+ EnforcedShorthandSyntax: always
83
+
58
84
  Style/ModuleFunction:
59
85
  EnforcedStyle: extend_self
60
86
 
@@ -73,23 +99,3 @@ Style/SymbolArray:
73
99
 
74
100
  Style/TrailingCommaInHashLiteral:
75
101
  EnforcedStyleForMultiline: no_comma
76
-
77
-
78
- # ------ GraphQL -----
79
-
80
- # Added default description on fields on app/graphl/types/base_field.rb
81
- GraphQL/FieldDescription:
82
- Enabled: false
83
-
84
- # Added default description on arguments on app/graphl/types/base_argument.rb
85
- GraphQL/ArgumentDescription:
86
- Enabled: false
87
-
88
- # Not very useful. It collects all attributes that has the same prefix e.g
89
- # Shipment has broker_carrier, broker_customer and it would suggest to create a
90
- # Broker Type, and add #carrier and #customer fields on it
91
- GraphQL/ExtractType:
92
- Enabled: false
93
-
94
- GraphQL/ExtractInputType:
95
- Enabled: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-next
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Third Party Transportation Systems LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-20 00:00:00.000000000 Z
11
+ date: 2023-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -108,7 +108,7 @@ homepage: https://github.com/next-tms/rubocop-next
108
108
  licenses: []
109
109
  metadata:
110
110
  allowed_push_host: https://rubygems.org
111
- source_code_uri: https://github.com/next-tms/rubocop-next/tree/v1.0.3
111
+ source_code_uri: https://github.com/next-tms/rubocop-next/tree/v1.0.6
112
112
  post_install_message:
113
113
  rdoc_options: []
114
114
  require_paths: