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 +4 -4
- data/VERSION +1 -1
- data/lib/rest_framework/controller_mixins/models.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b18de6060f0b8d4182b8bd7aac3edf3f6b8b2543892d205713f96a7cb3951b4e
|
4
|
+
data.tar.gz: 688299d1ee295d805745b365dfde9dc75c6d866855e94c4505513ff40ee214b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9767ad1b2714143b6746724e26f2a66846db38998d484472735cb21342c780c0ea396ca372b4a7f206597040a415a4097cbdc8a6a4d004aef41665b564e2549
|
7
|
+
data.tar.gz: c6230e7917d490d319905e9bbcd661a52005fcf697406ef36747479593d7884951d1a0655964f74b7edeaddc97ebf26769f7193dfa8fac95cf99b98667734628
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
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.
|
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-
|
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.
|
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.
|