active_delegate 1.0.6 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_delegate/associations.rb +1 -1
- data/lib/active_delegate/attributes.rb +1 -1
- data/lib/active_delegate/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beda631bac561231260636b496429def644417dea8e35a252c2d33226da48782
|
4
|
+
data.tar.gz: 264ba8b7754f948525b27dfb0a2648258ea11d018a0c83fe79e8ca1dc661e6b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5041c5a45c8088cdffcb0ab9ddd8ac2a9bae6edc302f8fabe3b6dd5631994bbff5572e18c3de0a0189052722b5d3eb5317f7a22fe251cc9f77fa69285dfb0181
|
7
|
+
data.tar.gz: a76a67e881d237d0afb124e0477a19e2c8fe235f5bd6301a358a910c7536e2c1b3dcd4699ba6d157207e05fe90ccf3f066e9b90f3726fbd25e6a4d641907c634
|
@@ -21,7 +21,7 @@ module ActiveDelegate
|
|
21
21
|
def call
|
22
22
|
delegatable_associations.each do |association|
|
23
23
|
methods = Association::Methods.new(association, association_class)
|
24
|
-
model.delegate(*methods.delegatable, delegation_options)
|
24
|
+
model.delegate(*methods.delegatable, **delegation_options)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_delegate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ homepage: https://github.com/hardpixel/active-delegate
|
|
98
98
|
licenses:
|
99
99
|
- MIT
|
100
100
|
metadata: {}
|
101
|
-
post_install_message:
|
101
|
+
post_install_message:
|
102
102
|
rdoc_options: []
|
103
103
|
require_paths:
|
104
104
|
- lib
|
@@ -113,8 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
117
|
-
signing_key:
|
116
|
+
rubygems_version: 3.1.6
|
117
|
+
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Delegate ActiveRecord model attributes and associations
|
120
120
|
test_files: []
|