rubocop-slim 0.2.4 → 0.2.6

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: ab04cbc6e4180405af2c468a50832c0ba3be2db459d581ce1d84d1d9131ff0fe
4
- data.tar.gz: efa8261463d5609a1b363216a83fb28aa57234f0eaf8fab30f68acf89f16924b
3
+ metadata.gz: 97642fcb2a1b2ffaa9d345b1785e4b18b5d2dbd7b3dc64aa2a4819a08c4fb5b9
4
+ data.tar.gz: a62994ef7b8774110bc450e7561ed3cf67e225e5c6472668778e3fb919a0c5b0
5
5
  SHA512:
6
- metadata.gz: 2c76de6b75c20a5ce1cbf8eda415c04312ece5f108c9849fd470e2a5850ac5d9af66760f862266cf21a3b4538d71aa91dbb47e308ce6a59bceca03f4312dc2c8
7
- data.tar.gz: 70b4253f59266644dbf3bfaf93a40f00347f105a168d3d051364509a0b68dc2377e96ac37a89a8f6fe9f12dbe6900b0982eed60b18599ff0efa8700b92da60ce
6
+ metadata.gz: efbc2c77f38401f0f5725bb1bd1fb90daefbe7cfa4a9a972be536a91cda2b86106050d3c77973b816ab512c8cc9a8cf4da03842cbbd31c0d21d963e14bf92c39
7
+ data.tar.gz: 86f3d16b753fcce0644093c659bf62bc83c98da286cc98b006a773fe277fba865a449a6fe048e51bc912c157b40fbcec1467d97bb9e5fda31b76ed1315088aa8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-slim (0.2.4)
4
+ rubocop-slim (0.2.6)
5
5
  rubocop (~> 1.45)
6
6
  slimi (~> 0.7)
7
7
 
@@ -75,7 +75,7 @@ GEM
75
75
  sevencop (0.43.1)
76
76
  activesupport
77
77
  rubocop
78
- slimi (0.7.4)
78
+ slimi (0.7.5)
79
79
  temple
80
80
  thor
81
81
  tilt
@@ -86,11 +86,12 @@ module RuboCop
86
86
  # Remove trailing `do`.
87
87
  class TrailingDoRemover
88
88
  REGEXP = /
89
- [ \t]
89
+ (?:\b[ \t]*|[ \t])
90
90
  do
91
91
  [ \t]*
92
92
  (\|[^|]*\|)?
93
93
  [ \t]*
94
+ (\#.*)?
94
95
  \Z
95
96
  /x.freeze
96
97
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Slim
5
- VERSION = '0.2.4'
5
+ VERSION = '0.2.6'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-slim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
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-07-25 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: rubocop