ecs_claims_ruby 0.1.0 → 0.1.2

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: 514ebd91eb5409815896c5d30b51e1cdae3ac31c
4
- data.tar.gz: a419843e27e9701df50f875ed24a09351b15b34e
3
+ metadata.gz: b47a5a8b15aa285c40e84bd3d934e579ca4c9ed7
4
+ data.tar.gz: f044c977a9434fd4092c31e43df1d93354a1794e
5
5
  SHA512:
6
- metadata.gz: a2e0352c22318709c610c385d019ee40965be34bc1337251b14d7bf745691ae23dd00daae3c96afc529736ca985ab4eb7495304aeb799bac5932b59bed5011fb
7
- data.tar.gz: ae275feed21e59247b033f8eb696841d897bb57eea348c9a8f50dc82c188d02bda89f77643449b5c565527938373f48a3997180756d4ae60afa2642d5b7fd539
6
+ metadata.gz: 053e3c232a9ef6dfd22e4282ea3beb0e0e629de4c5a719664d6f4917a64d101bb0b75faa1ace8cfb2d7d5fcd0fcdd9b364c0a585da26364dc20a0d2196e011fc
7
+ data.tar.gz: b8769faa945ee085c96fec2d6cc082e5f5ec61ee8befbef45b9928a2872e0c18117643fdb05ad76e74d3b3200ae1de09e214e77ad93a58d18306530b48c9fb0f
@@ -57,7 +57,8 @@ module EcsClaims
57
57
  def connection
58
58
  @connection ||= Faraday.new(url: url) do |b|
59
59
  b.adapter Faraday.default_adapter
60
- b.use FaradayMiddleware::ParseJson
60
+ b.use Faraday::Response::RaiseError
61
+ b.response :json, content_type: /\bjson$/
61
62
  end
62
63
  end
63
64
  end
@@ -1,3 +1,3 @@
1
1
  module EcsClaims
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_claims_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
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-14 00:00:00.000000000 Z
11
+ date: 2016-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler