view_component 3.15.0 → 3.15.1

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: 25e2163752aa77abea2905cb28191358f69e1f8f473bbfa05db10d89d3fe4543
4
- data.tar.gz: 4641471ff3338d4132c409d28a9f4ce5d77677525be98737550288b8b22f3693
3
+ metadata.gz: 3215da9ec9c55748c08f9e6fabbd3c5e6dbe6d903a682551a44cca8eba3890e4
4
+ data.tar.gz: cff255db8c6edb81fabbe1f57cb54c256a01f5bca47a0aea608d04f37e1be365
5
5
  SHA512:
6
- metadata.gz: f780668314e90a1f3584e77785d6f514c30996fa6f94dc994c670d96c75df681f368c50a3cb1615cfa0e86224a5f7524afd03e323f4c0a9ed32394c6cd04022a
7
- data.tar.gz: 89fa4c33d4fd03f1f63ac1e0dac274379d37cc11ee9fdb250d12ebb377c6aadfeae1d87edc69c1fcf65e800401b4f195d129f4ef20d937c62245064b4ac927be
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.
@@ -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
@@ -4,7 +4,7 @@ module ViewComponent
4
4
  module VERSION
5
5
  MAJOR = 3
6
6
  MINOR = 15
7
- PATCH = 0
7
+ PATCH = 1
8
8
  PRE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
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.0
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-27 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport