httply 0.1.1 → 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
  SHA256:
3
- metadata.gz: 237e5bfe4fe3053d213f195adf7f4f543b7cffaba49e6c2257ad9c9fb6770919
4
- data.tar.gz: 38d8d0212fb48a38b8db98cd6d0accda241196f48197cf38e080c74a8c12feeb
3
+ metadata.gz: b5b10b28c9146a86ff7280b0cc5084fa8b35ec478b13841d0a04cf23a55540a2
4
+ data.tar.gz: 2a8eb33f5c95a594735472451dd030d4d328ee78ff5d0ecbca72b3248d58e8b3
5
5
  SHA512:
6
- metadata.gz: c13e44559de7459204edefcada96815eb5102a96d3c026d87d3f1a8322857b3969cbf861feb466f4fab5cf6ce4ee224da90e5da5b153b9c4e7137513ce1f7ddc
7
- data.tar.gz: fb8f9731652fd6dbc3650c9fb71bb4450d41c38c299462a71cd52107c410bc35adee3a83c95f45b95b6a1b192e3e0b5f50c164a0ab8a25a64020e50810c47846
6
+ metadata.gz: 30c051a9e631c11d974bc636cd494f0f7bff03fee3e17de84d7ccfe21d764681b47521df54de6b036b7aaa5bf8c1fa84103ecc8ce357cd6ae120864d58ec4652
7
+ data.tar.gz: 2fbb9130bb8101e78a1062b0b13ac173e4ec10dff8a30cdc9302ffdc5544bc4158a1fc0ad5ee2bb444b26a80be8a9c776fb44e6b2d47b37b5cebd37e8acdf91b
data/lib/httply/client.rb CHANGED
@@ -68,7 +68,7 @@ module Httply
68
68
 
69
69
  def setup(path, method: :get, headers: {}, options: {}, as: nil)
70
70
  client_options = options.fetch(:client, {})
71
- follow_redirects = options.fetch(:follow_redirects, false)
71
+ follow_redirects = options.fetch(:follow_redirects, true)
72
72
  redirect_limit = options.fetch(:redirects_limit, 10)
73
73
  proxy = determine_proxy(options.fetch(:proxy, nil))
74
74
 
@@ -1,3 +1,3 @@
1
1
  module Httply
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson