cumulus_ruby 0.4.0 → 0.4.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: 13c5a898a0f7b4a09c2a77c71ef03adb4e3000a9
4
- data.tar.gz: 982957361c3db3e038b4bd655c3391d4ee522a50
3
+ metadata.gz: f75d5bffcd8cb248c7656789bf47ce346f876ba9
4
+ data.tar.gz: 2cfab2cbf91b13a669f0f8185553349d597ee9cf
5
5
  SHA512:
6
- metadata.gz: 7650f8a144aae25c68df791b07c4df738aea79cc1519e501668ee20be274acbfd77a50d56070138f93c24675be8f91252075003e4822f42837b491cbd7a454bc
7
- data.tar.gz: 8e05087426d965f150177f77a84351ef9f4c5dd49a4f0379b55aee0b86391402df823bc41fb0198ea46bf4bed5000e97d1b73c2b8a3d4ee731965a34b658c48e
6
+ metadata.gz: 39a57860f89ecd9e17469c02184fcb424d995ef25cee426af2830b666a975c60eea02ca9324afe97708d43dd7a0aea6ebfd24ba94327b88055fe5c5ac1565b12
7
+ data.tar.gz: d15a06b21cdac4f5f1d4eb7dbdcaf94f11902e3f072acc970018038efb4bc5dd4b97fc4b1dbd90a3cd9b60a97cffc0719d8c138740f7cbf4591c81f4a3b4cdab
@@ -56,7 +56,8 @@ module Cumulus
56
56
  def connection
57
57
  @connection ||= Faraday.new(url: url) do |b|
58
58
  b.adapter Faraday.default_adapter
59
- b.use FaradayMiddleware::ParseJson
59
+ b.use Faraday::Response::RaiseError
60
+ b.response :json, content_type: /\bjson$/
60
61
  end
61
62
  end
62
63
  end
@@ -1,3 +1,3 @@
1
1
  module Cumulus
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cumulus_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amed Rodriguez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler