jobim 0.4.5 → 0.4.6

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: 583fc59d720021c552913ef4bff99fced316b51c
4
- data.tar.gz: c42dbaa32411b22f6a09534b0988f59aed73e4be
3
+ metadata.gz: 1a6b16b3cfb11a3e09ff9ad6a11e52ca5158344a
4
+ data.tar.gz: 847e7309aee94d3ae780abd276d73c4a3364dea4
5
5
  SHA512:
6
- metadata.gz: 8b5681660771b22617e3965186893c62686004d1832e189579a00b3c74868096ad59356450f290d7c53a7a987336f2abf07c943dd6a3ba51254cc4e6db94047a
7
- data.tar.gz: a01e3ece983d2757ec7ba58259a2f924e7656839b62901e8053f7b4e3716a4d465e202c93f4d0a0379a7083ff7f593b1f360489d6910dab14573fd64e1c2b733
6
+ metadata.gz: f45dbf756979b846922af4d659ead2e4098e50e315f979464e8689b2d26658cba3874e005338e97c5ad515177370c353f7f8753d1894a1713977610dda635697
7
+ data.tar.gz: dbe6bf212728b6d774af95367db6e9da95663863f69d7ff137e41440b1835e226069e45abe5aeeee1878d6bb0453ec86796c0f13d465c0db5aeeee090dac7906
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
-
2
1
  # Jobim
3
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/jobim.png)](http://badge.fury.io/rb/jobim)
4
+
4
5
  `jobim` is a light utility for generating a static HTTP server. This allows
5
6
  for rapid website design and development without the hassle and security risk
6
7
  of a full web-server installation. `jobim` leverages
@@ -10,11 +10,18 @@ class Jobim::CLI
10
10
  begin
11
11
  cli.parse(args)
12
12
  options = cli.options
13
+
13
14
  exit if options.nil?
15
+
14
16
  Jobim::Server.start options
15
- rescue
17
+
18
+ rescue OptionParser::InvalidOption => io
19
+ puts ">>> Error: #{io}"
16
20
  puts cli.help
17
- exit
21
+
22
+ rescue RuntimeError => er
23
+ puts ">>> Failed to start server"
24
+ puts ">> #{er}"
18
25
  end
19
26
  end
20
27
 
@@ -1,3 +1,3 @@
1
1
  module Jobim
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Elliott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-06 00:00:00.000000000 Z
11
+ date: 2013-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.1.5
150
+ rubygems_version: 2.1.4
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Popup HTTP Server