thomler 0.1.3 → 0.1.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: 53a02a0643be05baf5f75a88965f42262b55ee1f
4
- data.tar.gz: 12ebeb11d4e31237f0f059bde512375560c692e1
3
+ metadata.gz: 3bb9671468c81722904e431c4a525eaee5babec1
4
+ data.tar.gz: 558d96e2c4aa0494ba57e13ee909fdcff81a11cc
5
5
  SHA512:
6
- metadata.gz: 2d494bfadc7be1922f9fc6ba5fd19f9deb75107164ce34ee377c3a7ee95a0d8ff1bcf169d225235ea6f0a4eadb68ae8f2dae85a85f914eea70bcbdec27a2ecbe
7
- data.tar.gz: 5138a345048a3348efd27cf8387d0a6a22ec6da5f2ae6b772f6ee392a7095a81e500c1b38fe7206d966607ec869754c317cd2dd2bd25094c977e7ad3e90db446
6
+ metadata.gz: 196a7c6cf4256ccbd6445800e691487fe23edcb72e0a56274fad405135a26418177ea4e9eca6fc77dd2a72bd91719ba44a5df179ed94c40826ca7353073b0a8c
7
+ data.tar.gz: e8dd9edc33f5b84733bad1bcbf7c91d31beee110ea49052e083ec0310a8b3fb7e8bbff9d9f5b4617ee854f2403cead4c17a21a8e85dcbb10207d75028898a844
@@ -1,3 +1,3 @@
1
1
  module Thomler
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/thomler.rb CHANGED
@@ -5,6 +5,9 @@ require "thomler/routing"
5
5
  module Thomler
6
6
  class Application
7
7
  def call env
8
+ if env['PATH_INFO'] == '/favicon.ico'
9
+ return [404, {'Content-Type' => 'text/html'}, []]
10
+ end
8
11
  klass, act = get_controller_and_action(env)
9
12
  controller = klass.new(env)
10
13
  text = controller.send(act)
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Osborn