bukkit 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20580b4173edfdd8a9625490a7d007e77356f94d
4
- data.tar.gz: 59ca72a7c6b379337e842841efa679e5c79586ff
3
+ metadata.gz: b456919320509c81ec4330d3fea300e46e96ca67
4
+ data.tar.gz: 5b07179f64b14ed897b797b77dda010079a0b8c8
5
5
  SHA512:
6
- metadata.gz: aa664bced8dac04c12730f90e180cdac8382fecec2ea606703d21d72197f144064879eba10de053944ca7eea8cb68cdbeeee4057def2e57ad4fcaf0eb2c20267
7
- data.tar.gz: 0704a2cf3c70fffa486ec4fa1e4d08443281cc99038b97f739a99712f5786c8230f387c369f7414d97f2b557499c1c2fc077ce77da98995a6bd51bb9b283f163
6
+ metadata.gz: 9198e59e4b3bf729c6e80cb886361417f1f2e8cd3ae42ca240ebb78606cb477247ef42a3486eff740de1ecb6ffec50020818cb4aae153465ecf1c3ff7535cfd8
7
+ data.tar.gz: 937abdb09b5882c8887e7f37b702eaf0d2f258e6bccbc03f25f4bb5779b12851141b60bc04531f789161596e4c031632c81a369bca3bad983b2877b304bed8ad
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
1
  v0.1.0: Added 'update' command and a few bug fixes.
2
2
  v0.1.1: Major bug fix.
3
3
  v0.1.2: 'website' command fixed.
4
+ v0.1.3: Minor bug fixes.
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Jesse Herrick"]
10
10
  spec.email = ["school@jessegrant.net"]
11
11
  spec.description = %q{A command line wrapper for CraftBukkit.}
12
- spec.summary = %q{A command line wrapper for CraftBukkit.}
12
+ spec.summary = %q{A command line wrapper for CraftBukkit. Manage your server much easier.}
13
13
  spec.homepage = "https://github.com/JesseHerrick/bukkit"
14
14
  spec.license = "MIT"
15
15
 
@@ -16,7 +16,7 @@ module Bukkit
16
16
  # First arg control flow
17
17
  case opt1
18
18
  when "-v", "--version", "version"
19
- puts Bukkit::VERSION
19
+ puts Bukkit::VERSION_FULL
20
20
  when "-h", "--help", "help"
21
21
  Bukkit::help
22
22
  when "new"
@@ -2,8 +2,12 @@ require 'open-uri'
2
2
 
3
3
  module Bukkit
4
4
  def self.download(filename, uri)
5
- File.open("#{filename}", "wb") do |file|
6
- file.write open("#{uri}").read
5
+ begin
6
+ File.open("#{filename}", "wb") do |file|
7
+ file.write open("#{uri}").read
8
+ end
9
+ rescue Errno::ENOENT
10
+ abort "Error! No internet connection."
7
11
  end
8
12
  end
9
13
  end
@@ -1,4 +1,4 @@
1
- # TODO update command
2
1
  module Bukkit
3
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
+ VERSION_FULL = "Bukkit-CLI v#{VERSION}"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bukkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Herrick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-03 00:00:00.000000000 Z
11
+ date: 2013-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -98,5 +98,5 @@ rubyforge_project:
98
98
  rubygems_version: 2.0.3
99
99
  signing_key:
100
100
  specification_version: 4
101
- summary: A command line wrapper for CraftBukkit.
101
+ summary: A command line wrapper for CraftBukkit. Manage your server much easier.
102
102
  test_files: []