easy_style 0.3.0 → 0.4.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: '0184dbc2d45275b621e5488e896cd0a9ac66e79afa598601dbf550aad12a179a'
4
- data.tar.gz: 0744b421637b3c29bc6662c8e34b9dc3e72b031d03fc0841bb159a66d37315c8
3
+ metadata.gz: 55d102e202084cdfa6548f632692012333ad5a3741643af30878e2d76f678e28
4
+ data.tar.gz: c14a56c18527f7d74e31616b781bb53684cabfa1b648216d099a282b15634e2d
5
5
  SHA512:
6
- metadata.gz: 722ea744cea74c1b93166e8b66f64b976bd109a7305b4595239761787849a6e7579b32511d901bbb49125b4fb2612bb0d00e19a46176cc8c049769e12a9c3c24
7
- data.tar.gz: 04c7a066efbd127a66e6a7995e163af603fb20836c40fda39fdc7d869f4129a3e545718eddf9bcba318ca79158218b7e21f1c3489569e0f3f76c77c11cca0848
6
+ metadata.gz: 45ad3c5de550473158d0d8f23a1bb289d83da29ea56ff1f60a43dd0c03b42789d9cc8c0b61959329a010d6d467fc39fed9a51a18c09ec5cb1aa1b56171fc633b
7
+ data.tar.gz: b5bcf7561c355cf9020f6472f33e7e6867d324f2447f53c8356ef5e5bddc6142d5dfccd0915c250ed55a709cc9400c2baa519b44791d5ccd752b9c055495b0ad
data/Gemfile.lock CHANGED
@@ -1,54 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_style (0.3.0)
5
- rubocop (~> 1.39.0)
6
- rubocop-rails (~> 2.17.2)
4
+ easy_style (0.4.0)
5
+ rubocop (~> 1.53.0)
6
+ rubocop-rails (~> 2.20.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4)
11
+ activesupport (7.0.5.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
16
  ast (2.4.2)
17
- concurrent-ruby (1.1.10)
18
- i18n (1.12.0)
17
+ concurrent-ruby (1.2.2)
18
+ i18n (1.14.1)
19
19
  concurrent-ruby (~> 1.0)
20
- json (2.6.2)
21
- minitest (5.16.3)
22
- parallel (1.22.1)
23
- parser (3.1.2.1)
20
+ json (2.6.3)
21
+ language_server-protocol (3.17.0.3)
22
+ minitest (5.18.1)
23
+ parallel (1.23.0)
24
+ parser (3.2.2.3)
24
25
  ast (~> 2.4.1)
25
- rack (3.0.0)
26
+ racc
27
+ racc (1.7.1)
28
+ rack (3.0.8)
26
29
  rainbow (3.1.1)
27
30
  rake (12.3.3)
28
- regexp_parser (2.6.0)
31
+ regexp_parser (2.8.1)
29
32
  rexml (3.2.5)
30
- rubocop (1.39.0)
33
+ rubocop (1.53.1)
31
34
  json (~> 2.3)
35
+ language_server-protocol (>= 3.17.0)
32
36
  parallel (~> 1.10)
33
- parser (>= 3.1.2.1)
37
+ parser (>= 3.2.2.3)
34
38
  rainbow (>= 2.2.2, < 4.0)
35
39
  regexp_parser (>= 1.8, < 3.0)
36
40
  rexml (>= 3.2.5, < 4.0)
37
- rubocop-ast (>= 1.23.0, < 2.0)
41
+ rubocop-ast (>= 1.28.0, < 2.0)
38
42
  ruby-progressbar (~> 1.7)
39
- unicode-display_width (>= 1.4.0, < 3.0)
40
- rubocop-ast (1.23.0)
41
- parser (>= 3.1.1.0)
42
- rubocop-rails (2.17.2)
43
+ unicode-display_width (>= 2.4.0, < 3.0)
44
+ rubocop-ast (1.29.0)
45
+ parser (>= 3.2.1.0)
46
+ rubocop-rails (2.20.2)
43
47
  activesupport (>= 4.2.0)
44
48
  rack (>= 1.1)
45
49
  rubocop (>= 1.33.0, < 2.0)
46
- ruby-progressbar (1.11.0)
47
- tzinfo (2.0.5)
50
+ ruby-progressbar (1.13.0)
51
+ tzinfo (2.0.6)
48
52
  concurrent-ruby (~> 1.0)
49
- unicode-display_width (2.3.0)
53
+ unicode-display_width (2.4.2)
50
54
 
51
55
  PLATFORMS
56
+ arm64-darwin-22
52
57
  x86_64-darwin-21
53
58
  x86_64-linux
54
59
 
@@ -57,4 +62,4 @@ DEPENDENCIES
57
62
  rake (~> 12.0)
58
63
 
59
64
  BUNDLED WITH
60
- 2.3.22
65
+ 2.4.14
data/default_rc.yml ADDED
@@ -0,0 +1,85 @@
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
data/easy_style.gemspec CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_dependency 'rubocop', '~> 1.39.0'
31
- spec.add_dependency 'rubocop-rails', '~> 2.17.2'
30
+ spec.add_dependency 'rubocop', '~> 1.53.0'
31
+ spec.add_dependency 'rubocop-rails', '~> 2.20.0'
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module EasyStyle
2
2
 
3
- VERSION = '0.3.0'
3
+ VERSION = '0.4.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.3.0
4
+ version: 0.4.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: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.39.0
19
+ version: 1.53.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.39.0
26
+ version: 1.53.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.17.2
33
+ version: 2.20.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.17.2
40
+ version: 2.20.0
41
41
  description: Rubocop configs
42
42
  email:
43
43
  - info@easyredmine.com
@@ -54,6 +54,7 @@ files:
54
54
  - README.md
55
55
  - Rakefile
56
56
  - default.yml
57
+ - default_rc.yml
57
58
  - easy_style.gemspec
58
59
  - lib/easy_style.rb
59
60
  - lib/easy_style/version.rb
@@ -79,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
80
  - !ruby/object:Gem::Version
80
81
  version: '0'
81
82
  requirements: []
82
- rubygems_version: 3.3.22
83
+ rubygems_version: 3.3.19
83
84
  signing_key:
84
85
  specification_version: 4
85
86
  summary: Rubocop configs