duck_record 0.0.9 → 0.0.9.1
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14c5a6fb588c5f26c7779a9f4b3bd48971e1a94a
|
|
4
|
+
data.tar.gz: 853b2cfd5c430487eb3bd3b05b0ad1fc18b94349
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5306ca0879a4d3a32cb32a916a4e32587610c061dd6e76821d96008c755338eb5c86e71a0b19c789e27801504b1ea0709aa597f65e7ab46ac564e2fd4419bf5
|
|
7
|
+
data.tar.gz: 296acc961ba9a862c335dabfb08a619293153a97dfe5f753dbcddae7a20e857a2ecd7d4d7be4451f5c9b70e5688c6db31dcd03787fffee13a044831d26fecd0e
|
|
@@ -356,7 +356,7 @@ module DuckRecord
|
|
|
356
356
|
if method_defined?(:#{association_name}_attributes=)
|
|
357
357
|
remove_method(:#{association_name}_attributes=)
|
|
358
358
|
end
|
|
359
|
-
def #{association_name}_attributes=(attributes)
|
|
359
|
+
def #{association_name}_attributes=(attributes, _force_write_readonly: false)
|
|
360
360
|
assign_nested_attributes_for_#{type}_association(:#{association_name}, attributes)
|
|
361
361
|
end
|
|
362
362
|
eoruby
|
data/lib/duck_record/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: duck_record
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.9
|
|
4
|
+
version: 0.0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jasl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
version: '0'
|
|
156
156
|
requirements: []
|
|
157
157
|
rubyforge_project:
|
|
158
|
-
rubygems_version: 2.6.
|
|
158
|
+
rubygems_version: 2.6.11
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: Used for creating virtual models like ActiveType or ModelAttribute does
|