dispander.rb 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dispander.gemspec +1 -1
- data/lib/dispander/extension.rb +3 -1
- data/lib/dispander/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8602bf6cac372878b6d15e19f9a352fe1aa1943a625cedfa72e101e870dbbdbf
|
4
|
+
data.tar.gz: 0de5dc8ab3b9992404f9a02672b965739e32fc1e1fdec2b7db31bbfd4f058ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dbd35bb2605c875d89da48752fae91e908e1c8b73478b761589f4919093afce31a85b531f35663b88daac16c4333204b7be9c52d87c138eddaf5e230ff7782b
|
7
|
+
data.tar.gz: f23f95f80a21ef745c08feb6df62d40f162aa01ba550abb128f37d85028704c63f031ca4abddea131eb897f851d1e0d07994de2659e0e37094860a8e413e6ad1
|
data/dispander.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
30
|
# Uncomment to register a new dependency of your gem
|
31
|
-
spec.add_dependency "discorb", "~> 0.
|
31
|
+
spec.add_dependency "discorb", "~> 0.11.0"
|
32
32
|
|
33
33
|
# For more information and examples about making a new gem, checkout our
|
34
34
|
# guide at: https://bundler.io/guides/creating_gem.html
|
data/lib/dispander/extension.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require "discorb"
|
2
2
|
|
3
3
|
module Dispander
|
4
|
-
class Core
|
4
|
+
class Core
|
5
|
+
include Discorb::Extension
|
6
|
+
|
5
7
|
@@discord_url_pattern = /(?!<)https:\/\/(ptb.|canary.)?discord(app)?.com\/channels\/(?<guild>[0-9]{18,})\/(?<channel>[0-9]{18,})\/(?<message>[0-9]{18,})(?!>)/
|
6
8
|
|
7
9
|
def initialize(client, delete_emoji: Discorb::UnicodeEmoji["wastebasket"])
|
data/lib/dispander/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dispander.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sevenc-nanashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: discorb
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.11.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- sevenc-nanashi@sevenbot.jp
|