dblruby 1.1.2.1 → 1.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5c5999cc00c3c7162f7849599e3a99b821d709da
4
- data.tar.gz: de700d1d0750d5e4f2a95bc8713c1d4b3e5ce57e
2
+ SHA256:
3
+ metadata.gz: 2aa21e5c1f30bbad1a967215c20de21d90dfbec95f09f036fec45761b522f5bf
4
+ data.tar.gz: 1e951b5136cc05b88d5c476fc802b455cb566e1f66cd87e203e1ad8580632b11
5
5
  SHA512:
6
- metadata.gz: e4ef2ac616b2876c83c38144b3b5c9db29999afda110c714db86b2bbbdfeee9bb0a5e9ae73337f78d7c6626b559592b57868d6488a73397139e783b5e2ec05e8
7
- data.tar.gz: 032a8ea56f467a279a99289b7ac6510fe1b5dea3b540f0c192fa58193d8b472c5ad1a2659fe9e1d5400d06dcb7eb6b99903639ef9beeb50db8493d60c04a8b73
6
+ metadata.gz: 803a3e6d36405413cb753efac90a7cd9ca9b51180534b15ec3f746cbf4448463273f73b2910fc2b1bf5e62524a3b2e683173e11b4ebedc10d1a44b009ad5796b
7
+ data.tar.gz: 2becd6fac4539ecd073ad8135d5c8ae9988ee3c08ed39d7e54c7e2799936e1253aadbe46ad73e109159407cfc92729f00c45acdacd3e5329731a9edef771f858
@@ -21,10 +21,10 @@ class DBLRuby::Stats
21
21
  alias_method :servers, :servercount
22
22
 
23
23
  # Update the bot's server count.
24
- # @param count [Integer, Array<Integer>] Integer/String of bot server count.
24
+ # @param count [Integer] Integer/String of bot server count.
25
25
  # @param shard_id [Integer] ID of the shard
26
26
  # @param shard_count [Integer] amount of shards the bot has.
27
- # @raise [DBLRuby::Errors::InvalidAPIKey] if the DBL returns a 401 error.
27
+ # @raise [DBLRuby::Errors::InvalidAPIKey] if DBL returns a 401 error.
28
28
  # @return The count of the servers.
29
29
  def updateservercount(count, shard_id = nil, shard_count = nil)
30
30
  url = "https://discordbots.org/api/bots/#{@id}/stats"
@@ -43,7 +43,7 @@ class DBLRuby::User
43
43
  # The discriminator of the user.
44
44
  # @return [Integer] the user's discriminator without the #.
45
45
  def discriminator
46
- @data['discriminator'].delete('#').to_i
46
+ @data['discriminator'].delete('#')
47
47
  end
48
48
 
49
49
  alias_method :discrim, :discriminator
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dblruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Chewsterchew
7
+ - Chew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-05 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -52,15 +52,15 @@ files:
52
52
  - lib/dblruby/user.rb
53
53
  - lib/dblruby/weekend.rb
54
54
  - lib/dblruby/widget.rb
55
- homepage: http://github.com/Chewsterchew/DBLRuby
55
+ homepage: https://github.com/Chew/DBLRuby
56
56
  licenses:
57
57
  - MIT
58
58
  metadata:
59
- bug_tracker_uri: https://github.com/Chewsterchew/DBLRuby/issues
60
- changelog_uri: https://github.com/Chewsterchew/DBLRuby/releases
61
- homepage_uri: http://github.com/Chewsterchew/DBLRuby
62
- source_code_uri: http://github.com/Chewsterchew/DBLRuby
63
- wiki_uri: http://github.com/Chewsterchew/DBLRuby/wiki
59
+ bug_tracker_uri: https://github.com/Chew/DBLRuby/issues
60
+ changelog_uri: https://github.com/Chew/DBLRuby/releases
61
+ homepage_uri: http://github.com/Chew/DBLRuby
62
+ source_code_uri: http://github.com/Chew/DBLRuby
63
+ wiki_uri: http://github.com/Chew/DBLRuby/wiki
64
64
  post_install_message:
65
65
  rdoc_options: []
66
66
  require_paths:
@@ -76,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.6.14
79
+ rubygems_version: 3.0.2
81
80
  signing_key:
82
81
  specification_version: 4
83
82
  summary: Discord Bot List API for Ruby