easy_style 0.4.1 → 0.5.0

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: 55d102e202084cdfa6548f632692012333ad5a3741643af30878e2d76f678e28
4
- data.tar.gz: c14a56c18527f7d74e31616b781bb53684cabfa1b648216d099a282b15634e2d
3
+ metadata.gz: f1658e30c1a480dff1e670730c3b1c248239110a7ff93e68abf7f9316e1ff5be
4
+ data.tar.gz: 9436cb261cd9534c1c8bd355a20d23245dd36def9a76d33e403380e98dadf82e
5
5
  SHA512:
6
- metadata.gz: 45ad3c5de550473158d0d8f23a1bb289d83da29ea56ff1f60a43dd0c03b42789d9cc8c0b61959329a010d6d467fc39fed9a51a18c09ec5cb1aa1b56171fc633b
7
- data.tar.gz: b5bcf7561c355cf9020f6472f33e7e6867d324f2447f53c8356ef5e5bddc6142d5dfccd0915c250ed55a709cc9400c2baa519b44791d5ccd752b9c055495b0ad
6
+ metadata.gz: d8701143995d6fcdb1a607eefbe175552e5a3c9114b09490bcf9229d0b5ad8f7f5c48323349d2d8536cbcf7d07d0657fdbb28acf1dbd23deb23d17191186e142
7
+ data.tar.gz: 66b127290cba8101b0e6c6d8b1b1d796f5a2d0418b9994d5acd31eaa0384deb493632162e24c215955478694a2754429fc4cbcc76e192911d3719b107a042dee
data/default.yml CHANGED
@@ -15,6 +15,8 @@ Gemspec/DeprecatedAttributeAssignment:
15
15
  Enabled: false
16
16
  Gemspec/RequireMFA:
17
17
  Enabled: false
18
+ Gemspec/RequiredRubyVersion:
19
+ Enabled: false
18
20
 
19
21
  Layout/EmptyLinesAroundClassBody:
20
22
  EnforcedStyle: empty_lines_special
@@ -29,49 +31,55 @@ Lint/SuppressedException:
29
31
  AllowComments: true
30
32
 
31
33
  Metrics/AbcSize:
32
- Enabled: false
34
+ AllowedMethods: [ 'included' ]
33
35
  Metrics/BlockLength:
34
- Enabled: false
36
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
37
+ Exclude:
38
+ - "**/patches/**/*"
39
+ - "**/easy_patch/**/*"
40
+ - "**/spec/**/*"
35
41
  Metrics/ClassLength:
36
- Enabled: false
42
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
37
43
  Metrics/CyclomaticComplexity:
38
- Max: 13
44
+ AllowedMethods:
45
+ - included
39
46
  Metrics/MethodLength:
40
- Enabled: false
47
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
48
+ AllowedMethods: [ 'included' ]
49
+ Metrics/ModuleLength:
50
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
51
+ Exclude:
52
+ - "**/patches/**/*"
53
+ - "**/easy_patch/**/*"
41
54
  Metrics/PerceivedComplexity:
42
- Max: 14
55
+ AllowedMethods:
56
+ - included
57
+
58
+ Naming/VariableNumber:
59
+ EnforcedStyle: snake_case
43
60
 
44
61
  Rails/ApplicationRecord:
45
62
  Enabled: false
46
- Rails/ContentTag:
47
- Enabled: false
48
63
 
49
64
  Style/Documentation:
50
65
  Enabled: false
51
- Style/EmptyMethod:
52
- EnforcedStyle: expanded
53
- Style/FetchEnvVar:
54
- Enabled: false
55
66
  Style/FrozenStringLiteralComment:
56
- Enabled: false
67
+ EnforcedStyle: never
57
68
  Style/IfUnlessModifier:
58
69
  Enabled: false
59
70
  Style/HashSyntax:
60
71
  EnforcedStyle: ruby19_no_mixed_keys
61
- EnforcedShorthandSyntax: either
62
72
  Style/MutableConstant:
63
73
  Enabled: false
64
74
  Style/NegatedIf:
65
75
  Enabled: false
66
76
  Style/QuotedSymbols:
67
77
  Enabled: false
68
- Style/StringLiterals:
69
- Enabled: false
70
- Style/SymbolArray:
78
+ Rails/SkipsModelValidations:
71
79
  Enabled: false
80
+ Style/StringLiterals:
81
+ EnforcedStyle: double_quotes
72
82
  Style/TrailingCommaInHashLiteral:
73
- Enabled: false
74
83
  EnforcedStyleForMultiline: consistent_comma
75
84
  Style/TrailingCommaInArrayLiteral:
76
- Enabled: true
77
85
  EnforcedStyleForMultiline: consistent_comma
@@ -1,5 +1,5 @@
1
1
  module EasyStyle
2
2
 
3
- VERSION = '0.4.1'
3
+ VERSION = '0.5.0'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Easy Software Ltd
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2023-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -54,7 +54,6 @@ files:
54
54
  - README.md
55
55
  - Rakefile
56
56
  - default.yml
57
- - default_rc.yml
58
57
  - easy_style.gemspec
59
58
  - lib/easy_style.rb
60
59
  - lib/easy_style/version.rb
data/default_rc.yml DELETED
@@ -1,85 +0,0 @@
1
- require:
2
- - rubocop-rails
3
-
4
- Rails:
5
- Enabled: true
6
- AllCops:
7
- TargetRubyVersion: 3.1.2
8
- NewCops: enable
9
- SuggestExtensions: false
10
-
11
- Bundler/GemFilename:
12
- Enabled: false
13
-
14
- Gemspec/DeprecatedAttributeAssignment:
15
- Enabled: false
16
- Gemspec/RequireMFA:
17
- Enabled: false
18
- Gemspec/RequiredRubyVersion:
19
- Enabled: false
20
-
21
- Layout/EmptyLinesAroundClassBody:
22
- EnforcedStyle: empty_lines_special
23
- Layout/EmptyLinesAroundModuleBody:
24
- EnforcedStyle: empty_lines_except_namespace
25
- Layout/LineLength:
26
- Enabled: false
27
- Layout/MultilineMethodCallIndentation:
28
- EnforcedStyle: indented_relative_to_receiver
29
-
30
- Lint/SuppressedException:
31
- AllowComments: true
32
-
33
- Metrics/AbcSize:
34
- AllowedMethods: [ 'included' ]
35
- Metrics/BlockLength:
36
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
37
- Exclude:
38
- - "**/patches/**/*"
39
- - "**/easy_patch/**/*"
40
- - "**/spec/**/*"
41
- Metrics/ClassLength:
42
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
43
- Metrics/CyclomaticComplexity:
44
- AllowedMethods:
45
- - included
46
- Metrics/MethodLength:
47
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
48
- AllowedMethods: [ 'included' ]
49
- Metrics/ModuleLength:
50
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
51
- Exclude:
52
- - "**/patches/**/*"
53
- - "**/easy_patch/**/*"
54
- Metrics/PerceivedComplexity:
55
- AllowedMethods:
56
- - included
57
-
58
- Naming/VariableNumber:
59
- EnforcedStyle: snake_case
60
-
61
- Rails/ApplicationRecord:
62
- Enabled: false
63
-
64
- Style/Documentation:
65
- Enabled: false
66
- Style/FrozenStringLiteralComment:
67
- EnforcedStyle: never
68
- Style/IfUnlessModifier:
69
- Enabled: false
70
- Style/HashSyntax:
71
- EnforcedStyle: ruby19_no_mixed_keys
72
- Style/MutableConstant:
73
- Enabled: false
74
- Style/NegatedIf:
75
- Enabled: false
76
- Style/QuotedSymbols:
77
- Enabled: false
78
- Rails/SkipsModelValidations:
79
- Enabled: false
80
- Style/StringLiterals:
81
- EnforcedStyle: double_quotes
82
- Style/TrailingCommaInHashLiteral:
83
- EnforcedStyleForMultiline: consistent_comma
84
- Style/TrailingCommaInArrayLiteral:
85
- EnforcedStyleForMultiline: consistent_comma