rubocop-erb 0.8.0 → 0.8.1

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: d829909cc60a55799ce1976340a7e82e7cb40f82e379de1ef8fd1b8cc3395ee0
4
- data.tar.gz: 7712047a8cf2e03e4da145dd477f197a0697dbf300adc9728ab5d5fab26756cc
3
+ metadata.gz: 749a40c8adb5dd91a43e0db5eb6e045e2772afcad6ed832090ab77dece2b8e3d
4
+ data.tar.gz: 04301b69ced5ca9e5a8e8e2f26f31972d3112ea63b17ba3b5c936c935c79e223
5
5
  SHA512:
6
- metadata.gz: 5a653d659c624405db7226d3501bab436656eeca3ed31d84e6cad8838141d6c9dd384af376e6bfe30307da0b8365dee24ee70d376f47e2da1ae44a2e160dd7cb
7
- data.tar.gz: deb517d509c2e611f04a1555db766d076793a4e01f42c42697b95a5ed5a222ff6e6824711c6b613fc02a53149aafb487819378e39841ffeb1b0385662c097899
6
+ metadata.gz: bb18dff7fa5c47639da5301013d004703b7a68cb51d1a61caeae7be6a62091f7b94f84d97cc3ac4164ac6614d5f8679d1325b0949a277c07d7b00957bd8500b9
7
+ data.tar.gz: 8e07c760cfb7ac5bd4c41d3b8f368cb3f9171a64e815a9c19b41af585649ed344d46a257bd68b16cafbc99ac4d9486bda4f19894de48f50525699dc40b4b70db
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-erb (0.8.0)
4
+ rubocop-erb (0.8.1)
5
5
  herb (~> 0.9, >= 0.9.3)
6
6
  lint_roller (~> 1.1)
7
7
  rubocop (~> 1.84)
data/config/default.yml CHANGED
@@ -175,6 +175,12 @@ Lint/Void:
175
175
  Exclude:
176
176
  - '**/*.erb'
177
177
 
178
+ # The HTML between ERB tags is dropped, so an `if` around an output tag
179
+ # looks like `if a.present?; a; end`.
180
+ Rails/Presence:
181
+ Exclude:
182
+ - '**/*.erb'
183
+
178
184
  Style/EmptyElse:
179
185
  Exclude:
180
186
  - '**/*.erb'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Erb
5
- VERSION = '0.8.0'
5
+ VERSION = '0.8.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-erb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura