deep_unrest 0.1.65 → 0.1.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deep_unrest/version.rb +1 -1
- data/lib/deep_unrest/write.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0938da42f7c7b51410812a64a2fdff05b2203332abd1e28eb2ca3db1ab0d0c
|
4
|
+
data.tar.gz: 1a92b3b19db7f0129aa4e91bd6f1f02fc46f9a496f7edbdd40d73a1e8bbe8313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73cd4c68b9918256a841329076bf0100ca42e3507b904300d63f998f7f6f89370867acabed04fbec84d3ea7a7c67411f0afab17e3dc9405798b23bc3130d9414
|
7
|
+
data.tar.gz: 782fd4ea3235a9c531ffd775c558c01390dd4b6485efdc292345c40148d178762f9c3fdb5703484f7780da9f5eafbbd30619d352cdbf4ac3a56e6ee11ee3f02b
|
data/lib/deep_unrest/version.rb
CHANGED
data/lib/deep_unrest/write.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
module DeepUnrest
|
4
4
|
module Write
|
5
5
|
def self.get_scope_type(item, path)
|
6
|
-
return :index if DeepUnrest.plural?(path)
|
7
6
|
return :destroy if item[:destroy]
|
8
7
|
return :show if item[:readOnly] || item[:attributes].blank?
|
9
8
|
return :create if item[:id] && DeepUnrest.temp_id?(item[:id].to_s)
|