nice_http 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nice_http.rb +1 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92ebebe91168e61013d74f0aa1e66d3d0fb7226b99037a57d5d05ffa8bc2d419
4
- data.tar.gz: 77f069d9b59dfafb0d156a45cf2549c2fd575b3b009860cacc13bd2ef5ac6e35
3
+ metadata.gz: 04cfba92add7b892c5fda9175ccb1fb6a34a2b9f529939898b5f3b01ece68000
4
+ data.tar.gz: 101ab9ac493fa3c378b386bcb32025364792e745b0473a8cf0a01ca0989d7e5c
5
5
  SHA512:
6
- metadata.gz: 9e2211f5aff7555d45b53d48ea5379d9865c2278ebb9f3655fe1169e555a3ed298846a2bba682275621a6639857bf347fcb3ad01cec1d687c5474eb0bf073764
7
- data.tar.gz: 01f0d5ce1ab751770be616a43bd00975f8c7d783c0b89c900491a923420a5b64585acf0af66680acfe7639883b586877ee2299743c74e524348ab9342b2c500f
6
+ metadata.gz: a8ebf96331a96169f796c11d7fb051e183fc8362cd3dec5e3ea9f996f740f4fc104683728b8855827486601dd4904babf90e4213a6fb21d11ba76c5012a07caa
7
+ data.tar.gz: 96d1d1844d5193d71c88b8c12e56dfca053af8c57e74cdc2eed754b9a9ce68de02eff3f0bd6838c28a533ab29d76a366934c41b3b206bb91830bd9cda5fb6611
data/lib/nice_http.rb CHANGED
@@ -77,7 +77,6 @@ class NiceHttp
77
77
  @connections = []
78
78
  @active = 0
79
79
  @auto_redirect = true
80
- @delete_log_file_content = true
81
80
  end
82
81
  reset!
83
82
 
@@ -195,9 +194,8 @@ class NiceHttp
195
194
 
196
195
  begin
197
196
  #only the first connection in the run will be deleting
198
- if @delete_log_file_content
197
+ if self.class.last_request.nil?
199
198
  mode = "w"
200
- @delete_log_file_content = false
201
199
  else
202
200
  mode = "a"
203
201
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nice_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Ruiz