primer_view_components 0.0.81 → 0.0.82

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: 5e807ec7189fc1b68388e5d3eabefa155c77cbf89d5d6572ac93eed37d9132e5
4
- data.tar.gz: 4f32138832c7a375e185661f7d17e8c65f65b04364834f8a1866c4efca397232
3
+ metadata.gz: 5528c62efb05402615b21982de144d83ef55205ef56e3194f7c4f4f477ed921b
4
+ data.tar.gz: c55fc0440a5ec0f10b2986d22b94de57094a0d3a76737aeb036217ca9ba8c757
5
5
  SHA512:
6
- metadata.gz: e7ee4567ce2f7a73a692a0f975a3a134b25ac5ae2183a70a295fbb4c3742d54b71944900445ed37c9257784049ffd45cb4d5c98105d7109dcf808926d1b53b7a
7
- data.tar.gz: 415e4727e4cc542647ac1e69a407fbe7d329bdb068b724963359fc871e68699a35ba93a7e4423b69ad0f8cc2f80e70218ba6d7c1aa9ec3721569ed154ee1f0c4
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
@@ -5,7 +5,7 @@ module Primer
5
5
  module VERSION
6
6
  MAJOR = 0
7
7
  MINOR = 0
8
- PATCH = 81
8
+ PATCH = 82
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH].join(".")
11
11
  end
@@ -1,33 +1,9 @@
1
1
  require:
2
2
  - rubocop/cop/primer
3
- - rubocop-rails
4
3
 
5
- ####### RUBOCOP'S DEFAULTS #######
6
- # we don't want these in .erb files
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.81
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-06-30 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview