silencer_shop 1.1.3 → 1.1.4

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: 49c7e9a6f6283cdc1e4cd874594d4765bba14b9739a38f925de3babc3a91388c
4
- data.tar.gz: 00c2cdeade80095e79e248d09758bfb05a97c71de2973ef1d99bb29a3faa8331
3
+ metadata.gz: 37df1cda1a90d164d017a1f186baeb2105628159c98c478ad4135c5b05b26e14
4
+ data.tar.gz: 9291d75904fddd9313e4a67bb5f45f0988c09c5d0ee094f692ec74e65182eaaf
5
5
  SHA512:
6
- metadata.gz: 0c5310551a945bd650e5c242c14c70e03c0b7e53713f89913a23008d7fa07b9915f4f2d7de56198cd6d71f3b495a508c2d0198e099e13348ead74e7f1edeba41
7
- data.tar.gz: 2f53a146910b681b4d2606b371890bcf1421a5ed33dc1915dd48b4851e8363bb8e3cfa59d7444a61f042becced91fc503bcc60acecd7a867d017e238987e313d
6
+ metadata.gz: ec85b9fb8ed25ddd55bec12260f51647500bed27702d85a2359049889297b73f33ba40c9bd5a8292ff23753c47e014c86b470272f9c2e6ae1b930a81cbf1a9d7
7
+ data.tar.gz: f588c3004bad236b3596d52f42eb9e05fb9479b4b4fe43429f33da0b44e85aebaee83c8db0754216d0de7145f17431b64bde76f30a151af2f249e5f79348082f
@@ -22,7 +22,7 @@ module SilencerShop
22
22
  _data.map(&:deep_symbolize_keys)
23
23
  end
24
24
 
25
- if @data.has_key?(:ErrorMessage)
25
+ if @data.is_a?(Hash) && @data.has_key?(:ErrorMessage)
26
26
  raise SilencerShop::Error::RequestError.new(@response.body)
27
27
  end
28
28
 
@@ -1,3 +1,3 @@
1
1
  module SilencerShop
2
- VERSION = '1.1.3'.freeze
2
+ VERSION = '1.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silencer_shop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Dill