discorb 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +9 -1
- data/Gemfile +0 -5
- data/Gemfile.lock +2 -5
- data/lib/discorb/common.rb +3 -1
- 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: 1381542f36d691bc8c16bbca477f7dbc034d18d4308c6e51689e02d766af9fac
|
4
|
+
data.tar.gz: 611e01c698fbb0c19f7a37cad66faddf5dfbba860b59dc2a140c3a3b7d85dd9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab30f2c135c3a1dd63fc36cea26df4035f57da50e96fbc52e74d207248599dd0d50d7df9379bf20b906b128aa3e7abd47f637c7cd56662a991c7feb7cd7944e
|
7
|
+
data.tar.gz: e9b03bd76e066037ef98480c9952bbfe6a0d7d039199e5d2a804bac49e550d03b74c1596847e485f2ba13b935012c80fb39a356df21f0d154b981f705807a113
|
data/Changelog.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
discorb (0.2.
|
4
|
+
discorb (0.2.3)
|
5
5
|
async
|
6
6
|
async-http
|
7
7
|
async-websocket
|
@@ -10,7 +10,7 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
async (1.30.
|
13
|
+
async (1.30.1)
|
14
14
|
console (~> 1.10)
|
15
15
|
nio4r (~> 2.3)
|
16
16
|
timers (~> 4.1)
|
@@ -56,10 +56,7 @@ PLATFORMS
|
|
56
56
|
x86-mingw32
|
57
57
|
|
58
58
|
DEPENDENCIES
|
59
|
-
async
|
60
|
-
async-websocket
|
61
59
|
discorb!
|
62
|
-
mime-types (~> 3.3)
|
63
60
|
rake (~> 13.0)
|
64
61
|
redcarpet
|
65
62
|
rufo (~> 0.13.0)
|
data/lib/discorb/common.rb
CHANGED
@@ -4,7 +4,7 @@ module Discorb
|
|
4
4
|
# @return [String] The API base URL.
|
5
5
|
API_BASE_URL = "https://discord.com/api/v9"
|
6
6
|
# @return [String] The version of discorb.
|
7
|
-
VERSION = "0.2.
|
7
|
+
VERSION = "0.2.3"
|
8
8
|
# @return [String] The user agent for the bot.
|
9
9
|
USER_AGENT = "DiscordBot (https://github.com/discorb-lib/discorb #{VERSION}) Ruby/#{RUBY_VERSION}"
|
10
10
|
|
@@ -73,6 +73,8 @@ module Discorb
|
|
73
73
|
@value.to_s
|
74
74
|
end
|
75
75
|
|
76
|
+
alias to_str to_s
|
77
|
+
|
76
78
|
#
|
77
79
|
# Integerize snowflake.
|
78
80
|
#
|