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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9848ffc50e699e93e515e7e28e6222cb56e8d4ca640a290a9afd74f32b86082
4
- data.tar.gz: 43896068443d2d647306f9dac9b75d17fe30e7b69729712743824cfaa0342f1f
3
+ metadata.gz: 1e0938da42f7c7b51410812a64a2fdff05b2203332abd1e28eb2ca3db1ab0d0c
4
+ data.tar.gz: 1a92b3b19db7f0129aa4e91bd6f1f02fc46f9a496f7edbdd40d73a1e8bbe8313
5
5
  SHA512:
6
- metadata.gz: c12c1289805686f431e137ddc7b8caf57ffe73e86ab5f23f46975157939731235236920a645a22f5b614bfa0f46e12388b419ffa02d50949ce6e862732c6f330
7
- data.tar.gz: ae329f327728247c54640f45ff8d94791ded765298dfb269dc21fed373b154994b17b4d19b708ec0140971cf641535c812cfd74fdca0679ceace7d06607609e3
6
+ metadata.gz: 73cd4c68b9918256a841329076bf0100ca42e3507b904300d63f998f7f6f89370867acabed04fbec84d3ea7a7c67411f0afab17e3dc9405798b23bc3130d9414
7
+ data.tar.gz: 782fd4ea3235a9c531ffd775c558c01390dd4b6485efdc292345c40148d178762f9c3fdb5703484f7780da9f5eafbbd30619d352cdbf4ac3a56e6ee11ee3f02b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeepUnrest
4
- VERSION = '0.1.65'
4
+ VERSION = '0.1.66'
5
5
  end
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_unrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.65
4
+ version: 0.1.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley