protip 0.37.2 → 0.37.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d0ba0385857ba76a2c585332dd13c8a19d1f3b2205ab6480100fefd50500f10
|
|
4
|
+
data.tar.gz: 78f859d43d303f01ee1db7a4727d9de872d223df7c39e8d16ce9a8b809842adc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45dcf8ed4869b8def8240236f3cc7879a93bb47b62946fa923c99f5a86d530a48a6b69d389324ca036efb5acfea5e1efef87e0a07c839e03f0e8265fd2b644b8
|
|
7
|
+
data.tar.gz: fe5e9e0a7414e5d650ff48d15a869a40faaebf25dac535bd6aaca3b01977eaf0a4230a6c0e60e7d8b43140da470fccd1b27e3a3705c83d91169392489f15d997
|
data/lib/protip/resource.rb
CHANGED
|
@@ -235,7 +235,7 @@ module Protip
|
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
def belongs_to(association_name, options = {})
|
|
238
|
-
association = ::Protip::Resource::Associations::BelongsToAssociation.new(self, association_name, options)
|
|
238
|
+
association = ::Protip::Resource::Associations::BelongsToAssociation.new(self, association_name, **options)
|
|
239
239
|
association.define_accessors!
|
|
240
240
|
@belongs_to_associations.add association
|
|
241
241
|
association
|
|
@@ -260,7 +260,7 @@ module Protip
|
|
|
260
260
|
nested_association_creator.instance_eval(&block)
|
|
261
261
|
|
|
262
262
|
association = ::Protip::Resource::Associations::BelongsToPolymorphicAssociation.new self,
|
|
263
|
-
association_name, nested_association_creator.associations, options
|
|
263
|
+
association_name, nested_association_creator.associations, **options
|
|
264
264
|
association.define_accessors!
|
|
265
265
|
@belongs_to_polymorphic_associations.add association
|
|
266
266
|
association
|
data/lib/protip/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: protip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.37.
|
|
4
|
+
version: 0.37.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AngelList
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|