rubocop-erb 0.4.0 → 0.5.0

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: 69ccb933a550ae4dfe699ed42350e4c39eb7b2e0e7488915ec3ead433ef1d2be
4
- data.tar.gz: cf759f1dddd604d8843fccf1bd71fa3a2d8f7a833c08f35048452bb0de18955e
3
+ metadata.gz: f123ff1f6d2922f3c10d1b791154cc18b4e564f79692ef85b6dfcf0821df3395
4
+ data.tar.gz: 6a5f0f2f5e928daf6c737891af530d9b192a7f0029cf07000581b5001cd65b16
5
5
  SHA512:
6
- metadata.gz: 65177bdd79e44d0ed83f431c480ec5399ebcd4fb5d196a4c1bab61947984525cc2c2f8aaf6ff3978fd66558d058e8fcf2fb50f88d0c27ed4715613b5426e73f5
7
- data.tar.gz: 4c2ecc5c6b0be161bb72799e17761d50b5dc8387d1ae1de6043ed8dc02dfd2a16093ed49c5ca529e93c6e3d004079406d345e5d5155e883dd4527e0c4be09f65
6
+ metadata.gz: bec001c332bc833a3874038da632e7603b8c666a192680e5324cac316f77bcbcbea342b5f43ecbc1e71ac17383f3b32138326b2511b761c67c33a151ad985e7a
7
+ data.tar.gz: 882774f91b3b5e198ddacb2fdc27657d5584a383d48671aa98f4bfd259a587431aca77cbefc999beb11fb45102aa4f2587efcd1d84e144c42389bee20dd15dde
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-erb (0.4.0)
4
+ rubocop-erb (0.5.0)
5
5
  better_html
6
6
  rubocop (~> 1.45)
7
7
 
@@ -26,7 +26,7 @@ GEM
26
26
  tzinfo (~> 2.0)
27
27
  ast (2.4.2)
28
28
  base64 (0.2.0)
29
- better_html (2.0.2)
29
+ better_html (2.1.1)
30
30
  actionview (>= 6.0)
31
31
  activesupport (>= 6.0)
32
32
  ast (~> 2.0)
@@ -34,13 +34,13 @@ GEM
34
34
  parser (>= 2.4)
35
35
  smart_properties
36
36
  bigdecimal (3.1.6)
37
- builder (3.2.4)
37
+ builder (3.3.0)
38
38
  concurrent-ruby (1.2.3)
39
39
  connection_pool (2.4.1)
40
40
  crass (1.0.6)
41
41
  diff-lcs (1.5.1)
42
42
  drb (2.2.1)
43
- erubi (1.12.0)
43
+ erubi (1.13.0)
44
44
  i18n (1.14.4)
45
45
  concurrent-ruby (~> 1.0)
46
46
  json (2.7.1)
@@ -50,7 +50,7 @@ GEM
50
50
  nokogiri (>= 1.12.0)
51
51
  minitest (5.22.2)
52
52
  mutex_m (0.2.0)
53
- nokogiri (1.16.2-x86_64-linux)
53
+ nokogiri (1.16.6-x86_64-linux)
54
54
  racc (~> 1.4)
55
55
  parallel (1.24.0)
56
56
  parser (3.3.0.5)
data/config/default.yml CHANGED
@@ -23,6 +23,10 @@ Layout/ClosingParenthesisIndentation:
23
23
  Exclude:
24
24
  - '**/*.erb'
25
25
 
26
+ Layout/CommentIndentation:
27
+ Exclude:
28
+ - '**/*.erb'
29
+
26
30
  Layout/InitialIndentation:
27
31
  Exclude:
28
32
  - '**/*.erb'
@@ -79,6 +83,10 @@ Layout/LeadingEmptyLine:
79
83
  Exclude:
80
84
  - '**/*.erb'
81
85
 
86
+ Layout/LeadingEmptyLines:
87
+ Exclude:
88
+ - '**/*.erb'
89
+
82
90
  Layout/LineEndStringConcatenationIndentation:
83
91
  Exclude:
84
92
  - '**/*.erb'
@@ -131,6 +139,10 @@ Lint/EmptyFile:
131
139
  Exclude:
132
140
  - '**/*.erb'
133
141
 
142
+ Lint/OutOfRangeRegexpRef:
143
+ Exclude:
144
+ - '**/*.erb'
145
+
134
146
  Lint/SyntaxError:
135
147
  Exclude:
136
148
  - '**/*.erb'
@@ -4,6 +4,7 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec path: '..'
6
6
 
7
+ gem 'better_html', '< 2.1' # 2.1 dropped ruby 2.7 support.
7
8
  gem 'nokogiri', '~> 1.15.0'
8
9
  gem 'rake'
9
10
  gem 'rspec'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- rubocop-erb (0.4.0)
4
+ rubocop-erb (0.5.0)
5
5
  better_html
6
6
  rubocop (~> 1.45)
7
7
 
@@ -34,14 +34,14 @@ GEM
34
34
  parser (>= 2.4)
35
35
  smart_properties
36
36
  bigdecimal (3.1.5)
37
- builder (3.2.4)
37
+ builder (3.3.0)
38
38
  concurrent-ruby (1.2.2)
39
39
  connection_pool (2.4.1)
40
40
  crass (1.0.6)
41
41
  diff-lcs (1.5.0)
42
42
  drb (2.2.0)
43
43
  ruby2_keywords
44
- erubi (1.12.0)
44
+ erubi (1.13.0)
45
45
  i18n (1.14.1)
46
46
  concurrent-ruby (~> 1.0)
47
47
  json (2.7.1)
@@ -49,9 +49,11 @@ GEM
49
49
  loofah (2.22.0)
50
50
  crass (~> 1.0.2)
51
51
  nokogiri (>= 1.12.0)
52
+ mini_portile2 (2.8.7)
52
53
  minitest (5.20.0)
53
54
  mutex_m (0.2.0)
54
- nokogiri (1.15.5-x86_64-linux)
55
+ nokogiri (1.15.5)
56
+ mini_portile2 (~> 2.8.2)
55
57
  racc (~> 1.4)
56
58
  parallel (1.24.0)
57
59
  parser (3.3.0.2)
@@ -119,6 +121,7 @@ PLATFORMS
119
121
  x86_64-linux
120
122
 
121
123
  DEPENDENCIES
124
+ better_html (< 2.1)
122
125
  nokogiri (~> 1.15.0)
123
126
  rake
124
127
  rspec
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Erb
5
- VERSION = '0.4.0'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-erb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_html
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.3.26
90
+ rubygems_version: 3.3.27
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: RuboCop plugin for ERB template.