reamaze_api 0.2.1 → 0.3.0

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: cddb9ee7352596cf42f680950fc64a01ba3d9eb9
4
- data.tar.gz: 65e281f37faaa5224b4330463715ac1d48d11f23
3
+ metadata.gz: 8d2efff7cf528f03bb9740c5760e8b550fba79b6
4
+ data.tar.gz: 49e9d0787266a1f1cb8c4cba2461cae3b87ea87e
5
5
  SHA512:
6
- metadata.gz: 25cf84f23613e770e3aabf920430e7c0d8ec560b12816533cddbe5275e8e6b33612459c8e0724bebf4737bd160dfa183bfa44b4099b3fdc1a4f13f9e97e5bf22
7
- data.tar.gz: 9003ff8f069ff35220878b10fdb18bace21d568f356177b276342c71dd3d6d4493020fe31d3ea29749bc4d44f7491c23cf213b68a1a2258ed02f072affc972ba
6
+ metadata.gz: c0b921866ccc2c8410b24ac760d2631794628d77a25e450cbbb206bedf1e8d82050dbe8cdd36669e6452868cd6e0da5af35c6f4e7ed3c11ff95d0b6e312e43f3
7
+ data.tar.gz: 9cc19b0ab9219fd2b2ff3aa41a6657bcb9b88b12bba63432d457d3370ecd5e76cd1c70ebbf24d185efee71671316ac388cbba98de09bde30350d1956f391973d
@@ -9,7 +9,7 @@ module ReamazeAPI
9
9
  define_parser do |body|
10
10
  begin
11
11
  JSON.parse(body) unless body.strip.empty?
12
- rescue
12
+ rescue JSON::ParserError
13
13
  body
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module ReamazeAPI
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reamaze_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Priddle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday