dsu3 0.5.0 → 0.5.1
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 +4 -4
- data/lib/dsu3/props.rb +1 -1
- data/lib/dsu3/version.rb +5 -0
- data/lib/dsu3.rb +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e545e0e38f675b05b374e68e43bed9c5cb794ae4acce2a05eb50830ded1c16ee
|
4
|
+
data.tar.gz: a7ccac599af92f1320f561326f8a7e025c91393e496e8baca014afeb5043d3a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eef4eadf13de5db7a8dbd4dca2bbf59e4f44956de4175d1cf308df4b009b3b0bdced88ca295bacb18562161c4b2bbcb0567a3462afb3990599cad7762b3fe5fa
|
7
|
+
data.tar.gz: f10eef693e3e690a6003a46e802f22d7435eedceaa6b31821b68055cf342be975b74170f6eb1a9afa4df5c61e4947934ebef175bce0bd4632ffab79b83fa14be
|
data/lib/dsu3/props.rb
CHANGED
@@ -14,7 +14,7 @@ module DSU3
|
|
14
14
|
DATAMINING_COMMITS_URL = 'https://api.github.com/repos/Discord-Datamining/Discord-Datamining/commits/master'
|
15
15
|
|
16
16
|
# Fetches Discord client build number
|
17
|
-
def fetch_build_number
|
17
|
+
def self.fetch_build_number
|
18
18
|
JSON.parse(RestClient.get(DATAMINING_COMMITS_URL))['commit']['message'].match(/Build (\d+)/)[1]
|
19
19
|
end
|
20
20
|
|
data/lib/dsu3/version.rb
ADDED
data/lib/dsu3.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dsu3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artur Sheremetjev IV
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- lib/dsu3/bot.rb
|
37
37
|
- lib/dsu3/core.rb
|
38
38
|
- lib/dsu3/props.rb
|
39
|
+
- lib/dsu3/version.rb
|
39
40
|
homepage: https://rubygems.org/gems/dsu3
|
40
41
|
licenses:
|
41
42
|
- MIT
|