params-registry 0.1.1 → 0.1.2

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: e322daa4a45ff87f3fccdd1f087509f33326015b4b0af1a574fbe35734a13f05
4
- data.tar.gz: 0f778a412f222d3ce9acecd846d63868c1882756a6a4068e30c9f71c5b649ff0
3
+ metadata.gz: 155fe142e33362d910c2682c207d9c01dd2ecdccfeaeec4b6953da96825e33d6
4
+ data.tar.gz: 7a991e0a0b3d5552251bdc26912261561acf0667f6bfbf5b7996c43cf8b577d8
5
5
  SHA512:
6
- metadata.gz: 0f163a5ef25f963c8a61d4f86711fff0d255b47265372f51e18db446548cef81208ab75cdc666db4b9d804487417a433adbe15bd59e3cb349dee6f7e8c5d6042
7
- data.tar.gz: 0ed8a0de01b76b888e010da5d5ebe9c698fc2906fa67ca3a5ae672e67f7c01058bc803386473749a223511447d1829fe568cb5db59c391bd6e7d9f0176942a6b
6
+ metadata.gz: 7c1c7aa4cadcf3d98642a2bad6ef69f2fdb6001b331631e9e7be07f46e210e2876168256323bf6bc34147e1e61a802a85c5acd8872c6db8bb19744926811fcc2
7
+ data.tar.gz: bc76e72afde35988ee907f3e54fdae0a2b4b4afbe64d05da0a5808a8e16bad87b3925347e7abd30efc10bfaf902479a91e6e69e35d74d9d4428285910f0e46b1
@@ -3,6 +3,6 @@
3
3
  module Params
4
4
  class Registry
5
5
  # The module version
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
@@ -129,6 +129,12 @@ class Params::Registry
129
129
  #
130
130
  def keys ; @templates.keys; end
131
131
 
132
+ # Return the template entries, in order.
133
+ #
134
+ # @return [Array<Params::Registry::Template>] the templates.
135
+ #
136
+ def templates ; @templates.values; end
137
+
132
138
  # Return the canonical identifier for the template.
133
139
  #
134
140
  # @param id [Object] the identifier, canonical or otherwise.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: params-registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-30 00:00:00.000000000 Z
11
+ date: 2024-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-types