jobim 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/jobim/cli.rb +9 -2
- data/lib/jobim/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a6b16b3cfb11a3e09ff9ad6a11e52ca5158344a
|
4
|
+
data.tar.gz: 847e7309aee94d3ae780abd276d73c4a3364dea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45dbf756979b846922af4d659ead2e4098e50e315f979464e8689b2d26658cba3874e005338e97c5ad515177370c353f7f8753d1894a1713977610dda635697
|
7
|
+
data.tar.gz: dbe6bf212728b6d774af95367db6e9da95663863f69d7ff137e41440b1835e226069e45abe5aeeee1878d6bb0453ec86796c0f13d465c0db5aeeee090dac7906
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
|
2
1
|
# Jobim
|
3
2
|
|
3
|
+
[](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
|
data/lib/jobim/cli.rb
CHANGED
@@ -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
|
-
|
17
|
+
|
18
|
+
rescue OptionParser::InvalidOption => io
|
19
|
+
puts ">>> Error: #{io}"
|
16
20
|
puts cli.help
|
17
|
-
|
21
|
+
|
22
|
+
rescue RuntimeError => er
|
23
|
+
puts ">>> Failed to start server"
|
24
|
+
puts ">> #{er}"
|
18
25
|
end
|
19
26
|
end
|
20
27
|
|
data/lib/jobim/version.rb
CHANGED
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.
|
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-
|
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.
|
150
|
+
rubygems_version: 2.1.4
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Popup HTTP Server
|