fishbans 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/block_engine.rb +1 -1
- data/lib/player_skins.rb +0 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f227a174210eb010e8dd19316428c6a990ba25
|
4
|
+
data.tar.gz: 6526c7c298b8cb1b23682278380b5aa3b6e839f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c29b2241ddd6d93e094b0dfa96e7bf198f55b3530886c68c0301c1ddf5e5ea0908b4c10eacca16ccedcca6005299460c8f5d64ebd14128a04272a0535d3bc952
|
7
|
+
data.tar.gz: 389eaa3a1001a38eff9a3c4c18261444336abbdb4bb5948346e27428187605b1434bb03c6cc60cb2ac98d7a0e6f927bebdfc77241f3a6c1950598ae5174dcd9c
|
data/CHANGELOG.md
CHANGED
data/lib/block_engine.rb
CHANGED
@@ -29,7 +29,7 @@ module Fishbans
|
|
29
29
|
# this will not be perfect just by nature of the API.
|
30
30
|
# @return [ChunkyPNG::Image] The ChunkyPNG instance of that monster image.
|
31
31
|
def get_monster(id, three = false, size = 42)
|
32
|
-
id = id.to_s
|
32
|
+
id = id.to_s
|
33
33
|
url = 'http://blocks.fishbans.com'
|
34
34
|
url += "/#{id}" if id =~ /^m/
|
35
35
|
url += "/m#{id}" if id !~ /^m/
|
data/lib/player_skins.rb
CHANGED
@@ -36,7 +36,6 @@ module Fishbans
|
|
36
36
|
# @param size [Fixnum] See #get_player_head.
|
37
37
|
# @return [ChunkyPNG::Image] The ChunkyPNG::Image instance for the params.
|
38
38
|
def get_player_image(username, type, size)
|
39
|
-
type.downcase
|
40
39
|
url = "http://i.fishbans.com/#{type}/#{username}/#{size}"
|
41
40
|
response = get(url, false)
|
42
41
|
ChunkyPNG::Image.from_blob(response.body)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fishbans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Foster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -71,8 +71,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.6.4
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: A Ruby gem for accessing the Fishbans Minecraft API.
|
78
78
|
test_files: []
|
79
|
+
has_rdoc:
|