nice_http 1.3.2 → 1.3.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 +4 -4
- data/lib/nice_http.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04cfba92add7b892c5fda9175ccb1fb6a34a2b9f529939898b5f3b01ece68000
|
4
|
+
data.tar.gz: 101ab9ac493fa3c378b386bcb32025364792e745b0473a8cf0a01ca0989d7e5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|