wholeable 0.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7170fd4f95494351863b4ef31203f38ec10ae4d7a589691fb50e38ca813cbbb6
4
+ data.tar.gz: 020a94f04704a611cf55a371830d3ee4a8f7cfccb11e9ab3c31c782b830145b7
5
+ SHA512:
6
+ metadata.gz: 6d307cf89e4a8ba694c20bdd4fb5afc92fd93fce6a98bc0dd77df7c58f9bf5cd3da11d96be41479d176806a66ae3b2864d3a6d9078d855ffeaf29ac8be1ca675
7
+ data.tar.gz: 9e4a70b92a5cb656a8ea4aaf874eff0050166811c295cf91d0fc305974a2c73604cefb80bc3eac4c868971ffeabee32de835f76c9e40d745988ca66e9ba84fe4
checksums.yaml.gz.sig ADDED
Binary file
data/LICENSE.adoc ADDED
@@ -0,0 +1,134 @@
1
+ = Hippocratic License
2
+
3
+ Version: 2.1.0.
4
+
5
+ Purpose. The purpose of this License is for the Licensor named above to
6
+ permit the Licensee (as defined below) broad permission, if consistent
7
+ with Human Rights Laws and Human Rights Principles (as each is defined
8
+ below), to use and work with the Software (as defined below) within the
9
+ full scope of Licensor’s copyright and patent rights, if any, in the
10
+ Software, while ensuring attribution and protecting the Licensor from
11
+ liability.
12
+
13
+ Permission and Conditions. The Licensor grants permission by this
14
+ license ("License"), free of charge, to the extent of Licensor’s
15
+ rights under applicable copyright and patent law, to any person or
16
+ entity (the "Licensee") obtaining a copy of this software and
17
+ associated documentation files (the "Software"), to do everything with
18
+ the Software that would otherwise infringe (i) the Licensor’s copyright
19
+ in the Software or (ii) any patent claims to the Software that the
20
+ Licensor can license or becomes able to license, subject to all of the
21
+ following terms and conditions:
22
+
23
+ * Acceptance. This License is automatically offered to every person and
24
+ entity subject to its terms and conditions. Licensee accepts this
25
+ License and agrees to its terms and conditions by taking any action with
26
+ the Software that, absent this License, would infringe any intellectual
27
+ property right held by Licensor.
28
+ * Notice. Licensee must ensure that everyone who gets a copy of any part
29
+ of this Software from Licensee, with or without changes, also receives
30
+ the License and the above copyright notice (and if included by the
31
+ Licensor, patent, trademark and attribution notice). Licensee must cause
32
+ any modified versions of the Software to carry prominent notices stating
33
+ that Licensee changed the Software. For clarity, although Licensee is
34
+ free to create modifications of the Software and distribute only the
35
+ modified portion created by Licensee with additional or different terms,
36
+ the portion of the Software not modified must be distributed pursuant to
37
+ this License. If anyone notifies Licensee in writing that Licensee has
38
+ not complied with this Notice section, Licensee can keep this License by
39
+ taking all practical steps to comply within 30 days after the notice. If
40
+ Licensee does not do so, Licensee’s License (and all rights licensed
41
+ hereunder) shall end immediately.
42
+ * Compliance with Human Rights Principles and Human Rights Laws.
43
+ [arabic]
44
+ . Human Rights Principles.
45
+ [loweralpha]
46
+ .. Licensee is advised to consult the articles of the United Nations
47
+ Universal Declaration of Human Rights and the United Nations Global
48
+ Compact that define recognized principles of international human rights
49
+ (the "Human Rights Principles"). Licensee shall use the Software in a
50
+ manner consistent with Human Rights Principles.
51
+ .. Unless the Licensor and Licensee agree otherwise, any dispute,
52
+ controversy, or claim arising out of or relating to (i) Section 1(a)
53
+ regarding Human Rights Principles, including the breach of Section 1(a),
54
+ termination of this License for breach of the Human Rights Principles,
55
+ or invalidity of Section 1(a) or (ii) a determination of whether any Law
56
+ is consistent or in conflict with Human Rights Principles pursuant to
57
+ Section 2, below, shall be settled by arbitration in accordance with the
58
+ Hague Rules on Business and Human Rights Arbitration (the "Rules");
59
+ provided, however, that Licensee may elect not to participate in such
60
+ arbitration, in which event this License (and all rights licensed
61
+ hereunder) shall end immediately. The number of arbitrators shall be one
62
+ unless the Rules require otherwise.
63
+ +
64
+ Unless both the Licensor and Licensee agree to the contrary: (1) All
65
+ documents and information concerning the arbitration shall be public and
66
+ may be disclosed by any party; (2) The repository referred to under
67
+ Article 43 of the Rules shall make available to the public in a timely
68
+ manner all documents concerning the arbitration which are communicated
69
+ to it, including all submissions of the parties, all evidence admitted
70
+ into the record of the proceedings, all transcripts or other recordings
71
+ of hearings and all orders, decisions and awards of the arbitral
72
+ tribunal, subject only to the arbitral tribunal’s powers to take such
73
+ measures as may be necessary to safeguard the integrity of the arbitral
74
+ process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3)
75
+ Article 26(6) of the Rules shall not apply.
76
+ . Human Rights Laws. The Software shall not be used by any person or
77
+ entity for any systems, activities, or other uses that violate any Human
78
+ Rights Laws. "Human Rights Laws" means any applicable laws,
79
+ regulations, or rules (collectively, "Laws") that protect human,
80
+ civil, labor, privacy, political, environmental, security, economic, due
81
+ process, or similar rights; provided, however, that such Laws are
82
+ consistent and not in conflict with Human Rights Principles (a dispute
83
+ over the consistency or a conflict between Laws and Human Rights
84
+ Principles shall be determined by arbitration as stated above). Where
85
+ the Human Rights Laws of more than one jurisdiction are applicable or in
86
+ conflict with respect to the use of the Software, the Human Rights Laws
87
+ that are most protective of the individuals or groups harmed shall
88
+ apply.
89
+ . Indemnity. Licensee shall hold harmless and indemnify Licensor (and
90
+ any other contributor) against all losses, damages, liabilities,
91
+ deficiencies, claims, actions, judgments, settlements, interest, awards,
92
+ penalties, fines, costs, or expenses of whatever kind, including
93
+ Licensor’s reasonable attorneys’ fees, arising out of or relating to
94
+ Licensee’s use of the Software in violation of Human Rights Laws or
95
+ Human Rights Principles.
96
+ * Failure to Comply. Any failure of Licensee to act according to the
97
+ terms and conditions of this License is both a breach of the License and
98
+ an infringement of the intellectual property rights of the Licensor
99
+ (subject to exceptions under Laws, e.g., fair use). In the event of a
100
+ breach or infringement, the terms and conditions of this License may be
101
+ enforced by Licensor under the Laws of any jurisdiction to which
102
+ Licensee is subject. Licensee also agrees that the Licensor may enforce
103
+ the terms and conditions of this License against Licensee through
104
+ specific performance (or similar remedy under Laws) to the extent
105
+ permitted by Laws. For clarity, except in the event of a breach of this
106
+ License, infringement, or as otherwise stated in this License, Licensor
107
+ may not terminate this License with Licensee.
108
+ * Enforceability and Interpretation. If any term or provision of this
109
+ License is determined to be invalid, illegal, or unenforceable by a
110
+ court of competent jurisdiction, then such invalidity, illegality, or
111
+ unenforceability shall not affect any other term or provision of this
112
+ License or invalidate or render unenforceable such term or provision in
113
+ any other jurisdiction; provided, however, subject to a court
114
+ modification pursuant to the immediately following sentence, if any term
115
+ or provision of this License pertaining to Human Rights Laws or Human
116
+ Rights Principles is deemed invalid, illegal, or unenforceable against
117
+ Licensee by a court of competent jurisdiction, all rights in the
118
+ Software granted to Licensee shall be deemed null and void as between
119
+ Licensor and Licensee. Upon a determination that any term or provision
120
+ is invalid, illegal, or unenforceable, to the extent permitted by Laws,
121
+ the court may modify this License to affect the original purpose that
122
+ the Software be used in compliance with Human Rights Principles and
123
+ Human Rights Laws as closely as possible. The language in this License
124
+ shall be interpreted as to its fair meaning and not strictly for or
125
+ against any party.
126
+ * Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES
127
+ "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND
128
+ ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR
129
+ OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE
130
+ OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.
131
+
132
+ This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered
133
+ for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties
134
+ express or implied, to the maximum extent permitted by Laws.
data/README.adoc ADDED
@@ -0,0 +1,189 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ :data_link: link:https://alchemists.io/articles/ruby_data[Data]
6
+ :pattern_matching_link: link:https://alchemists.io/articles/ruby_pattern_matching[pattern matching]
7
+ :ruby_link: link:https://www.ruby-lang.org[Ruby]
8
+ :data_link: link:https://alchemists.io/articles/ruby_data[Data]
9
+ :structs_link: link:https://alchemists.io/articles/ruby_structs[Structs]
10
+
11
+ = Wholeable
12
+
13
+ Wholeable allows you to turn your object into a _whole value object_ by ensuring object equality is determined by the values of the object instead of by identity. Whole value objects -- or value objects in general -- have the following traits as noted via link:https://en.wikipedia.org/wiki/Value_object[Wikipedia]:
14
+
15
+ * Equality is determined by the values that make up an object and not by link:https://en.wikipedia.org/wiki/Identity_(object-oriented_programming)[identity] (i.e. memory address) which is the default behavior for all {ruby_link} objects except for {data_link} and {structs_link}.
16
+ * Identity remains unique since two objects can have the same values but different identity. This means `BasicObject#equal?` is never overwritten -- which is strongly discouraged -- as per link:https://rubyapi.org/o/basicobject#method-i-3D-3D[BasicObject] documentation.
17
+ * Value objects should be immutable (i.e. frozen) by default. This implementation enforces a strict adherence to immutability in order to ensure value objects remain equal and discourage mutation.
18
+
19
+ toc::[]
20
+
21
+ == Features
22
+
23
+ * Ensures equality (i.e. `#==` and `#eql?`) is determined by attribute values and not object identity (i.e. `#equal?`).
24
+ * Allows you to compare two objects of same or different types and see their differences.
25
+ * Provides {pattern_matching_link}.
26
+ * Automatically defines public attribute readers (i.e. `.attr_reader`) based on provided keys.
27
+ * Ensures object inspection (i.e. `#inspect`) shows all registered attributes.
28
+ * Ensures object is frozen upon initialization.
29
+
30
+ == Requirements
31
+
32
+ . {ruby_link}.
33
+
34
+ == Setup
35
+
36
+ To install _with_ security, run:
37
+
38
+ [source,bash]
39
+ ----
40
+ # 💡 Skip this line if you already have the public certificate installed.
41
+ gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem)
42
+ gem install wholeable --trust-policy HighSecurity
43
+ ----
44
+
45
+ To install _without_ security, run:
46
+
47
+ [source,bash]
48
+ ----
49
+ gem install wholeable
50
+ ----
51
+
52
+ You can also add the gem directly to your project:
53
+
54
+ [source,bash]
55
+ ----
56
+ bundle add wholeable
57
+ ----
58
+
59
+ Once the gem is installed, you only need to require it:
60
+
61
+ [source,ruby]
62
+ ----
63
+ require "wholeable"
64
+ ----
65
+
66
+ == Usage
67
+
68
+ To use, include Wholeable along with a list of attributes that make up your whole value object:
69
+
70
+ [source,ruby]
71
+ ----
72
+ class Person
73
+ include Wholeable[:name, :email]
74
+
75
+ def initialize name:, email:
76
+ @name = name
77
+ @email = email
78
+ end
79
+ end
80
+
81
+ jill = Person.new name: "Jill Smith", email: "jill@example.com"
82
+ jill_two = Person.new name: "Jill Smith", email: "jill@example.com"
83
+ jack = Person.new name: "Jack Smith", email: "jack@example.com"
84
+
85
+ jill.name # "Jill Smith"
86
+ jill.email # "jill@example.com"
87
+
88
+ jill.frozen? # true
89
+ jill_two.frozen? # true
90
+ jack.frozen? # true
91
+
92
+ jill.inspect # "#<Person @name=\"Jill Smith\", @email=\"jill@example.com\">"
93
+ jill_two.inspect # "#<Person @name=\"Jill Smith\", @email=\"jill@example.com\">"
94
+ jack.inspect # "#<Person @name=\"Jack Smith\", @email=\"jack@example.com\">"
95
+
96
+ jill == jill # true
97
+ jill == jill_two # true
98
+ jill == jack # false
99
+
100
+ jill.diff(jill) # {}
101
+ jill.diff(jack) # {
102
+ # name: ["Jill Smith", "Jack Smith"],
103
+ # email: ["jill@example.com", "jack@example.com"]
104
+ # }
105
+ jill.diff(Object.new) # {:name=>["Jill Smith", nil], :email=>["jill@example.com", nil]}
106
+
107
+ jill.eql? jill # true
108
+ jill.eql? jill_two # true
109
+ jill.eql? jack # false
110
+
111
+ jill.equal? jill # true
112
+ jill.equal? jill_two # false
113
+ jill.equal? jack # false
114
+
115
+ jill.hash # 3650965837788801745
116
+ jill_two.hash # 3650965837788801745
117
+ jack.hash # 4460658980509842640
118
+
119
+ jill.to_a # ["Jill Smith", "jill@example.com"]
120
+ jack.to_a # ["Jack Smith", "jack@example.com"]
121
+
122
+ jill.to_h # {:name=>"Jill Smith", :email=>"jill@example.com"}
123
+ jack.to_h # {:name=>"Jack Smith", :email=>"jack@example.com"}
124
+
125
+ jill.with name: "Sue" # #<Person @name="Sue", @email="jill@example.com">
126
+ jill.with bad: "!" # unknown keyword: :bad (ArgumentError)
127
+ ----
128
+
129
+ As you can see, object equality is determined by the object's values and _not_ by the object's identity. When you include `Wholeable` along with a list of keys, the following happens:
130
+
131
+ . The corresponding _public_ `attr_reader` for each key is created which saves you time and reduces double entry when implementing your whole value object.
132
+ . The `#to_a` and `#to_h` methods are added for convenience in order to play nice with {data_link} and {structs_link}.
133
+ . The `#deconstruct` and `#deconstruct_keys` aliases are created so you can leverage {pattern_matching_link}.
134
+ . The `#==`, `#eql?`, `#hash`, `#inspect`, and `#with` methods are added to provide whole value behavior.
135
+ . The object is immediately frozen after initialization to ensure your instance is _immutable_ by default.
136
+
137
+ == Caveats
138
+
139
+ Whole values can be broken via the following:
140
+
141
+ * *Duplication*: Sending the `#dup` message will cause your whole value object to be unfrozen. This might be desired in certain situations but make sure to refreeze afterwards.
142
+ * *Post Attributes*: Adding additional attributes after what is defined when including `Wholeable` will break your whole value object. To prevent this, let Wholeable manage this for you (easiest). Otherwise (harder), you can manually override `#==`, `#eql?`, `#hash`, `#inspect`, `#to_a`, and `#to_h` behavior at which point you don't need Wholeable anymore.
143
+ * *Deep Freezing*: The automatic freezing of your instances is shallow and will not deeply freeze nested attributes. This behavior mimics the behavior of {data_link} objects.
144
+
145
+ == Development
146
+
147
+ To contribute, run:
148
+
149
+ [source,bash]
150
+ ----
151
+ git clone https://github.com/bkuhlmann/wholeable
152
+ cd wholeable
153
+ bin/setup
154
+ ----
155
+
156
+ You can also use the IRB console for direct access to all objects:
157
+
158
+ [source,bash]
159
+ ----
160
+ bin/console
161
+ ----
162
+
163
+ == Tests
164
+
165
+ To test, run:
166
+
167
+ [source,bash]
168
+ ----
169
+ bin/rake
170
+ ----
171
+
172
+ == link:https://alchemists.io/policies/license[License]
173
+
174
+ == link:https://alchemists.io/policies/security[Security]
175
+
176
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
177
+
178
+ == link:https://alchemists.io/policies/contributions[Contributions]
179
+
180
+ == link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
181
+
182
+ == link:https://alchemists.io/projects/wholeable/versions[Versions]
183
+
184
+ == link:https://alchemists.io/community[Community]
185
+
186
+ == Credits
187
+
188
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
189
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Wholeable
4
+ # Provides core equality behavior.
5
+ class Builder < Module
6
+ def initialize *keys
7
+ super()
8
+ @keys = keys.uniq
9
+ private_methods.grep(/\A(define)_/).sort.each { |method| __send__ method }
10
+ freeze
11
+ end
12
+
13
+ def included descendant
14
+ super
15
+
16
+ descendant.class_eval <<-READER, __FILE__, __LINE__ + 1
17
+ def self.new(...) = super.freeze
18
+
19
+ attr_reader #{keys.map(&:inspect).join ", "}
20
+ READER
21
+
22
+ descendant.alias_method :deconstruct, :to_a
23
+ descendant.alias_method :deconstruct_keys, :to_h
24
+ end
25
+
26
+ private
27
+
28
+ attr_reader :keys
29
+
30
+ def define_diff
31
+ define_method :diff do |other|
32
+ if other.is_a? self.class
33
+ to_h.merge!(other.to_h) { |_, one, two| [one, two].uniq }
34
+ .select { |_, diff| diff.size == 2 }
35
+ else
36
+ to_h.each.with_object({}) { |(key, value), diff| diff[key] = [value, nil] }
37
+ end
38
+ end
39
+ end
40
+
41
+ def define_eql
42
+ define_method(:eql?) { |other| instance_of?(other.class) && hash == other.hash }
43
+ end
44
+
45
+ def define_equality
46
+ define_method(:==) { |other| other.is_a?(self.class) && hash == other.hash }
47
+ end
48
+
49
+ def define_hash local_keys = keys
50
+ define_method :hash do
51
+ local_keys.map { |key| public_send key }
52
+ .prepend(self.class)
53
+ .hash
54
+ end
55
+ end
56
+
57
+ def define_inspect local_keys = keys
58
+ define_method :inspect do
59
+ klass = self.class
60
+ name = klass.name || klass.inspect
61
+
62
+ local_keys.map { |key| "@#{key}=#{public_send(key).inspect}" }
63
+ .join(", ")
64
+ .then { |pairs| "#<#{name} #{pairs}>" }
65
+ end
66
+ end
67
+
68
+ def define_to_a local_keys = keys
69
+ define_method :to_a do
70
+ local_keys.reduce([]) { |array, key| array.append public_send(key) }
71
+ end
72
+ end
73
+
74
+ def define_to_h local_keys = keys
75
+ define_method :to_h do
76
+ local_keys.each.with_object({}) { |key, dictionary| dictionary[key] = public_send key }
77
+ end
78
+ end
79
+
80
+ def define_with
81
+ define_method(:with) { |**attributes| self.class.new(**to_h.merge!(attributes)) }
82
+ end
83
+ end
84
+ end
data/lib/wholeable.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "wholeable/builder"
4
+
5
+ # Main namespace.
6
+ module Wholeable
7
+ def self.[](*) = Builder.new(*)
8
+ end
data/wholeable.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "wholeable"
5
+ spec.version = "0.0.0"
6
+ spec.authors = ["Brooke Kuhlmann"]
7
+ spec.email = ["brooke@alchemists.io"]
8
+ spec.homepage = "https://alchemists.io/projects/wholeable"
9
+ spec.summary = "Provides whole value object behavior."
10
+ spec.license = "Hippocratic-2.1"
11
+
12
+ spec.metadata = {
13
+ "bug_tracker_uri" => "https://github.com/bkuhlmann/wholeable/issues",
14
+ "changelog_uri" => "https://alchemists.io/projects/wholeable/versions",
15
+ "homepage_uri" => "https://alchemists.io/projects/wholeable",
16
+ "funding_uri" => "https://github.com/sponsors/bkuhlmann",
17
+ "label" => "Wholeable",
18
+ "rubygems_mfa_required" => "true",
19
+ "source_code_uri" => "https://github.com/bkuhlmann/wholeable"
20
+ }
21
+
22
+ spec.signing_key = Gem.default_key_path
23
+ spec.cert_chain = [Gem.default_cert_path]
24
+
25
+ spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
+
27
+ spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
28
+ spec.files = Dir["*.gemspec", "lib/**/*"]
29
+ end
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wholeable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brooke Kuhlmann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
14
+ a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
15
+ aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
16
+ cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
17
+ GRYCaW8wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCro8tj5/E1Hg88
18
+ f4qfiwPVd2zJQHvdYt4GHVvuHRRgx4HGhJuNp+4BId08RBn7V6V1MW6MY3kezRBs
19
+ M+7QOQ4b1xNLTvY7FYQB1wGK5a4x7TTokDrPYQxDB2jmsdDYCzVbIMrAvUfcecRi
20
+ khyGZCdByiiCl4fKv77P12tTT+NfsvXkLt/AYCGwjOUyGKTQ01Z6eC09T27GayPH
21
+ QQvIkakyFgcJtzSyGzs8bzK5q9u7wQ12MNTjJoXzW69lqp0oNvDylu81EiSUb5S6
22
+ QzzPxZBiRB1sgtbt1gUbVI262ZDq1gR+HxPFmp+Cgt7ZLIJZAtesQvtcMzseXpfn
23
+ hpmm0Sw22KGhRAy/mqHBRhDl5HqS1SJp2Ko3lcnpXeFResp0HNlt8NSu13vhC08j
24
+ GUHU9MyIXbFOsnp3K3ADrAVjPWop8EZkmUR3MV/CUm00w2cZHCSGiXl1KMpiVKvk
25
+ Ywr1gd2ZME4QLSo+EXUtLxDUa/W3xnBS8dBOuMMz02FPWYr3PN8CAwEAAaN7MHkw
26
+ CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFAFgmv0tYMZnItuPycSM
27
+ F5wykJEVMB8GA1UdEQQYMBaBFGJyb29rZUBhbGNoZW1pc3RzLmlvMB8GA1UdEgQY
28
+ MBaBFGJyb29rZUBhbGNoZW1pc3RzLmlvMA0GCSqGSIb3DQEBCwUAA4IBgQAX+EGY
29
+ 9RLYGxF1VLZz+G1ACQc4uyrCB6kXwI06kzUa5dF9tPXqTX9ffnz3/W8ck2IQhKzu
30
+ MKO2FVijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
31
+ REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
32
+ qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
33
+ rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
34
+ XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
35
+ 3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
+ gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
+ -----END CERTIFICATE-----
38
+ date: 2024-10-04 00:00:00.000000000 Z
39
+ dependencies: []
40
+ description:
41
+ email:
42
+ - brooke@alchemists.io
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files:
46
+ - README.adoc
47
+ - LICENSE.adoc
48
+ files:
49
+ - LICENSE.adoc
50
+ - README.adoc
51
+ - lib/wholeable.rb
52
+ - lib/wholeable/builder.rb
53
+ - wholeable.gemspec
54
+ homepage: https://alchemists.io/projects/wholeable
55
+ licenses:
56
+ - Hippocratic-2.1
57
+ metadata:
58
+ bug_tracker_uri: https://github.com/bkuhlmann/wholeable/issues
59
+ changelog_uri: https://alchemists.io/projects/wholeable/versions
60
+ homepage_uri: https://alchemists.io/projects/wholeable
61
+ funding_uri: https://github.com/sponsors/bkuhlmann
62
+ label: Wholeable
63
+ rubygems_mfa_required: 'true'
64
+ source_code_uri: https://github.com/bkuhlmann/wholeable
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '3.3'
74
+ - - "<="
75
+ - !ruby/object:Gem::Version
76
+ version: '3.4'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.5.21
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Provides whole value object behavior.
87
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ �u3�f��n'xs��
2
+ hl��xp�9rf��#P~�O��o�RL�N���D \���� �Ŋ@,v���X�I����aQK�wpF��ΫN+^_
3
+ � �~@��ZZby����X