user_engage 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/user_engage/operation/find.rb +3 -3
- data/lib/user_engage/version.rb +1 -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: b55462e25ffc4c4cc5fd33fd5c18647a284496b5597696d7cc911af0d427aa2b
|
4
|
+
data.tar.gz: 5f20f3ab51decd08c86e62cfd83fa2f53b7b981bd8d1982e74a70a2e3aa8c94b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e21b0a63f569971f60e8537d06879b1494c38f942c39b25b609d6af5e2838abfbacbc00d1557b8ea7be3fa7e539cd75597ffa8a6ad6a85a3f40b6c91dba796f0
|
7
|
+
data.tar.gz: 0eb29b7bb9828d631611da0c267a8573f1735ac0de3135f8a2bc070804459ce02c5ad12cb791ae17112a53a5496af149827fb96b58667a352dd60ea1ddf99e2c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
user_engage (0.0.
|
4
|
+
user_engage (0.0.11)
|
5
5
|
dry-struct (~> 0.5)
|
6
6
|
faraday (>= 0.12)
|
7
7
|
|
@@ -12,7 +12,7 @@ GEM
|
|
12
12
|
public_suffix (>= 2.0.2, < 4.0)
|
13
13
|
ast (2.4.0)
|
14
14
|
coderay (1.1.2)
|
15
|
-
concurrent-ruby (1.
|
15
|
+
concurrent-ruby (1.1.3)
|
16
16
|
crack (0.4.3)
|
17
17
|
safe_yaml (~> 1.0.0)
|
18
18
|
diff-lcs (1.3)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
dry-container (~> 0.2, >= 0.2.6)
|
31
31
|
dry-core (~> 0.2)
|
32
32
|
dry-equalizer (~> 0.2)
|
33
|
-
dry-struct (0.
|
33
|
+
dry-struct (0.6.0)
|
34
34
|
dry-core (~> 0.4, >= 0.4.3)
|
35
35
|
dry-equalizer (~> 0.2)
|
36
36
|
dry-types (~> 0.13)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
dry-equalizer (~> 0.2)
|
43
43
|
dry-inflector (~> 0.1, >= 0.1.2)
|
44
44
|
dry-logic (~> 0.4, >= 0.4.2)
|
45
|
-
faraday (0.15.
|
45
|
+
faraday (0.15.3)
|
46
46
|
multipart-post (>= 1.2, < 3)
|
47
47
|
hashdiff (0.3.7)
|
48
48
|
ice_nine (0.11.2)
|
@@ -47,9 +47,7 @@ module UserEngage
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def check_for_unsupported_params!(params)
|
50
|
-
if params.is_a?(
|
51
|
-
true
|
52
|
-
else
|
50
|
+
if params.is_a?(Hash)
|
53
51
|
unsupported_params = params.keys - supported_find_params
|
54
52
|
return if unsupported_params.size.zero?
|
55
53
|
|
@@ -57,6 +55,8 @@ module UserEngage
|
|
57
55
|
UserEngage::InvalidFindAttributeException,
|
58
56
|
"Unsupported parameter/s used: #{unsupported_params.join(', ')}"
|
59
57
|
)
|
58
|
+
else
|
59
|
+
true
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/user_engage/version.rb
CHANGED