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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cbb9d9b8bc52a96963769da188aadd9ba90a69fea99180ab5ead21688d66dff
4
- data.tar.gz: ea4fc64d658da53ae3ea2fb4f22158b7ceb2d23f121f9805755c7764d570565c
3
+ metadata.gz: 1381542f36d691bc8c16bbca477f7dbc034d18d4308c6e51689e02d766af9fac
4
+ data.tar.gz: 611e01c698fbb0c19f7a37cad66faddf5dfbba860b59dc2a140c3a3b7d85dd9e
5
5
  SHA512:
6
- metadata.gz: 3cd9d2c4e0fb5594208c2f9f7e88227048f8ee9cea83cbc55a82c2161f10477299ed258e92b4d63ad9c5d62502b489d06289421a28b8fc07d8fababa81300379
7
- data.tar.gz: '0901bdff3462640d611e94e456035e7b5f27918fc56189b1d841fb19e92d51b2e72cb2b1970335656c3b42607523009a79dd4c57c83b44433a9013cbd1ecf350'
6
+ metadata.gz: eab30f2c135c3a1dd63fc36cea26df4035f57da50e96fbc52e74d207248599dd0d50d7df9379bf20b906b128aa3e7abd47f637c7cd56662a991c7feb7cd7944e
7
+ data.tar.gz: e9b03bd76e066037ef98480c9952bbfe6a0d7d039199e5d2a804bac49e550d03b74c1596847e485f2ba13b935012c80fb39a356df21f0d154b981f705807a113
data/Changelog.md CHANGED
@@ -56,4 +56,12 @@
56
56
  ## 0.2.1
57
57
 
58
58
  - Fix: Fix NoMethodError in reaction event
59
- - Add: Add Changelog.md to document
59
+ - Add: Add Changelog.md to document
60
+
61
+ ## 0.2.2 (yanked)
62
+
63
+ - Add: Add `Snowflake#to_str`
64
+
65
+ ## 0.2.3
66
+
67
+ - Fix: Fix critical error
data/Gemfile CHANGED
@@ -7,11 +7,6 @@ gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
 
10
- gem "async"
11
- gem "async-websocket"
12
-
13
- gem "mime-types", "~> 3.3"
14
-
15
10
  group :debug, optional: true do
16
11
  gem "rufo", "~> 0.13.0"
17
12
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- discorb (0.2.1)
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.0)
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)
@@ -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.1"
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
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discorb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sevenc-nanashi