nile 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/lib/nile/framework.rb +1 -2
- data/lib/nile/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODI4NTQxMmRhY2E1YTEwMzFlNDY2MWQ0OWZjZGYzNDkzODdjZTA5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Nzg2MmMxNDlkZWVkNjcyMzAwZjI1ZGZmNDkxMTk3YTk3NzMzYWUyZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzAwYzRjMDIzZTg0NmZiOWRjZDYxMjg5YTQyMzQ0NTI0MDhiZWIwYmVkZjY3
|
10
|
+
OGE4YTM4NGEzMzQ5YmU0MjkwZWQ3YTkwZWUwZWE2ZTYwMGEyZTBiNjVmNDgy
|
11
|
+
MDkzYmU0M2I5ZGEzMGEwMTgyNTQ3NzNmMTJlMjdlNDYxYWY4ZmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWI5NWFlN2Q0NzYxNjIwN2JmMTk3NTAzNDU2MjFmYjk0NWE3NGNkNWMxMTZi
|
14
|
+
ZTNlZjE1YmFmOWMxMDhjYmFmNGI0NzkwZWI5Nzc4YjBhNjkwZGM0NThjMWE1
|
15
|
+
NDU1MTc1ZmFkMzVjZjg1NDJhOTc3ODZlM2MyMWE4MDU4ODY5NWU=
|
data/.gitignore
CHANGED
data/lib/nile/framework.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'singleton'
|
2
2
|
require 'json'
|
3
|
-
require 'httpd'
|
4
3
|
|
5
4
|
module Nile
|
6
5
|
|
@@ -18,7 +17,7 @@ module Nile
|
|
18
17
|
|
19
18
|
def find_route verb, url
|
20
19
|
@routes.each do |route|
|
21
|
-
if route[:url] == url && route[:verb] == verb
|
20
|
+
if route[:url] == url && (route[:verb] == verb || verb == "HEAD")
|
22
21
|
return route
|
23
22
|
end
|
24
23
|
end
|
data/lib/nile/version.rb
CHANGED