cover_my_meds 3.0.0 → 3.1.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: ab2c4a5403a14c4c6e3d376f164c9c12a967096a
4
- data.tar.gz: 31afd606a40608f3f4ada82f631843604b31b395
3
+ metadata.gz: a5d8e5c0a2184da1f3d5203e10fa79e8643bc5de
4
+ data.tar.gz: f5668e9d609297e8afc159943120da8b2ffb2fa0
5
5
  SHA512:
6
- metadata.gz: 4527b7f965c94cdcecf5b5108506b56de655807916395597a63dd6cfbee1504980743aaa857468d49cf7f6e9942e777cf47b56acaa897ef45bfd9de315e62de3
7
- data.tar.gz: 4b2da155c780055ba5c86e40700c76e32126c5665c9da24c96d3d371dec9ca0a59a2fbc53a28faddc01dfda2cc45b3e102a31c0cd0e8eaa5a1fe609a0db6f261
6
+ metadata.gz: d947a0e445a76c2e63556efe3c15c5e7b6cb0d9060535bbb1d9ce44ca47328548708992f8d3dea789d9c96c325446dc6b486a862950de31dcdbb6918433ecfd7
7
+ data.tar.gz: 67718d811bb382488f448efb1de4da6ce67dbcfdac6e8b3908f5bbb96f2a682494c63eefeee76f99f2135ce01298ea5765bebb9231e60dce87eb39f1969cc0d1
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "railties"
30
30
 
31
31
  spec.add_runtime_dependency "faraday", "~> 0.9"
32
+ spec.add_runtime_dependency "faraday_middleware"
32
33
  spec.add_runtime_dependency "typhoeus"
33
34
  spec.add_runtime_dependency "mime-types"
34
35
  spec.add_runtime_dependency "hashie", ">= 3.4.0"
@@ -1,4 +1,5 @@
1
1
  require 'faraday'
2
+ require 'faraday_middleware'
2
3
  require 'typhoeus'
3
4
  require 'typhoeus/adapters/faraday'
4
5
  require 'json'
@@ -18,9 +19,10 @@ module CoverMyMeds
18
19
  headers = params.delete(:headers) || {}
19
20
 
20
21
  conn = Faraday.new host do |faraday|
21
- faraday.request :multipart
22
- faraday.request :url_encoded
23
- faraday.adapter :typhoeus
22
+ faraday.request :multipart
23
+ faraday.request :url_encoded
24
+ faraday.response :follow_redirects
25
+ faraday.adapter :typhoeus
24
26
  end
25
27
  case auth_type
26
28
  when :basic
@@ -1,3 +1,3 @@
1
1
  module CoverMyMeds
2
- VERSION = "3.0.0"
2
+ VERSION = "3.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cover_my_meds
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Rolston
@@ -23,7 +23,7 @@ authors:
23
23
  autorequire:
24
24
  bindir: exe
25
25
  cert_chain: []
26
- date: 2016-10-19 00:00:00.000000000 Z
26
+ date: 2016-10-26 00:00:00.000000000 Z
27
27
  dependencies:
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
@@ -165,6 +165,20 @@ dependencies:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0.9'
168
+ - !ruby/object:Gem::Dependency
169
+ name: faraday_middleware
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
168
182
  - !ruby/object:Gem::Dependency
169
183
  name: typhoeus
170
184
  requirement: !ruby/object:Gem::Requirement