saral 0.0.8 → 0.0.9

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: 8177364e202e3097952bb27e8203403e3a80e2d0
4
- data.tar.gz: d45b2c82d2091f7cf5d9d08e65fd09d728bf6f25
3
+ metadata.gz: 5e1aa2110336796fdb47950f52bdd1ff378c8b34
4
+ data.tar.gz: 7379a1436f7cb44bb7e55466effeb8868b04163e
5
5
  SHA512:
6
- metadata.gz: 7f3db6fd9eb372a9c1d2ab89932343dc013bd904c101585561b8e9a42432bb7ef1c5ca185ad886b8c8fb17b9bbd6aef8e556dc55bb1bf4ae42bf588eb51cff13
7
- data.tar.gz: 6760ffaf716c2c71b7d18c44b3cf863354fd3b371fa6e09b2a02f8b84788166ea205c1124913fba3d2800f0cfadb9fdc857abe965ab02278778e7d28ed080bd2
6
+ metadata.gz: fd789d1ac3d7f9e9cce41313ee87e57ad1c446b1ff12a2a1cf4e99ab9ba2a22e6e907751e919443e687a562f20582a95a7d35fd65d78a61709ed2834e0a2e918
7
+ data.tar.gz: 46ca8976fae5fa72af05289091bff15813867a6e6d75d150cfe895218de7db33e6ec88d9f64b9386340456b100c29b47bb5a1ff940e32f62bf99ad981502cc69
data/README.md CHANGED
@@ -27,3 +27,7 @@ Or install it yourself as:
27
27
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
28
  4. Push to the branch (`git push origin my-new-feature`)
29
29
  5. Create new Pull Request
30
+
31
+ ## Gem Version
32
+
33
+ [![Gem Version](https://badge.fury.io/rb/saral.png)](http://badge.fury.io/rb/saral)
data/lib/saral/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saral
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/lib/saral.rb CHANGED
@@ -17,8 +17,10 @@ module Saral
17
17
  [200, {'Content-Type' => 'text/html'}, [text]]
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
- rescue StandardError
21
- [404, {'Content-Type' => 'text/html'}, ["Sorry! Page not found."]]
20
+ rescue NameError
21
+ [404, {'Content-Type' => 'text/html'}, ["Sorry! NameError."]]
22
+ rescue TypeError
23
+ [404, {'Content-Type' => 'text/html'}, ["Sorry! TypeError."]]
22
24
  end
23
25
  end
24
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saral
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - SatishTalim