wagon 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/wagon/connection.rb +0 -7
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.1
|
data/lib/wagon/connection.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'net/http'
|
2
2
|
require 'net/https'
|
3
|
-
require 'curb'
|
4
3
|
require 'uri'
|
5
4
|
require 'digest/sha1'
|
6
5
|
require 'wagon/ward'
|
@@ -92,12 +91,6 @@ module Wagon
|
|
92
91
|
@http
|
93
92
|
end
|
94
93
|
|
95
|
-
def _curl
|
96
|
-
@curl ||= Curl::Easy.new do |curl|
|
97
|
-
curl.headers = {'Cookie' => @cookies || ''}
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
94
|
def _get(path)
|
102
95
|
_http.request(Net::HTTP::Get.new(path, {'Cookie' => @cookies || ''}))
|
103
96
|
end
|