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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d0884940a5f189a1e9d82eb401eec5a620acd51
4
- data.tar.gz: 170fbae03f721206fd5a5cab4cede18f08f52ecc
3
+ metadata.gz: 7e28fdd5d6b5c06be5827ca9461872b7fe74084f
4
+ data.tar.gz: e6442cf81ae3b0e4e087fb07e90db5a4307e7e95
5
5
  SHA512:
6
- metadata.gz: 83ab088ab9f0cf0b15751910cc997bf177decb6401cb8165ece7f1c10b3c7df377d8ba6a9e7cd3fba304d3a3b73daacaa592201ee7dec3a6a27784127835d7e5
7
- data.tar.gz: 8346b86a1fa01ad9a14ccd875b807df626318d33655cb9e4fbc590e86d202c4c92bb58004875b63365560a94f75a0d2fa6be9646e5e26d34f6818f197d700cd0
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
@@ -1,3 +1,3 @@
1
1
  module Hstatic
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-08 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler