rest_framework 0.7.12 → 0.8.0
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 +4 -4
- data/VERSION +1 -1
- data/lib/rest_framework/controller_mixins/models.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 285ffa895b2f49246b09e98dce670236ee322c5323c4f715b7cd9e27675b8a48
|
|
4
|
+
data.tar.gz: eead75ee8eaee0a62bcefe469e3957cedc480047b8819c4109c46c7ccd6f1372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa0ddef34da4717063c928a48d30fd08d9629db792e7560d03b15ba6bd2b77532715bd76de4348ab27c03ca556d26e2bf6b8bf625a7d972aa11370b67fc387b0
|
|
7
|
+
data.tar.gz: fc654b64c4cfe8e014047ee04a4c0eb60990a7d28491fe82686259c870098b27dcaa8a49e69f4fd650f50c51917ac9c5206fd1a49449a171d12816f615908b29
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.8.0
|
|
@@ -580,7 +580,7 @@ module RESTFramework::CreateModelMixin
|
|
|
580
580
|
|
|
581
581
|
# Perform the `create!` call and return the created record.
|
|
582
582
|
def create!
|
|
583
|
-
create_from = if self.get_recordset.respond_to?(:create!)
|
|
583
|
+
create_from = if self.create_from_recordset && self.get_recordset.respond_to?(:create!)
|
|
584
584
|
# Create with any properties inherited from the recordset. We exclude any `select` clauses in
|
|
585
585
|
# case model callbacks need to call `count` on this collection, which typically raises a SQL
|
|
586
586
|
# `SyntaxError`.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rest_framework
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gregory N. Schmit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|