attask 0.1.0 → 0.1.1

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: eb986f9613540989df63bd3034c08f8de48d5c99
4
- data.tar.gz: d11435f0f526219dc19c55862d18a9545cc04263
3
+ metadata.gz: fb39f20853b85361edc925d192637ffba37ab26f
4
+ data.tar.gz: 1b7da48ea19bcb46136636af57de3f461d2f5391
5
5
  SHA512:
6
- metadata.gz: 501bf743f90c8ab6dfeb0e1dd25dbc1bc5fd4c66a53a7a566c1f2d2a4449a81ee4e770b332dd1ef43d1f700d3111df08665c499fe620e2cd000fcefb6af90f2d
7
- data.tar.gz: 0d558efd5d7221ae4ff6f371d4ff892580082c0f5df480cbf752c8d2e3ed3f86620f1044924895eeafbca24537ed27f3b38d42e0a194651184e24560f02e5913
6
+ metadata.gz: 4c48021df40ab0f0e0db6a35926dd805e55143a3e8d72523998a9b6365cab006a203377dee49eca18aa17d1b00acfc0b104b90da764cba370653d5a94e6a08fe
7
+ data.tar.gz: b643cc620ad853c5c4e835ad0e4f448a73d2875b9f02117f1b2c77cdd8bdaa1dbacd89509690db8b16d7112e05a30901456ceb500063760d6b618b2bd833d210
@@ -38,6 +38,8 @@ module Attask
38
38
  body = response.body
39
39
  return Response.new(body) if response.headers['Content-Type'].nil?
40
40
  Response.new(Oj.load(body))
41
+ rescue
42
+ Response.new(body)
41
43
  end
42
44
  end
43
45
  end
@@ -3,5 +3,5 @@
3
3
 
4
4
  module Attask
5
5
  # The current Attask version.
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Henrique Bruce