view_component 3.15.0 → 3.15.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 +4 -4
- data/docs/CHANGELOG.md +6 -0
- data/lib/view_component/base.rb +9 -0
- data/lib/view_component/version.rb +1 -1
- 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: 3215da9ec9c55748c08f9e6fabbd3c5e6dbe6d903a682551a44cca8eba3890e4
|
|
4
|
+
data.tar.gz: cff255db8c6edb81fabbe1f57cb54c256a01f5bca47a0aea608d04f37e1be365
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0152ef9a6e55332ffb8d918b8633900db98fe842b1836510ff41828f698dd676dd616157f433c887dcbf78620cc3862a4a4f7bf1701296fdbe7e1b648061585a
|
|
7
|
+
data.tar.gz: 928eda14c8f4660f4de984300a0dd8baed04545fbfcb3eb31c90cbd42e9cd69d1a8f35fd5e9f6e75ca89deea73789a7b84ba261e49b528a144491a9dc979a3c4
|
data/docs/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@ nav_order: 5
|
|
|
10
10
|
|
|
11
11
|
## main
|
|
12
12
|
|
|
13
|
+
## 3.15.1
|
|
14
|
+
|
|
15
|
+
* Re-add `@private`, undocumented `.identifier` method that was only meant for internal framework use but was used by some downstream consumers. This method will be removed in a coming minor release.
|
|
16
|
+
|
|
17
|
+
*Joel Hawksley*
|
|
18
|
+
|
|
13
19
|
## 3.15.0
|
|
14
20
|
|
|
15
21
|
* Add basic internal testing for memory allocations.
|
data/lib/view_component/base.rb
CHANGED
|
@@ -574,6 +574,15 @@ module ViewComponent
|
|
|
574
574
|
@__vc_compiler ||= Compiler.new(self)
|
|
575
575
|
end
|
|
576
576
|
|
|
577
|
+
# @private
|
|
578
|
+
def identifier
|
|
579
|
+
# :nocov:
|
|
580
|
+
Kernel.warn("WARNING: The #{self.class}.identifier is undocumented and was meant for internal framework usage only. As it is no longer used by the framework it will be removed in a coming non-breaking ViewComponent release.")
|
|
581
|
+
|
|
582
|
+
source_location
|
|
583
|
+
# :nocov:
|
|
584
|
+
end
|
|
585
|
+
|
|
577
586
|
# Set the parameter name used when rendering elements of a collection ([documentation](/guide/collections)):
|
|
578
587
|
#
|
|
579
588
|
# ```ruby
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: view_component
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.15.
|
|
4
|
+
version: 3.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ViewComponent Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|