zooppa_api_v3 0.0.6 → 0.0.7

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: e331a96fb02dc14c0c2d53a4ab99eb8c5a47a592
4
- data.tar.gz: 08f284fdd9562ae53a8f6ff423c35375a2bae849
3
+ metadata.gz: c16ab8d2b0b3108b136755e4b7f7afbebb5b0726
4
+ data.tar.gz: c80d2bf0ba71f0be6fe70f883518b1510286d806
5
5
  SHA512:
6
- metadata.gz: ccaa56dcd5e0325b700143a023f4b367cbfaec7133a1a7b8b684da5d62927d362f49d93a5eca9bd80de6ab0089ccbe6ef765b730101f16d2c0a4987dcd47660f
7
- data.tar.gz: fa2e82b14bc853f3d935993eb5c484eaf8902d3fd502aeb8624e39db3fd3171fa7b39f08c37ddb9fbddb7e24b620d5879a563a800153c757c50fb5dfc96627e4
6
+ metadata.gz: fab49ec6581e909d96a016ae8f9cebbe93dc2696629c87a9231c3a028ef7ba77500121079d352144cdfae4a2f73297266fed7e57672d1bafb4eb59ad9619a8e6
7
+ data.tar.gz: 3480179374c65c66ff121da583edb7ee4d7aed9d1144d1426a352189458ced67943cc145f9c08031a8f82a57c750ff4a72923bae671fbc271efdf65f680b7214
data/lib/zooppa_api_v3.rb CHANGED
@@ -211,6 +211,6 @@ class ZooppaApiV3
211
211
 
212
212
  def parse_error_message(e)
213
213
  msg = e.try(:code) == 'invalid_grant' ? 'Invalid email or password.' : 'There seems to be a connection problem'
214
- { error: msg }
214
+ { error: msg }.as_json
215
215
  end
216
216
  end
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "zooppa_api_v3"
8
- spec.version = '0.0.6'
8
+ spec.version = '0.0.7'
9
9
  spec.authors = ["Ulrich Soeffing"]
10
10
  spec.email = ["ulrich_soeffing@gmx.de"]
11
11
  spec.description = "Wrapper for the Zooppa api v3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zooppa_api_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ulrich Soeffing