saral 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saral.rb +2 -2
- data/lib/saral/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d466ae6d9ac3b3c6b486953991cb87bdbdb7621e
|
4
|
+
data.tar.gz: f102e5b20a41a81bc3652244e7f1f4e7e671d084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 260a04bad2fd9b5242dfaf1e8924fcb54fe043c33d46451f0004ff4d7a20a73010b2850f729e7eefc96787a9df2a5a7fac1f83c987d4ace011cbe6048a8da3b3
|
7
|
+
data.tar.gz: d6fabcc8cfac8a3e5e87bcde1d81ed598bb45538d40a4f44a40f6b78d5a1d6142cdbcd8d78b6fc301f98a0fae4f2add0db124e4527c63d2e941dcf5d58cce289
|
data/lib/saral.rb
CHANGED
@@ -18,9 +18,9 @@ module Saral
|
|
18
18
|
rescue LoadError
|
19
19
|
[400, {'Content-Type' => 'text/html'}, ["Sorry! The request had bad syntax or was inherently impossible to be satisfied."]]
|
20
20
|
rescue NameError
|
21
|
-
[
|
21
|
+
[400, {'Content-Type' => 'text/html'}, ["Sorry! The request had bad syntax or was inherently impossible to be satisfied."]]
|
22
22
|
rescue TypeError
|
23
|
-
[
|
23
|
+
[400, {'Content-Type' => 'text/html'}, ["Sorry! The request had bad syntax or was inherently impossible to be satisfied."]]
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
data/lib/saral/version.rb
CHANGED