lib_discord 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibDiscord
4
- # @api private
5
4
  MAPS = {
6
5
  Application: {
7
6
  # https://discord.com/developers/docs/resources/application#application-object-application-event-webhook-status
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibDiscord
4
- # @api private
5
4
  PERMISSIONS = {
6
5
  CREATE_INSTANT_INVITE: 1 << 0,
7
6
  KICK_MEMBERS: 1 << 1,
@@ -60,7 +59,7 @@ module LibDiscord
60
59
  # numbers in your code when making requests to Discord and parsing Discord
61
60
  # responses.
62
61
  #
63
- # @return [Hash{Symbol => Integer}]
62
+ # @return [Hash]
64
63
  #
65
64
  # @example
66
65
  # p = LibDiscord.permissions
@@ -1,18 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibDiscord
4
+ # @api private
5
+ BUG_TRACKER_URL = "https://todo.sr.ht/~komidore64/lib_discord"
6
+
4
7
  # @api private
5
8
  DISCORD_BASE_URL = "https://discord.com"
6
9
 
7
10
  # @api private
8
- PROJECT_URL = "https://sr.ht/~komidore64/lib_discord"
11
+ DOCUMENTATION_URL = "https://rdoc.info/gems/lib_discord"
9
12
 
10
13
  # @api private
11
- SOURCE_URL = "https://git.sr.ht/~komidore64/lib_discord"
14
+ MAILING_LIST_URL = "https://sr.ht/~komidore64/lib_discord/lists"
12
15
 
13
16
  # @api private
14
- BUG_TRACKER_URL = "https://todo.sr.ht/~komidore64/lib_discord"
17
+ PROJECT_URL = "https://sr.ht/~komidore64/lib_discord"
15
18
 
16
19
  # @api private
17
- MAILING_LIST_URL = "https://sr.ht/~komidore64/lib_discord/lists"
20
+ SOURCE_URL = "https://git.sr.ht/~komidore64/lib_discord"
18
21
  end
@@ -3,6 +3,6 @@
3
3
  module LibDiscord
4
4
  # @api private
5
5
  def self.version
6
- @version ||= Gem::Version.new("1.0.0")
6
+ @version ||= Gem::Version.new("1.1.0")
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lib_discord
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-06-05 00:00:00.000000000 Z
10
+ date: 2025-09-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: logger
@@ -43,10 +43,11 @@ files:
43
43
  licenses:
44
44
  - AGPL-3.0-only
45
45
  metadata:
46
- rubygems_mfa_required: 'true'
47
46
  bug_tracker_uri: https://todo.sr.ht/~komidore64/lib_discord
47
+ documentation_uri: https://rdoc.info/gems/lib_discord
48
48
  homepage_uri: https://sr.ht/~komidore64/lib_discord
49
49
  mailing_list_uri: https://sr.ht/~komidore64/lib_discord/lists
50
+ rubygems_mfa_required: 'true'
50
51
  source_code_uri: https://git.sr.ht/~komidore64/lib_discord
51
52
  rdoc_options: []
52
53
  require_paths:
@@ -64,5 +65,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
65
  requirements: []
65
66
  rubygems_version: 3.6.2
66
67
  specification_version: 4
67
- summary: Straightforward Discord Web API bindings
68
+ summary: Straightforward Ruby-bindings for Discord's Web API
68
69
  test_files: []