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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdc4e3f9f32f45c2da0ba71ef882dfb3e675816e764bfa916782d37e92615284
4
- data.tar.gz: e5b85dfe5c9ba25847d27819022bd48708f58d7119dd39e7dd75813856ee4583
3
+ metadata.gz: 5080bf7689a79bfcaf97063a08ccf320ae2f0e4ecac5893942fdbd5ad57c30e1
4
+ data.tar.gz: ece59c6ebdd427edcf5696869253a28f9e0f9314b81acc6f30dfc5c03fc54ee2
5
5
  SHA512:
6
- metadata.gz: 2077dfbc5761ed7a4688bb9644bbf1e56d24d4042a66d4bc124685b2b390bd09fd73da4e3f5e3685b74ac55ab57f232c535cccdd787c4ed0e49209554eb2a1b8
7
- data.tar.gz: 2d7c1e573bb5d34589d85f8283303e2a1aa0c0903fa4e29320a27e6709fe8c0bc3757004f972077c5c894af60ef45f409545e829902f5a9623713159e05e9f1f
6
+ metadata.gz: ece71fc54296e11cb5fff3a25be24d279822aaebd4220fa88ab9e0fa15dc3c55eb53b9bc4dd786f783f59a9f280ef72553bafc74b111bb06b435c0cd8048e84d
7
+ data.tar.gz: 11ba983d2cc5d68098c6cadfda0ec45f9e94b8d8b956b4e5ee67f0a0cfb74c3be4cc1f597a11a8cb5e5b6c00a7cd39282e5518647789151754ee394ae5ff3e9e
data/.env.example CHANGED
@@ -1,2 +1,2 @@
1
- export RESULTS_API_URL=http://ratings.fortressone.org/api/v1
2
- export RESULTS_APP_URL=http://ratings.fortressone.org
1
+ export RESULTS_API_URL="https://fortressone.org/results/api/v1"
2
+ export RESULTS_APP_URL="https://fortressone.org/results"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qwtf_discord_bot (6.2.2)
4
+ qwtf_discord_bot (6.3.0)
5
5
  activesupport (~> 6.1)
6
6
  discordrb (= 3.4.0)
7
7
  redis (~> 4.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.2.2
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
- Net::HTTP.start(uri.hostname, uri.port) do |http|
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
- res = Net::HTTP.start(uri.hostname, uri.port) do |http|
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.2.2
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 00:00:00.000000000 Z
11
+ date: 2021-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: discordrb