user_engage 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/user_engage/operation/find.rb +3 -3
- data/lib/user_engage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7eba1a39876094fd967e9602a4dbe91ed00c385bc32b6b21bd52f6e673c103
|
4
|
+
data.tar.gz: d5c77367121381fadad389a08666a6eff6b8967af8389879b474509c4d80c077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e54cf55e913c3ebcfa6967d61069e71659d569a7fc40854a4421b9976f3fe76b35ddd518eb7ca40cea4369a2f9ecbf654c85a42731a94465e0953e095907c6c2
|
7
|
+
data.tar.gz: 66e31b560d2bbb2221029d54d56e59546ed08ec20468499a3310e3ee6169a02d95ef6bc9b4e5adf4a62c69431a70c348e2b1e16f39addcdfe40bfd6000498552
|
data/Gemfile.lock
CHANGED
@@ -17,10 +17,10 @@ module UserEngage
|
|
17
17
|
private
|
18
18
|
|
19
19
|
def get_resource(params)
|
20
|
-
response = if params.is_a?(
|
21
|
-
get_by_id(params)
|
22
|
-
else
|
20
|
+
response = if params.is_a?(Hash)
|
23
21
|
get_by_hash(params)
|
22
|
+
else
|
23
|
+
get_by_id(params)
|
24
24
|
end
|
25
25
|
|
26
26
|
check_for_existing_resource!(response, params)
|
data/lib/user_engage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: user_engage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schwed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|