hstatic 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hstatic.rb +3 -0
- data/lib/hstatic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e28fdd5d6b5c06be5827ca9461872b7fe74084f
|
4
|
+
data.tar.gz: e6442cf81ae3b0e4e087fb07e90db5a4307e7e95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16c706e8a492bed4f38ee61cd46c2f41b50396b4120f49c6e5d2358db86c76bf015fb6877545dffc67c7e95c896d6a4f76c1f0b64e0b2dfbce2b90a1366208bd
|
7
|
+
data.tar.gz: e4d9804bbd53e14414f6dd52f0a8e0007362581af10ffa419bbaf2b9b05001dfc596b63d5aa9b3fd58223bfee7771b7a162f074221f0ea43d58da2e8e5e6e365
|
data/lib/hstatic.rb
CHANGED
@@ -9,6 +9,9 @@ module Hstatic
|
|
9
9
|
if argv.any?
|
10
10
|
require 'optparse'
|
11
11
|
OptionParser.new { |op|
|
12
|
+
op.on("-o host",
|
13
|
+
"specify host (default is localhost)") { |val| set :bind, val }
|
14
|
+
|
12
15
|
op.on("-p port", "--port port",
|
13
16
|
"set the port (default is 4567)") do |val|
|
14
17
|
@port_set = true
|
data/lib/hstatic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hstatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erick Pérez Castellanos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|