glowstone 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/glowstone/server.rb +1 -1
- data/lib/glowstone/version.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/lib/glowstone/server.rb
CHANGED
@@ -48,7 +48,7 @@ module Glowstone
|
|
48
48
|
@gamemode = status.gametype.to_s
|
49
49
|
@version = status.version.to_s
|
50
50
|
|
51
|
-
@plugins = status.plugins.to_s.gsub!(/^(craft)?bukkit[^:]*:\s*/i, "").split(/;\s*/)
|
51
|
+
@plugins = (status.plugins.empty?) ? nil : status.plugins.to_s.gsub!(/^(craft)?bukkit[^:]*:\s*/i, "").split(/;\s*/)
|
52
52
|
@map_name = status.map_name.to_s
|
53
53
|
@num_players = status.num_players.to_i
|
54
54
|
@max_players = status.max_players.to_i
|
data/lib/glowstone/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glowstone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bindata
|