deep_unrest 0.1.13 → 0.1.14
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6373c8bffc0e5343d0a7dfd2597b8a626dc0090
|
4
|
+
data.tar.gz: 051046bfa0f54fce20c5f77e8b8ed5c4ae2326fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1463975f553a56c5eacf384642d2a89fe2e5525efd0fe0054834601d7b0790dce399396ef41701e5f46d7e72b71ab0fc70f571743f8a9eb4390f3801df07a676
|
7
|
+
data.tar.gz: aa71277e735edc51753ebea6047c375c9b4cf34f43df818ca4a75867d4ead2e812aba5f019ba8a3433000ed5cfa73534774988ddc4d23a874d3540356cabca95
|
@@ -24,7 +24,7 @@ module DeepUnrest
|
|
24
24
|
|
25
25
|
def update
|
26
26
|
redirect = allowed_params[:redirect]
|
27
|
-
data = repair_nested_params(allowed_params[:data]
|
27
|
+
data = repair_nested_params(allowed_params)[:data]
|
28
28
|
redirect_replace = DeepUnrest.perform_update(data,
|
29
29
|
current_user)
|
30
30
|
resp = {}
|
@@ -36,8 +36,6 @@ module DeepUnrest
|
|
36
36
|
render json: err.message, status: 405
|
37
37
|
rescue DeepUnrest::Conflict => err
|
38
38
|
render json: err.message, status: 409
|
39
|
-
ensure
|
40
|
-
response.headers.merge! update_auth_header
|
41
39
|
end
|
42
40
|
|
43
41
|
def current_user
|
data/lib/deep_unrest/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lynn Hurley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|