rest_framework 0.7.12 → 0.8.0

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: e90565beac30b0b1889e0c0e710245e43a9fb4fa4a8a92d94a5672e5e4c0217a
4
- data.tar.gz: 14c3b64dcea2f5337c53ac4e8ddd5ba84465363b8c36c8b65369ea6ac5b85925
3
+ metadata.gz: 285ffa895b2f49246b09e98dce670236ee322c5323c4f715b7cd9e27675b8a48
4
+ data.tar.gz: eead75ee8eaee0a62bcefe469e3957cedc480047b8819c4109c46c7ccd6f1372
5
5
  SHA512:
6
- metadata.gz: 9d8a980559e4cc47ec38be083dfc2d4937635745813fd986f21f75ac61d8a75eaba23fd320c11dedd15fe891ab1e4c36558ffeeabb10288d89ea020378a231c4
7
- data.tar.gz: 9c0f40e10da3444b08dde1e1a20f4ab618ba2da71729edd4190960dc6d9c695dd0e8d908a57aeb7114cef9bbaf0d0991e1848de2c196f1d49482e5de847e5e97
6
+ metadata.gz: aa0ddef34da4717063c928a48d30fd08d9629db792e7560d03b15ba6bd2b77532715bd76de4348ab27c03ca556d26e2bf6b8bf625a7d972aa11370b67fc387b0
7
+ data.tar.gz: fc654b64c4cfe8e014047ee04a4c0eb60990a7d28491fe82686259c870098b27dcaa8a49e69f4fd650f50c51917ac9c5206fd1a49449a171d12816f615908b29
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.12
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!) && self.create_from_recordset
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.7.12
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-21 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails