qwtf_discord_bot 6.2.2 → 6.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env.example +2 -2
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/qwtf_discord_bot/qwtf_discord_bot_pug.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5080bf7689a79bfcaf97063a08ccf320ae2f0e4ecac5893942fdbd5ad57c30e1
|
4
|
+
data.tar.gz: ece59c6ebdd427edcf5696869253a28f9e0f9314b81acc6f30dfc5c03fc54ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece71fc54296e11cb5fff3a25be24d279822aaebd4220fa88ab9e0fa15dc3c55eb53b9bc4dd786f783f59a9f280ef72553bafc74b111bb06b435c0cd8048e84d
|
7
|
+
data.tar.gz: 11ba983d2cc5d68098c6cadfda0ec45f9e94b8d8b956b4e5ee67f0a0cfb74c3be4cc1f597a11a8cb5e5b6c00a7cd39282e5518647789151754ee394ae5ff3e9e
|
data/.env.example
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export RESULTS_API_URL=
|
2
|
-
export RESULTS_APP_URL=
|
1
|
+
export RESULTS_API_URL="https://fortressone.org/results/api/v1"
|
2
|
+
export RESULTS_APP_URL="https://fortressone.org/results"
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.
|
1
|
+
6.3.0
|
@@ -948,7 +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
|
+
https? = uri.scheme == "https"
|
952
|
+
|
953
|
+
Net::HTTP.start(uri.hostname, uri.port, use_ssl: https?) do |http|
|
952
954
|
http.request(req)
|
953
955
|
end
|
954
956
|
end
|
@@ -959,7 +961,9 @@ class QwtfDiscordBotPug # :nodoc:
|
|
959
961
|
uri.query = URI.encode_www_form(params)
|
960
962
|
req = Net::HTTP::Get.new(uri)
|
961
963
|
|
962
|
-
|
964
|
+
https? = uri.scheme == "https"
|
965
|
+
|
966
|
+
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: https?) do |http|
|
963
967
|
http.request(req)
|
964
968
|
end
|
965
969
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qwtf_discord_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sheldon Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: discordrb
|