hypixel-ruby 0.0.4 → 1.0.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.
- checksums.yaml +4 -4
- data/lib/hypixel-ruby.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03310bf31abcc8b3fd172d40c046a0347f0cd0542ae7f139100838fa571c670b
|
|
4
|
+
data.tar.gz: ca6c15aa02c0605d77cebb11b05c1be37b0e320363b770655e1bef655eab753c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77d1414e90c8a2f20ec6c16b8c8cd073c82a6989742983280ecabb6c9886b325ebf59a36351db1baa4d364cda7cac8f92401c781e909fe6d9943cac265dcc115
|
|
7
|
+
data.tar.gz: 45578ab2a79d9c0daf223c712678b3c3cc954cc306eb921a244241c1e70e4a004e4cf502c1c8dfc69411a08722760dbafd279534c31fdf3cc8158b1a3868b975
|
data/lib/hypixel-ruby.rb
CHANGED
|
@@ -10,9 +10,9 @@ class HypixelAPI
|
|
|
10
10
|
return JSON.parse(source, :symbolize_names => true)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
# Creates a new object with your API key. *If
|
|
14
|
-
def initialize(
|
|
15
|
-
@key =
|
|
13
|
+
# Creates a new object with your API key. *If requests are failing for you, remember to check your key.*
|
|
14
|
+
def initialize(api_key)
|
|
15
|
+
@key = api_key
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# Builds a url from the request type and parameters. *Do not specify your key in the parameters.*
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hypixel-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- PenguinOwl
|
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2018-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description:
|
|
13
|
+
description: Robust, but powerful. Source avaible at https://github.com/PenguinOwl/hypixel-rubyed/
|
|
14
14
|
email:
|
|
15
15
|
executables: []
|
|
16
16
|
extensions: []
|
|
@@ -40,5 +40,5 @@ rubyforge_project:
|
|
|
40
40
|
rubygems_version: 2.7.6
|
|
41
41
|
signing_key:
|
|
42
42
|
specification_version: 4
|
|
43
|
-
summary: Barebones wrapper for
|
|
43
|
+
summary: Barebones wrapper for Hypixel stats
|
|
44
44
|
test_files: []
|