thecore_api 1.1.15 → 1.1.16
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: 7abed0eec0c489166c4bd5ec14b5674eb7f755ca
|
4
|
+
data.tar.gz: 5a795c46bcb915747db2c1a1d4e9038a1bd000aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775dd98fb1026fe90bcb6da3ad849e1d825ed9c5ef6eb68e82edcc9ad283c7ebabcec55b94dbe6fece8b9b272a1846aff0fc67dabb294528043b854e89a66022
|
7
|
+
data.tar.gz: 96b2c450522de7079ee77cf4ac8883e504dd190ee19204a38d165d40028908aabe673e9107dcbffe2c4f6c1e81730cd0fafbdc746e889a649277422230fbd8c5
|
@@ -187,6 +187,6 @@ class Api::V1::BaseController < ActionController::API
|
|
187
187
|
end
|
188
188
|
|
189
189
|
def request_params
|
190
|
-
params.require(controller_name.to_sym).permit!().delete_if{ |
|
190
|
+
params.require(controller_name.to_sym).permit!().delete_if{ |_,v| v.nil? }
|
191
191
|
end
|
192
192
|
end
|
@@ -10,6 +10,6 @@ class Api::V1::UsersController < Api::V1::BaseController
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def request_params
|
13
|
-
params.require(:users).permit(:email, :roles, :password, :password_confirmation, :username, :number_of_instances_purchased, :admin, :locked).delete_if{ |
|
13
|
+
params.require(:users).permit(:email, :roles, :password, :password_confirmation, :username, :number_of_instances_purchased, :admin, :locked).delete_if{ |_,v| v.nil? }
|
14
14
|
end
|
15
15
|
end
|
data/lib/thecore_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: active_hash_relation
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '1.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
68
|
+
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: therubyracer
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|