motor-admin 0.2.66 → 0.2.67

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: 399871db5e31a27973c4c7ba3b21d168b2d0581daf211f25ecbeadaf481cdfc2
4
- data.tar.gz: fdba5bc869b246e574cc2866d88c5070f4fe21fd1b4b797929ea79578c361897
3
+ metadata.gz: 75f26db509fb239be8405486aeb45a3b5dc7396e5bc5d2bea828f5c08292c8c4
4
+ data.tar.gz: 80c31338d1da7dde9604b17fe342abc52a4a3dd7d2357974b6aca4dc2e7a5dde
5
5
  SHA512:
6
- metadata.gz: bd3dd275d2f88f2f11b05a15ee3efb6293abda137d88b6dc2a9c80c87344993e7a7c2f4cf1044269f71146ee487fec7e86882387a0775c60b3132ad724cfd54b
7
- data.tar.gz: 39f3e468d9b05c2ea9712997814a0867b280aa8b64e405937a8c250f7e776073c3544aac81abfd04a56b8fb2e89351cfbc52072bc60be963014a4246aad9d3d1
6
+ metadata.gz: '0397cdd6b0c746d0bf0c777ad582d8ed67fe9a2a74ea9d714db2d8e19563eeb481d94fdb9a1ee52be5b197cd43b593275ac38fe1c5b51fcae11bef3f93288c11'
7
+ data.tar.gz: 4e5843cd2a3e8e451b3877c297678d1a7effe140307242a8e157997095f72d6c4c8c86f514a4ec8f40c1644f4d63c90b5139cca0e0ed1cd443a07ce0249a63b6
@@ -31,7 +31,7 @@ module Motor
31
31
 
32
32
  @resource = @associated_resource
33
33
  else
34
- @resource.public_send(params[:association].to_sym).create!(@associated_resource.attributes) do |resource|
34
+ @resource.public_send(params[:association].to_sym).create!(resource_params) do |resource|
35
35
  @resource = resource
36
36
  end
37
37
  end
data/lib/motor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Motor
4
- VERSION = '0.2.66'
4
+ VERSION = '0.2.67'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motor-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.66
4
+ version: 0.2.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-16 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-filter