rest_framework 0.9.1 → 0.9.2

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: '036384f3209aba594f8af47997294c73c4ca95294601d1abf46ee31086610296'
4
- data.tar.gz: 52424a145b6c959eed3818c23a3e21cd952cb8cb9dc0520506803c08ba5b63b3
3
+ metadata.gz: b18de6060f0b8d4182b8bd7aac3edf3f6b8b2543892d205713f96a7cb3951b4e
4
+ data.tar.gz: 688299d1ee295d805745b365dfde9dc75c6d866855e94c4505513ff40ee214b8
5
5
  SHA512:
6
- metadata.gz: 28d9e2ec67ae6ac76f9709a78f7818f96336b87956e447095e48af59386c4cf5375d2fbc9ff243bc5bb915d982a868849a32bda8f3b5406c6fd853e6d2245a58
7
- data.tar.gz: f8618a040b3ea3cdf44017a2b7dbedd465546f6b073750925635124b97a11e15486883d0902a8259ac8f4d94f4c0a582f6687f1f8148f7332c76342a67c9ff11
6
+ metadata.gz: f9767ad1b2714143b6746724e26f2a66846db38998d484472735cb21342c780c0ea396ca372b4a7f206597040a415a4097cbdc8a6a4d004aef41665b564e2549
7
+ data.tar.gz: c6230e7917d490d319905e9bbcd661a52005fcf697406ef36747479593d7884951d1a0655964f74b7edeaddc97ebf26769f7193dfa8fac95cf99b98667734628
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
@@ -256,7 +256,7 @@ module RESTFramework::BaseModelControllerMixin
256
256
  foreign_key: ref.foreign_key,
257
257
  primary_key: pk,
258
258
  polymorphic: ref.polymorphic?,
259
- table_name: ref.table_name,
259
+ table_name: ref.polymorphic? ? nil : ref.table_name,
260
260
  options: ref.options.as_json.presence,
261
261
  }.compact
262
262
  end
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.9.1
4
+ version: 0.9.2
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-04-09 00:00:00.000000000 Z
11
+ date: 2023-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.2.33
97
+ rubygems_version: 3.4.10
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: A framework for DRY RESTful APIs in Ruby on Rails.