deep_unrest 0.1.67 → 0.1.68

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: abe2ede2503cab87add17ea53a5478017b900c6c66cc46945d6e9b2059cd8969
4
- data.tar.gz: 656dc1d24558ea3f58971dcb9d51773679fbb90390d7b5bec6a97f12e796332b
3
+ metadata.gz: 35de41e978eb4f6893cbc164c696a5e0d19e5f4c19e1bc27fa9908564f117e53
4
+ data.tar.gz: 8e2e95cda81261a6a1b97908757fb9e062b577ab813a6968188a04552dd2f8aa
5
5
  SHA512:
6
- metadata.gz: 29999e2452ac95d6efc8502ea36d3e0d6d21fe5dafc518c357b7d85ddf244d45acfdfac6b97e22ac497a2e62476ac17f0545b8082e83c61db66a77d9b759375c
7
- data.tar.gz: e83b27db74652ec85bcff243455b81206b63680bc434813e20e4b29dd95298c44e6e41c73beea8f4623555412ff56ee74c4621afd29b2ef54496cd98983c7df2
6
+ metadata.gz: a714285e43fe4b04a81ae965b59486e1ecc6052df80ec0ec4cb41820c2835932b941d5c473c61c7f99c23e5a42c8fd680a7adc81517eb1d0cffb03db077ce555
7
+ data.tar.gz: bcea8c4e02a4b4c524c7655b3898ae8dd37f881dde9b5d707dbf4bd6837d374d6d0539defb2ac411e62b0a91dfb9702a7669a2e2a66b3dbc887c073e60b69eb0
@@ -51,6 +51,7 @@ module DeepUnrest
51
51
  def write
52
52
  repaired_params = repair_nested_params(params[:data])
53
53
  data = repaired_params[:data]
54
+ data = ActionController::Parameters.new({}) if data&.blank?
54
55
  context = repaired_params[:context] || {}
55
56
  context[:uuid] = request.uuid
56
57
  context[:current_user] = current_user
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeepUnrest
4
- VERSION = '0.1.67'
4
+ VERSION = '0.1.68'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_unrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.67
4
+ version: 0.1.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-25 00:00:00.000000000 Z
11
+ date: 2020-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails