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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9572203f08a6ce1f65c4a33b613b51a116c0fc935c6f26c8d0e5b2f0600740b6
4
- data.tar.gz: 89b125202ba866c62599f69fa7f9321b82d4edf3773fdebcbe0dfe6771f1f724
3
+ metadata.gz: e545e0e38f675b05b374e68e43bed9c5cb794ae4acce2a05eb50830ded1c16ee
4
+ data.tar.gz: a7ccac599af92f1320f561326f8a7e025c91393e496e8baca014afeb5043d3a8
5
5
  SHA512:
6
- metadata.gz: 5fd28581d81eeead4c8295818ef4f1484218e7771b42709a47991696da2b0eb9c9b936aa0fbaa36b800b5f798d55271e3b5acf333a59895658d1b4c87acdb312
7
- data.tar.gz: 2857ce644817ba1f2965de5d82585322ecd889fa4eb87f5a7980119a22654d623f1e1af84c174c3a029bbbf04bd5e3f82e3b7e1fea1848ffea96ab1dc360ed66
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
 
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DSU3
4
+ VERSION = '0.5.1'
5
+ end
data/lib/dsu3.rb CHANGED
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'logger'
4
+
5
+ require 'dsu3/version'
4
6
  require 'dsu3/core'
5
7
 
6
8
  # Main DSU3 namespace
7
9
  module DSU3
8
- VERSION = '0.5.0'
9
-
10
10
  LOGGER = Logger.new($stdout)
11
11
  LOGGER.level = Logger::WARN
12
12
  end
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.0
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