rubocop-haml 0.2.2 → 0.2.4

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: 9e4f3d6068188c9a9ffbcf6aff72545334399ad6a4d652aca5d68c4bd157d9d3
4
- data.tar.gz: 4adc39a8795c95ba2781504c67e45aca354365122eff29f220d44f673bc8fbd3
3
+ metadata.gz: d6eb8a9ba04125842b70b2bdb2f961c38f8d4165318f5f32ee31a1813b0cc676
4
+ data.tar.gz: 62766ecd6bed37bb47e9ee54460b414611047a09aeb37febed18d57b36e9f314
5
5
  SHA512:
6
- metadata.gz: a2ca9e64a637363cf504600af09ccbf2606c81025acd0687b7da8f05e1187456afa08cdaf39e2296d735c4f7c89251133d132347b0c856bd5735ceff2d5c9837
7
- data.tar.gz: 52e23c42cf4d49ef195a274f46c0ff17959658a3f90fe32b64681b311163b1d4afce22ecc153f96c45cfa7819fba0b62aa6d57e841a0bcf9004dc9f0db10aba9
6
+ metadata.gz: 9347d91bba22bb96968fc5a0d0fe3b5750e753c851dd42e8b3b2193d657bb0f79eff288c9021324be2f6374494f3f535bbc094e05891bc680c54880ec2384e14
7
+ data.tar.gz: 66ab05b2a753134d764967786b880390c515580b2e9596937d2b077feec3cf2181a0f891d2529ab0315bd699d5d50c7be0c0fa51cecc1c8219465d24960dc9d2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-haml (0.2.2)
4
+ rubocop-haml (0.2.4)
5
5
  hamli (~> 0.5)
6
6
  rubocop (~> 1.45)
7
7
 
@@ -9,52 +9,55 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
- diff-lcs (1.5.0)
12
+ diff-lcs (1.5.1)
13
13
  hamli (0.5.1)
14
14
  temple
15
- json (2.6.3)
16
- parallel (1.22.1)
17
- parser (3.2.0.0)
15
+ json (2.7.2)
16
+ language_server-protocol (3.17.0.3)
17
+ parallel (1.25.1)
18
+ parser (3.3.4.0)
18
19
  ast (~> 2.4.1)
20
+ racc
21
+ racc (1.8.0)
19
22
  rainbow (3.1.1)
20
- rake (13.0.6)
21
- regexp_parser (2.7.0)
22
- rexml (3.2.5)
23
- rspec (3.12.0)
24
- rspec-core (~> 3.12.0)
25
- rspec-expectations (~> 3.12.0)
26
- rspec-mocks (~> 3.12.0)
27
- rspec-core (3.12.1)
28
- rspec-support (~> 3.12.0)
29
- rspec-expectations (3.12.2)
23
+ rake (13.2.1)
24
+ regexp_parser (2.9.2)
25
+ rexml (3.3.2)
26
+ strscan
27
+ rspec (3.13.0)
28
+ rspec-core (~> 3.13.0)
29
+ rspec-expectations (~> 3.13.0)
30
+ rspec-mocks (~> 3.13.0)
31
+ rspec-core (3.13.0)
32
+ rspec-support (~> 3.13.0)
33
+ rspec-expectations (3.13.1)
30
34
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.12.0)
32
- rspec-mocks (3.12.3)
35
+ rspec-support (~> 3.13.0)
36
+ rspec-mocks (3.13.1)
33
37
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.12.0)
35
- rspec-support (3.12.0)
36
- rubocop (1.45.1)
38
+ rspec-support (~> 3.13.0)
39
+ rspec-support (3.13.1)
40
+ rubocop (1.65.0)
37
41
  json (~> 2.3)
42
+ language_server-protocol (>= 3.17.0)
38
43
  parallel (~> 1.10)
39
- parser (>= 3.2.0.0)
44
+ parser (>= 3.3.0.2)
40
45
  rainbow (>= 2.2.2, < 4.0)
41
- regexp_parser (>= 1.8, < 3.0)
46
+ regexp_parser (>= 2.4, < 3.0)
42
47
  rexml (>= 3.2.5, < 4.0)
43
- rubocop-ast (>= 1.24.1, < 2.0)
48
+ rubocop-ast (>= 1.31.1, < 2.0)
44
49
  ruby-progressbar (~> 1.7)
45
50
  unicode-display_width (>= 2.4.0, < 3.0)
46
- rubocop-ast (1.24.1)
47
- parser (>= 3.1.1.0)
48
- rubocop-capybara (2.17.0)
49
- rubocop (~> 1.41)
51
+ rubocop-ast (1.31.3)
52
+ parser (>= 3.3.1.0)
50
53
  rubocop-rake (0.6.0)
51
54
  rubocop (~> 1.0)
52
- rubocop-rspec (2.18.1)
53
- rubocop (~> 1.33)
54
- rubocop-capybara (~> 2.17)
55
- ruby-progressbar (1.11.0)
56
- temple (0.10.0)
57
- unicode-display_width (2.4.2)
55
+ rubocop-rspec (3.0.3)
56
+ rubocop (~> 1.61)
57
+ ruby-progressbar (1.13.0)
58
+ strscan (3.1.0)
59
+ temple (0.10.3)
60
+ unicode-display_width (2.5.0)
58
61
 
59
62
  PLATFORMS
60
63
  x86_64-linux
data/config/default.yml CHANGED
@@ -123,7 +123,7 @@ Lint/EmptyFile:
123
123
  Exclude:
124
124
  - '**/*.haml'
125
125
 
126
- Lint/SyntaxError:
126
+ Lint/Syntax:
127
127
  Exclude:
128
128
  - '**/*.haml'
129
129
 
@@ -91,7 +91,7 @@ module RuboCop
91
91
  # Remove trailing `do`.
92
92
  class TrailingDoRemover
93
93
  REGEXP = /
94
- [ \t]
94
+ (?:\b[ \t]*|[ \t])
95
95
  do
96
96
  [ \t]*
97
97
  (\|[^|]*\|)?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Haml
5
- VERSION = '0.2.2'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-02 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hamli
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.3.26
88
+ rubygems_version: 3.3.27
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: RuboCop plugin for Haml template.