faraday_persistent_excon 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcf8b17c5b371de5744c937229974e5e2b68881d
4
- data.tar.gz: 4cb644e52301a7d938fb2b56bf21c2e36930320c
3
+ metadata.gz: b49291915114840bdc8500809c0338cb16acb537
4
+ data.tar.gz: d75a470fc5b2d259296a7e3c1c435fa07ebfdc52
5
5
  SHA512:
6
- metadata.gz: 8b9303432e6dcb300b0a47aad3db9b8ebbf63b319f3ac1a16401937cb8f629700d8e884e1e3e1583643e9a1a47307326e04e15c26558de159088b6675fc0c0ad
7
- data.tar.gz: 393aeef700b32f7e47bd035e122be9777e234fd08d74ec6061092f209e57c61776fbf1add05bf8209fe47c29a5c665db3f6c462cd96526258c2e9d72c2b83676
6
+ metadata.gz: 28cd3c1d94b313c19c0e3c6826a2375d8b43fdf5e1cf9e91539c9ac679c748b7f845ea5a6b5c76712a0d9ab5b8a0f020c4ba02256b427034a398acff115d64ca
7
+ data.tar.gz: 25111dfd1ebc547cedf44e81dbfc4486174a89cffdd459e4d15affd91a9b94a8ff79193c75edc441070ffc330cf6c2965db6829423797e85b1ba6915ca56d7c0
@@ -17,7 +17,6 @@ module FaradayPersistentExcon
17
17
  attr_accessor :connection_pools
18
18
  attr_accessor :idempotent_methods
19
19
  attr_accessor :retry_idempotent_methods
20
- attr_accessor :retry_limit
21
20
  end
22
21
 
23
22
  self.excon_options = {}
@@ -25,7 +24,6 @@ module FaradayPersistentExcon
25
24
  self.connection_pools = {}
26
25
  self.idempotent_methods = %w[GET HEAD PUT DELETE OPTIONS TRACE]
27
26
  self.retry_idempotent_methods = true
28
- self.retry_limit = 1
29
27
  end
30
28
 
31
29
  Faraday::Adapter.register_middleware persistent_excon: ->{ FaradayPersistentExcon::Adapter }
@@ -39,7 +39,6 @@ module FaradayPersistentExcon
39
39
 
40
40
  if FaradayPersistentExcon.retry_idempotent_methods && FaradayPersistentExcon.idempotent_methods.include?(env[:method].to_s.upcase)
41
41
  opts[:idempotent] = true
42
- opts[:retry_limit] = FaradayPersistentExcon.retry_limit
43
42
  end
44
43
 
45
44
  opts
@@ -1,3 +1,3 @@
1
1
  module FaradayPersistentExcon
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday_persistent_excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Schlesinger