primer_view_components 0.0.81 → 0.0.82
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/components/primer/component.rb +1 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/rubocop/config/default.yml +2 -26
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5528c62efb05402615b21982de144d83ef55205ef56e3194f7c4f4f477ed921b
|
4
|
+
data.tar.gz: c55fc0440a5ec0f10b2986d22b94de57094a0d3a76737aeb036217ca9ba8c757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f91353d888df02fde3eae7ebee51a9b088092ea3c8c3faad4a08f4539d3ab907b70cfa139b541ecdb80746bd7ace01ffad08637079d0d932882ca2f6c4d729
|
7
|
+
data.tar.gz: 53aedb70c724011d36b30221671515bb50341a94556efcaa8f01439598c3580a1d23f56d9464377098fd9f37c03486330bbed6ea524809854cb983e2b6bc8cf4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.0.82
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1211](https://github.com/primer/view_components/pull/1211) [`047c6be6`](https://github.com/primer/view_components/commit/047c6be6f601192255a3611940e46fc5a24b46bd) Thanks [@camertron](https://github.com/camertron)! - Don't lint ERB files with Rubocop
|
8
|
+
|
9
|
+
* [#1210](https://github.com/primer/view_components/pull/1210) [`7b3d5941`](https://github.com/primer/view_components/commit/7b3d59415d846e254128d04253fadfdb399c8c84) Thanks [@camertron](https://github.com/camertron)! - Silence polymorphic slots warning message
|
10
|
+
|
3
11
|
## 0.0.81
|
4
12
|
|
5
13
|
### Patch Changes
|
@@ -6,7 +6,7 @@ module Primer
|
|
6
6
|
# @private
|
7
7
|
class Component < ViewComponent::Base
|
8
8
|
include ViewComponent::SlotableV2 unless ViewComponent::Base < ViewComponent::SlotableV2
|
9
|
-
include ViewComponent::PolymorphicSlots
|
9
|
+
include ViewComponent::PolymorphicSlots unless ViewComponent::Base < ViewComponent::PolymorphicSlots
|
10
10
|
include ClassNameHelper
|
11
11
|
include FetchOrFallbackHelper
|
12
12
|
include TestSelectorHelper
|
@@ -1,33 +1,9 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop/cop/primer
|
3
|
-
- rubocop-rails
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
Style/FrozenStringLiteralComment:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
# lots of false-positives in .erb files
|
11
|
-
Layout/InitialIndentation:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
Style/StringLiterals:
|
15
|
-
EnforcedStyle: double_quotes
|
16
|
-
|
17
|
-
# lots of false-positives - this cop is meant for Ruby code, not .erb
|
18
|
-
Layout/TrailingEmptyLines:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
# it's often not desirable to add unnecessary newlines into .erb files, as
|
22
|
-
# they will appear in the rendered HTML
|
23
|
-
Layout/LineLength:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
# calling .html_safe in templates is ok
|
27
|
-
Rails/OutputSafety:
|
28
|
-
Enabled: false
|
4
|
+
AllCops:
|
5
|
+
DisabledByDefault: true
|
29
6
|
|
30
|
-
####### PRIMER COPS #######
|
31
7
|
Primer/SystemArgumentInsteadOfClass:
|
32
8
|
Enabled: true
|
33
9
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.82
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|