conflux 1.0.3 → 1.0.4
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/conflux/helpers.rb +3 -1
- data/lib/conflux/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26b8093f1e8aa13de7855e77db3ff0d282882c87
|
|
4
|
+
data.tar.gz: 06b262d9aa6003ec32b068aeae67477fc4264c28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7b1b6f396b1e6f5b3da3e78d132b73d343ea2586663386cb8363f490e4a5ff1c67f7b9b98944610e6f138f8f00334a9b2591fd3d4aa2b0bca22741066ba0666
|
|
7
|
+
data.tar.gz: 2b395356f1d859842c747af2ceb46e09c0bac8854c76b85e680f9a9fd31d96944cc8554890811b6337dd14d226bd99b109268f22ea4df112ee074c7ef6813df7
|
data/lib/conflux/helpers.rb
CHANGED
|
@@ -137,7 +137,9 @@ module Conflux
|
|
|
137
137
|
|
|
138
138
|
def http
|
|
139
139
|
uri = URI.parse(host_url)
|
|
140
|
-
Net::HTTP.new(uri.host, uri.port)
|
|
140
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
|
141
|
+
http.use_ssl = true
|
|
142
|
+
http
|
|
141
143
|
end
|
|
142
144
|
|
|
143
145
|
def form_request(net_obj, route, data, headers, error_message)
|
data/lib/conflux/version.rb
CHANGED