rubocop-haml 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b355a9a76f43cc73b5e5158981f9b53a399edc2f0f0dab494592d44d6cd2caaf
4
- data.tar.gz: 65e10feeea019e07542fe4bbc24438fc10b7566c417fb600ac21554252f5db2a
3
+ metadata.gz: a3e2bb7aa1e4013cda2c2888a461552cb382d2272fa7fb64bf676e72b0b7ca7f
4
+ data.tar.gz: 80bdbb6394b1fab43a1817e5aeac60a4b20b90252b45029f0a58b2a2eb04d64d
5
5
  SHA512:
6
- metadata.gz: a17a089f1af1babfaefbd066b5fe7e10d0b9e991db5b35e3e305d7504f052055d7fa8f61c665df976607cade6eaccccb6fc8c216dcd592bfdc98246a34801655
7
- data.tar.gz: 126215700ed8299ffa8150cb174e1b51d146190c043c3102bd71fa818093668c7c5b2ba3b78144c1944dbc08f18470d00c26091f1e5feec11984547e3cbe68d4
6
+ metadata.gz: 381c9b921eb03bf8247f4a520200ca458111664d388289cd8ddd75e6cf444036dc397885f8e68b27dc66b52b5d0d0b456623a24587eae16b25ea3671f8281d3d
7
+ data.tar.gz: acfb8bac907bc97419d5f3c62a2d323d32335612af671d5f41b14291bdd23398c0396bf19df8fba080d2b92a418605d039363ab63df973750664c1e80f482ea2
data/.rubocop.yml CHANGED
@@ -11,7 +11,7 @@ AllCops:
11
11
  Exclude:
12
12
  - spec/**/*.haml
13
13
  NewCops: enable
14
- TargetRubyVersion: 2.7
14
+ TargetRubyVersion: 3.3
15
15
 
16
16
  Gemspec/RequireMFA:
17
17
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-haml (0.3.1)
4
+ rubocop-haml (0.4.0)
5
5
  hamli (~> 0.5)
6
6
  lint_roller (>= 1.1)
7
7
  rubocop (>= 1.72.1)
@@ -11,7 +11,7 @@ GEM
11
11
  specs:
12
12
  ast (2.4.2)
13
13
  diff-lcs (1.6.0)
14
- hamli (0.5.1)
14
+ hamli (0.6.0)
15
15
  temple
16
16
  json (2.10.1)
17
17
  language_server-protocol (3.17.0.4)
@@ -57,10 +57,10 @@ GEM
57
57
  lint_roller (~> 1.1)
58
58
  rubocop (~> 1.72, >= 1.72.1)
59
59
  ruby-progressbar (1.13.0)
60
- temple (0.10.3)
60
+ temple (0.10.7)
61
61
  unicode-display_width (3.1.4)
62
62
  unicode-emoji (~> 4.0, >= 4.0.4)
63
- unicode-emoji (4.0.4)
63
+ unicode-emoji (4.3.0)
64
64
 
65
65
  PLATFORMS
66
66
  x86_64-linux
data/README.md CHANGED
@@ -26,9 +26,6 @@ plugins:
26
26
  - rubocop-haml
27
27
  ```
28
28
 
29
- > [!NOTE]
30
- > The plugin system is supported in RuboCop 1.72+. In earlier versions, use `require` instead of `plugins`.
31
-
32
29
  Now you can use RuboCop also for Haml templates.
33
30
 
34
31
  ```
@@ -54,5 +51,4 @@ spec/fixtures/dummy.haml:2:13: C: [Correctable] Style/StringLiterals: Prefer sin
54
51
  ## Related projects
55
52
 
56
53
  - https://github.com/r7kamura/rubocop-erb
57
- - https://github.com/r7kamura/rubocop-haml
58
- - https://github.com/r7kamura/rubocop-markdown
54
+ - https://github.com/r7kamura/rubocop-slim
@@ -55,7 +55,7 @@ module RuboCop
55
55
  | for[ \t]+\w+[ \t]+in
56
56
  )
57
57
  \b[ \t]*
58
- /x.freeze
58
+ /x
59
59
 
60
60
  class << self
61
61
  # @param [String] code
@@ -98,7 +98,7 @@ module RuboCop
98
98
  [ \t]*
99
99
  (\#.*)?
100
100
  \Z
101
- /x.freeze
101
+ /x
102
102
 
103
103
  class << self
104
104
  # @param [String] code
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Haml
5
- VERSION = '0.3.1'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
data/rubocop-haml.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'RuboCop plugin for Haml template.'
12
12
  spec.homepage = 'https://github.com/r7kamura/rubocop-haml'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = '>= 2.7.0'
14
+ spec.required_ruby_version = '>= 3.3'
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = spec.homepage
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-04-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: hamli
@@ -52,7 +51,6 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: 1.72.1
55
- description:
56
54
  email:
57
55
  - r7kamura@gmail.com
58
56
  executables: []
@@ -84,7 +82,6 @@ metadata:
84
82
  source_code_uri: https://github.com/r7kamura/rubocop-haml
85
83
  changelog_uri: https://github.com/r7kamura/rubocop-haml/releases
86
84
  default_lint_roller_plugin: RuboCop::Haml::Plugin
87
- post_install_message:
88
85
  rdoc_options: []
89
86
  require_paths:
90
87
  - lib
@@ -92,15 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
89
  requirements:
93
90
  - - ">="
94
91
  - !ruby/object:Gem::Version
95
- version: 2.7.0
92
+ version: '3.3'
96
93
  required_rubygems_version: !ruby/object:Gem::Requirement
97
94
  requirements:
98
95
  - - ">="
99
96
  - !ruby/object:Gem::Version
100
97
  version: '0'
101
98
  requirements: []
102
- rubygems_version: 3.3.27
103
- signing_key:
99
+ rubygems_version: 4.0.20
104
100
  specification_version: 4
105
101
  summary: RuboCop plugin for Haml template.
106
102
  test_files: []