qwtf_discord_bot 6.3.0 → 6.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/qwtf_discord_bot/qwtf_discord_bot_pug.rb +4 -4
- 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: 830dfa1fe17a37277449dc28e03d087e19549ac32ef73c89a3ac21ec1f9df8f0
|
4
|
+
data.tar.gz: e7ff2a206436df599927ceee87d5f6e6e25015d671325c2c7fb5ed943a36d9db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8adc188312e8ffa68713eaa010d29774ddb10ec3a82f3f2bb81f5f8871cb8cf39ab8c35f2d45b4c581c7efacba4c749b40660b33ac5978c864bf6446e0b03cde
|
7
|
+
data.tar.gz: be5af4763b77e9f94f4fd27f9a40bbc36750ffe1f13883979fa150d6bdb65fd2539b4b6d095887b6d2a50dc83fa7f476b377290d7a87dfd3e44301a5525cc214
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.3.
|
1
|
+
6.3.1
|
@@ -948,9 +948,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
948
948
|
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
949
949
|
req.body = json
|
950
950
|
|
951
|
-
|
951
|
+
is_https = uri.scheme == "https"
|
952
952
|
|
953
|
-
Net::HTTP.start(uri.hostname, uri.port, use_ssl:
|
953
|
+
Net::HTTP.start(uri.hostname, uri.port, use_ssl: is_https) do |http|
|
954
954
|
http.request(req)
|
955
955
|
end
|
956
956
|
end
|
@@ -961,9 +961,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
961
961
|
uri.query = URI.encode_www_form(params)
|
962
962
|
req = Net::HTTP::Get.new(uri)
|
963
963
|
|
964
|
-
|
964
|
+
is_https = uri.scheme == "https"
|
965
965
|
|
966
|
-
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl:
|
966
|
+
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: is_https) do |http|
|
967
967
|
http.request(req)
|
968
968
|
end
|
969
969
|
|