hstatic 0.1.0 → 0.1.1

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: 4e27b303985626a47a5f1819606a414537f94764
4
- data.tar.gz: 173087ce5481665ee560bbcc58e7e157dc514f6a
3
+ metadata.gz: 3d0884940a5f189a1e9d82eb401eec5a620acd51
4
+ data.tar.gz: 170fbae03f721206fd5a5cab4cede18f08f52ecc
5
5
  SHA512:
6
- metadata.gz: 61b6390a4cef8f3bd383b73c7a1006751e7a45bd60234476dbf6bf5b4f1cf1d9ce03ab63b6ba464fdf39f0356a98d4016099c31378b8b22aeecabae20faf97e1
7
- data.tar.gz: 34518d62b5cc479411e354711ceee62ef9ab8fc4d9c736f2f406512b9f6f428221d544d24469b79a4fafd0f80d238693c82d1cc6eefa19a40879857e7bec0349
6
+ metadata.gz: 83ab088ab9f0cf0b15751910cc997bf177decb6401cb8165ece7f1c10b3c7df377d8ba6a9e7cd3fba304d3a3b73daacaa592201ee7dec3a6a27784127835d7e5
7
+ data.tar.gz: 8346b86a1fa01ad9a14ccd875b807df626318d33655cb9e4fbc590e86d202c4c92bb58004875b63365560a94f75a0d2fa6be9646e5e26d34f6818f197d700cd0
data/lib/hstatic/app.rb CHANGED
@@ -36,9 +36,10 @@ module Hstatic
36
36
 
37
37
  method.call(basename, { :views => File.dirname(path) })
38
38
  else
39
- raise Exception.new "No matching template for #{path}"
39
+ raise Exception.new "No template found for #{path}"
40
40
  end
41
- rescue
41
+ rescue Exception => e
42
+ logger.info e.message
42
43
  send_file path
43
44
  end
44
45
  end
@@ -1,3 +1,3 @@
1
1
  module Hstatic
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
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-04 00:00:00.000000000 Z
11
+ date: 2014-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler