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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b7eba1a39876094fd967e9602a4dbe91ed00c385bc32b6b21bd52f6e673c103
4
- data.tar.gz: d5c77367121381fadad389a08666a6eff6b8967af8389879b474509c4d80c077
3
+ metadata.gz: b55462e25ffc4c4cc5fd33fd5c18647a284496b5597696d7cc911af0d427aa2b
4
+ data.tar.gz: 5f20f3ab51decd08c86e62cfd83fa2f53b7b981bd8d1982e74a70a2e3aa8c94b
5
5
  SHA512:
6
- metadata.gz: e54cf55e913c3ebcfa6967d61069e71659d569a7fc40854a4421b9976f3fe76b35ddd518eb7ca40cea4369a2f9ecbf654c85a42731a94465e0953e095907c6c2
7
- data.tar.gz: 66e31b560d2bbb2221029d54d56e59546ed08ec20468499a3310e3ee6169a02d95ef6bc9b4e5adf4a62c69431a70c348e2b1e16f39addcdfe40bfd6000498552
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.10)
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.0.5)
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.5.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.2)
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?(Integer)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UserEngage
4
- VERSION = '0.0.10'
4
+ VERSION = '0.0.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_engage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schwed