thomler 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf1e8b8e946ab58178c3ff14d2ba59b69164a74a
4
- data.tar.gz: eb21f9cfe1f61511b112ec0fc680643e4b0ed9b1
3
+ metadata.gz: a4f97fefe1f2d4e75a9feb920c1e0a98b7c4a16e
4
+ data.tar.gz: ff35ea58ea2ffaf34b0fe872a35a40bdc470b1d8
5
5
  SHA512:
6
- metadata.gz: daa68c5538d9d2892a880930b0cd1a4b44d1ee61f089c5389a2cdee76dfb453a6c461ab8fb6a62671df27ad5b7abfe1061ec9b29e46a52552f5e2602a1b3e0e6
7
- data.tar.gz: 5b8c547c91970fa8ae30b95899b538ae8f5cc7ac3331b4a685d2d75a8fc3a9ab222e0a56c9d68978efc74298498e1f5eff8f1a7fc9bb6cfa4218dc4b7475bd5c
6
+ metadata.gz: 2e20b8a829b04b4dbd28bf447f632fc2b133c4d049ebc7210dd635972e2d30d5d4276bcfc3f63be48dbcb4fc384cc4db8bad587394649a82dcaf0ead76705ef7
7
+ data.tar.gz: 1163d228fdce196a70e18ba00f0e5094f9b4a622b34d925c9e3a18ab720bcd241fbddbf543e3b1576d766e3997fdb79e87fd7f4c21b307a20ea671033800c8e1
@@ -12,9 +12,8 @@ module Thomler
12
12
  controller = klass.new(env)
13
13
  begin
14
14
  text = controller.send(act)
15
- rescue Exception => e
16
- puts e.message
17
- puts e.backtrace.inspect
15
+ rescue Exception
16
+ return [404, {'Content-Type' => 'text/html'}, []]
18
17
  end
19
18
  [200, {'Content-Type' => 'text/html'}, [text]]
20
19
  end
@@ -1,3 +1,3 @@
1
1
  module Thomler
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thomler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Osborn