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 +4 -4
- data/lib/hstatic/app.rb +3 -2
- 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: 3d0884940a5f189a1e9d82eb401eec5a620acd51
|
4
|
+
data.tar.gz: 170fbae03f721206fd5a5cab4cede18f08f52ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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.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-
|
11
|
+
date: 2014-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|