Sha256: 78424ff24ce6e14800635bb6161329c8260cd2e1d20064ffa193388e16d74558
Contents?: true
Size: 663 Bytes
Versions: 5
Compression:
Stored size: 663 Bytes
Contents
module Bukkit def self.update(build) # Get build url. case build when "rb" # Download the Latest Recommended Build say "Downloading Recommended Build... (this may take a while)" Bukkit::download("craftbukkit.jar", "http://cbukk.it/craftbukkit.jar") when "beta" # Download the Latest Beta Build say "Downloading Beta Build... (this may take a while)" Bukkit::download("craftbukkit.jar", "http://cbukk.it/craftbukkit-beta.jar") when "dev" # Download the Latest Developer Build say "Downloading Developer Build... (this may take a while)" Bukkit::download("craftbukkit.jar", "http://cbukk.it/craftbukkit-dev.jar") end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
bukkit-1.1.1 | lib/bukkit/update.rb |
bukkit-1.1.0 | lib/bukkit/update.rb |
bukkit-1.0.3 | lib/bukkit/update.rb |
bukkit-1.0.2 | lib/bukkit/update.rb |
bukkit-1.0.1 | lib/bukkit/update.rb |