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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a1b84006fa03c3ed9bcf624fc6dddecd4ba1ae0acd71839b3e52bdf3ce43860
4
- data.tar.gz: b9fe56324c319451a097fc71410cd946295726b129beb5d3010a35608854abef
3
+ metadata.gz: beda631bac561231260636b496429def644417dea8e35a252c2d33226da48782
4
+ data.tar.gz: 264ba8b7754f948525b27dfb0a2648258ea11d018a0c83fe79e8ca1dc661e6b5
5
5
  SHA512:
6
- metadata.gz: f4124936cfc19efa35eb19fec676b3b66c571cbcced495a9de9971915f1db34a31497b3e4a6023d5a5ec9c87b5643b39a2f14a7a5ce7face4a5e20518e6a740a
7
- data.tar.gz: 35ffa30e52aaec6b3181692605dc0605d333bc536e84a7b43e2c73295a85b8355f92e9e9e36fe25fdfcef52b9d163ce094edbf1c95e47f360eabbc5ca61ca304
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
@@ -111,7 +111,7 @@ module ActiveDelegate
111
111
  end
112
112
 
113
113
  def delegate_methods(methods)
114
- model.delegate(*methods, delegation_options)
114
+ model.delegate(*methods, **delegation_options)
115
115
  end
116
116
 
117
117
  def define_model_method(method, *attributes)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveDelegate
4
- VERSION = '1.0.6'
4
+ VERSION = '1.0.9'
5
5
  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.6
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: 2020-03-06 00:00:00.000000000 Z
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: '7.0'
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: '7.0'
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.0.6
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: []