easy_style 0.4.1 → 0.5.1

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: 55d102e202084cdfa6548f632692012333ad5a3741643af30878e2d76f678e28
4
- data.tar.gz: c14a56c18527f7d74e31616b781bb53684cabfa1b648216d099a282b15634e2d
3
+ metadata.gz: 9c7d2afdffd768a02cbe6a82e56c1c50c67de420859b6924479cfdae477f14f3
4
+ data.tar.gz: f3fbb92bc62b28862d44beccaa034e10a580f53dd94955cb9e7504bda0e5c513
5
5
  SHA512:
6
- metadata.gz: 45ad3c5de550473158d0d8f23a1bb289d83da29ea56ff1f60a43dd0c03b42789d9cc8c0b61959329a010d6d467fc39fed9a51a18c09ec5cb1aa1b56171fc633b
7
- data.tar.gz: b5bcf7561c355cf9020f6472f33e7e6867d324f2447f53c8356ef5e5bddc6142d5dfccd0915c250ed55a709cc9400c2baa519b44791d5ccd752b9c055495b0ad
6
+ metadata.gz: bcada55723c47bda9bc0455423c13398731ec7a048e07374b554cc55de776a70a4ff4cbd4febe2af3cdd2b69dd565b9ad8305a5d89073bfe514a61a8bd5a3880
7
+ data.tar.gz: 29edffb4da2df6b6d96afba14fba5c1b44ac5e5a92bda10cbd8242d33f7832a4584f1abb28e9f1852d22f273761721aae7a0aa9bccbbcfc50cc6f85f2ce4b9f4
data/Gemfile.lock CHANGED
@@ -1,35 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_style (0.4.0)
4
+ easy_style (0.5.0)
5
5
  rubocop (~> 1.53.0)
6
6
  rubocop-rails (~> 2.20.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.5.1)
11
+ activesupport (7.1.2)
12
+ base64
13
+ bigdecimal
12
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ connection_pool (>= 2.2.5)
16
+ drb
13
17
  i18n (>= 1.6, < 2)
14
18
  minitest (>= 5.1)
19
+ mutex_m
15
20
  tzinfo (~> 2.0)
16
21
  ast (2.4.2)
22
+ base64 (0.2.0)
23
+ bigdecimal (3.1.4)
17
24
  concurrent-ruby (1.2.2)
25
+ connection_pool (2.4.1)
26
+ drb (2.2.0)
27
+ ruby2_keywords
18
28
  i18n (1.14.1)
19
29
  concurrent-ruby (~> 1.0)
20
- json (2.6.3)
30
+ json (2.7.0)
21
31
  language_server-protocol (3.17.0.3)
22
- minitest (5.18.1)
32
+ minitest (5.20.0)
33
+ mutex_m (0.2.0)
23
34
  parallel (1.23.0)
24
- parser (3.2.2.3)
35
+ parser (3.2.2.4)
25
36
  ast (~> 2.4.1)
26
37
  racc
27
- racc (1.7.1)
38
+ racc (1.7.3)
28
39
  rack (3.0.8)
29
40
  rainbow (3.1.1)
30
41
  rake (12.3.3)
31
- regexp_parser (2.8.1)
32
- rexml (3.2.5)
42
+ regexp_parser (2.8.2)
43
+ rexml (3.2.6)
33
44
  rubocop (1.53.1)
34
45
  json (~> 2.3)
35
46
  language_server-protocol (>= 3.17.0)
@@ -41,18 +52,20 @@ GEM
41
52
  rubocop-ast (>= 1.28.0, < 2.0)
42
53
  ruby-progressbar (~> 1.7)
43
54
  unicode-display_width (>= 2.4.0, < 3.0)
44
- rubocop-ast (1.29.0)
55
+ rubocop-ast (1.30.0)
45
56
  parser (>= 3.2.1.0)
46
57
  rubocop-rails (2.20.2)
47
58
  activesupport (>= 4.2.0)
48
59
  rack (>= 1.1)
49
60
  rubocop (>= 1.33.0, < 2.0)
50
61
  ruby-progressbar (1.13.0)
62
+ ruby2_keywords (0.0.5)
51
63
  tzinfo (2.0.6)
52
64
  concurrent-ruby (~> 1.0)
53
- unicode-display_width (2.4.2)
65
+ unicode-display_width (2.5.0)
54
66
 
55
67
  PLATFORMS
68
+ arm64-darwin-21
56
69
  arm64-darwin-22
57
70
  x86_64-darwin-21
58
71
  x86_64-linux
@@ -62,4 +75,4 @@ DEPENDENCIES
62
75
  rake (~> 12.0)
63
76
 
64
77
  BUNDLED WITH
65
- 2.4.14
78
+ 2.4.9
data/default.yml CHANGED
@@ -1,6 +1,9 @@
1
1
  require:
2
2
  - rubocop-rails
3
3
 
4
+ inherit_mode:
5
+ merge: Exclude
6
+
4
7
  Rails:
5
8
  Enabled: true
6
9
  AllCops:
@@ -15,6 +18,8 @@ Gemspec/DeprecatedAttributeAssignment:
15
18
  Enabled: false
16
19
  Gemspec/RequireMFA:
17
20
  Enabled: false
21
+ Gemspec/RequiredRubyVersion:
22
+ Enabled: false
18
23
 
19
24
  Layout/EmptyLinesAroundClassBody:
20
25
  EnforcedStyle: empty_lines_special
@@ -29,49 +34,55 @@ Lint/SuppressedException:
29
34
  AllowComments: true
30
35
 
31
36
  Metrics/AbcSize:
32
- Enabled: false
37
+ AllowedMethods: [ 'included' ]
33
38
  Metrics/BlockLength:
34
- Enabled: false
39
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
40
+ Exclude:
41
+ - "**/patches/**/*"
42
+ - "**/easy_patch/**/*"
43
+ - "**/spec/**/*"
35
44
  Metrics/ClassLength:
36
- Enabled: false
45
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
37
46
  Metrics/CyclomaticComplexity:
38
- Max: 13
47
+ AllowedMethods:
48
+ - included
39
49
  Metrics/MethodLength:
40
- Enabled: false
50
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
51
+ AllowedMethods: [ 'included' ]
52
+ Metrics/ModuleLength:
53
+ CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
54
+ Exclude:
55
+ - "**/patches/**/*"
56
+ - "**/easy_patch/**/*"
41
57
  Metrics/PerceivedComplexity:
42
- Max: 14
58
+ AllowedMethods:
59
+ - included
60
+
61
+ Naming/VariableNumber:
62
+ EnforcedStyle: snake_case
43
63
 
44
64
  Rails/ApplicationRecord:
45
65
  Enabled: false
46
- Rails/ContentTag:
47
- Enabled: false
48
66
 
49
67
  Style/Documentation:
50
68
  Enabled: false
51
- Style/EmptyMethod:
52
- EnforcedStyle: expanded
53
- Style/FetchEnvVar:
54
- Enabled: false
55
69
  Style/FrozenStringLiteralComment:
56
- Enabled: false
70
+ EnforcedStyle: never
57
71
  Style/IfUnlessModifier:
58
72
  Enabled: false
59
73
  Style/HashSyntax:
60
74
  EnforcedStyle: ruby19_no_mixed_keys
61
- EnforcedShorthandSyntax: either
62
75
  Style/MutableConstant:
63
76
  Enabled: false
64
77
  Style/NegatedIf:
65
78
  Enabled: false
66
79
  Style/QuotedSymbols:
67
80
  Enabled: false
68
- Style/StringLiterals:
69
- Enabled: false
70
- Style/SymbolArray:
81
+ Rails/SkipsModelValidations:
71
82
  Enabled: false
83
+ Style/StringLiterals:
84
+ EnforcedStyle: double_quotes
72
85
  Style/TrailingCommaInHashLiteral:
73
- Enabled: false
74
86
  EnforcedStyleForMultiline: consistent_comma
75
87
  Style/TrailingCommaInArrayLiteral:
76
- Enabled: true
77
88
  EnforcedStyleForMultiline: consistent_comma
@@ -1,5 +1,5 @@
1
1
  module EasyStyle
2
2
 
3
- VERSION = '0.4.1'
3
+ VERSION = '0.5.1'
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.1
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