hstatic 0.0.3 → 0.0.4

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: 0c55ec459ec18553bde8c6c9e99d91882f700913
4
- data.tar.gz: 8e903f7d8f4efb60dd57463485843c40f8afec48
3
+ metadata.gz: 406e0fbe56c1d5c1a39c115ad9690a833855a010
4
+ data.tar.gz: 41a8f5c578f0ceb37c3686c2d1caacdaab5ff529
5
5
  SHA512:
6
- metadata.gz: 925aeea96736edda8a6f3025fcbe974a60c687f1cac1c5dffb4fb9b22ea9b469369d0f863a41e60ab29aa93944693976d83f96c316ee272604dc25ae38c6bd8d
7
- data.tar.gz: 30fa22b6d0addef3e5b52345bd215ac9254d6023b9736e5fc060b3acab900765e348db14c56ee53b0ddc6ecf714339e13e0674637e27d06a3e237463a92cc6f4
6
+ metadata.gz: 64832fb126fd32cf8b15ffd0e252548fc2669fb077ba830054ae752c6640584badf0187da334ac50d6357b04e4e813cec4f190f3db39d6139321ac4c9863a45b
7
+ data.tar.gz: 0698fe08c50adfede2bdb6e77b78ba1625b55662f24f80945bade4bcd4f1e7b7f37044a7662a9bd786b89036378617d9fd523ce42863b8690ee972b082d6e2d6
data/TODO CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  * Add proper testing
4
4
  * Add proper -v option to cli tool
5
- * Add minify capability on production environment
6
5
  * Add config file
7
6
  * Add virtual hosting
8
7
  * Add php proxying, and rails as well
data/lib/hstatic/app.rb CHANGED
@@ -8,7 +8,7 @@ module Hstatic
8
8
  class App < Sinatra::Base
9
9
  configure do
10
10
  set :views, File.join(BASEDIR, 'views')
11
- set :environment, :production
11
+ set :environment, :development
12
12
  end
13
13
 
14
14
  helpers do
@@ -1,3 +1,3 @@
1
1
  module Hstatic
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/hstatic.rb CHANGED
@@ -8,7 +8,6 @@ module Hstatic
8
8
  require 'optparse'
9
9
  OptionParser.new { |op|
10
10
  op.on('-p port', 'set the port (default is 4567)') { |val| set :port, Integer(val) }
11
- op.on('-e env', 'set the environment (default is production)') { |val| set :environment, val.to_sym }
12
11
  op.on('-s server', 'specify rack server/handler (default is thin)') { |val| set :server, val }
13
12
  op.on('-x', 'turn on the mutex lock (default is off)') { set :lock, true }
14
13
  }.parse!(ARGV.dup)
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.0.3
4
+ version: 0.0.4
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-01-13 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler