haml_lint 0.49.3 → 0.51.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: bd85ce9cb4a413016f9453199aed1366de9cd4fde3d1b0a61a9f56bf33d7b05a
4
- data.tar.gz: cde16448577a5fda06012f39d523a7c02bbaf971a798ba0f76217245570d97cc
3
+ metadata.gz: 71dc6acf56f28f4f6878ff300a653d1fb6c5cc6fa9da23c71813463ea9e1b67a
4
+ data.tar.gz: af2fa134ec9718c24d019e20c359c9a965d6d09490e6f57fe202654f5f7f95a3
5
5
  SHA512:
6
- metadata.gz: 53606b8698b377840f21a9dcaf4861e60958a80457a75a0503ecce33fb66170a39a25430a6cacfb34872765f3dd45299048a5a8b09bffe98117c9b7695f4f6b7
7
- data.tar.gz: 90ff4f5eb6d627df9447d34dee4326f117316528a0ab08ca22ca3cfaf7560249b7d5bfce10dc88afb0870a62eea7931d60d22cceaa45ebd7a4399feac3895823
6
+ metadata.gz: 73c8a4c7fbd68cfbeacd29e5d313dcf9ae120a624a0359fecf5ca25396a8e68a0cfbad68b0ac9854af82a9233ffb26a9adf7db156f8dd3b5eb8b7a83773db035
7
+ data.tar.gz: fcb59570ff3b999f81f12208993ab75118013b0262586478145d7d0eaa9bab78002d9808757e10025324082f895bb0962743133898dd31dbb6c3db73d4c7f68c
@@ -122,6 +122,15 @@ Style/FrozenStringLiteralComment:
122
122
  Style/IfUnlessModifier:
123
123
  AutoCorrect: false
124
124
 
125
+ <% if rubocop_version >= '1.37.0' %>
126
+ # This new cop can trigger on the here-doc we use for filters that contain interpolation.
127
+ # Ex:
128
+ # :javascript
129
+ # hello #{world} \. bad escape
130
+ Style/RedundantStringEscape:
131
+ Enabled: false
132
+ <% end %>
133
+
125
134
  # In some case, this cop can cause a change in the spacing.
126
135
  # In HAML 5.2, going from (absurd example for clarity):
127
136
  # = 'abc' rescue nil
@@ -21,7 +21,7 @@ module HamlLint
21
21
  case version
22
22
  when '~> 4.0' then HamlLint::Adapter::Haml4
23
23
  when '~> 5.0', '~> 5.1', '~> 5.2' then HamlLint::Adapter::Haml5
24
- when '~> 6.0', '~> 6.0.a', '~> 6.1' then HamlLint::Adapter::Haml6
24
+ when '~> 6.0', '~> 6.0.a', '~> 6.1', '~> 6.2' then HamlLint::Adapter::Haml6
25
25
  else fail HamlLint::Exceptions::UnknownHamlVersion, "Cannot handle Haml version: #{version}"
26
26
  end
27
27
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module HamlLint
5
- VERSION = '0.49.3'
5
+ VERSION = '0.51.0'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.3
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane da Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2023-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '6.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '6.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: parallel
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +200,7 @@ homepage: https://github.com/sds/haml-lint
206
200
  licenses:
207
201
  - MIT
208
202
  metadata: {}
209
- post_install_message:
203
+ post_install_message:
210
204
  rdoc_options: []
211
205
  require_paths:
212
206
  - lib
@@ -214,15 +208,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
208
  requirements:
215
209
  - - ">="
216
210
  - !ruby/object:Gem::Version
217
- version: 2.6.0
211
+ version: 2.7.0
218
212
  required_rubygems_version: !ruby/object:Gem::Requirement
219
213
  requirements:
220
214
  - - ">="
221
215
  - !ruby/object:Gem::Version
222
216
  version: '0'
223
217
  requirements: []
224
- rubygems_version: 3.0.3.1
225
- signing_key:
218
+ rubygems_version: 3.1.6
219
+ signing_key:
226
220
  specification_version: 4
227
221
  summary: HAML lint tool
228
222
  test_files: []