rubocop-haml 0.2.1 → 0.2.3

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: 22e77b90cd1339131ccd6797d3227827fa28c4779b04099baca334eb78e3b71f
4
- data.tar.gz: 8e69ee5bad6d317e279dcc5282740a07834b64b87b876ba4d643ef8d77ec849f
3
+ metadata.gz: c27e5fd753992baa2a7e29de54366a24800e3064487086493d5fb91275c9c08f
4
+ data.tar.gz: 90f412ffc94f4985c734c5a7544de5c7c52690dbc3a0b938ae4845ba0e14de95
5
5
  SHA512:
6
- metadata.gz: 95054a9527bed6415e9cbd178f9d588edcffd55b32fc11a5ed98615d9c01146c6c0fbd9af6ec0c28b3906d67db55cbc2ad5891a24811202c5791f600befef779
7
- data.tar.gz: 966a6dd9026aadd4ed1a1f81412fb372f79336d18509f04614019b28b4caba48c0da12119b0121c18cf8e950e3d3b1f894748a106b2a9946ab2b12cfc1630022
6
+ metadata.gz: 339700c0b43e9558d8c1989b2825e3eaa90c30717f113f9535403e664e1a00ba7ca525562a0caba71933f215491204ec853c1dc5244ea3b0c5e5e8b61d0d0a7b
7
+ data.tar.gz: 1369d5c470fec223fb342d955903876732549bd972f1664e80d9595628bc69ecbc6990504da96971281fc92f0399e85620d17904d2d6d9fb02e74973e175c8c5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-haml (0.2.1)
4
+ rubocop-haml (0.2.3)
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
@@ -91,11 +91,12 @@ 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
  (\|[^|]*\|)?
98
98
  [ \t]*
99
+ (\#.*)?
99
100
  \Z
100
101
  /x.freeze
101
102
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Haml
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.3'
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.1
4
+ version: 0.2.3
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-04-23 00:00:00.000000000 Z
11
+ date: 2024-07-28 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.