saral 0.0.9 → 0.1.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/saral.rb +2 -2
  3. data/lib/saral/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e1aa2110336796fdb47950f52bdd1ff378c8b34
4
- data.tar.gz: 7379a1436f7cb44bb7e55466effeb8868b04163e
3
+ metadata.gz: d466ae6d9ac3b3c6b486953991cb87bdbdb7621e
4
+ data.tar.gz: f102e5b20a41a81bc3652244e7f1f4e7e671d084
5
5
  SHA512:
6
- metadata.gz: fd789d1ac3d7f9e9cce41313ee87e57ad1c446b1ff12a2a1cf4e99ab9ba2a22e6e907751e919443e687a562f20582a95a7d35fd65d78a61709ed2834e0a2e918
7
- data.tar.gz: 46ca8976fae5fa72af05289091bff15813867a6e6d75d150cfe895218de7db33e6ec88d9f64b9386340456b100c29b47bb5a1ff940e32f62bf99ad981502cc69
6
+ metadata.gz: 260a04bad2fd9b5242dfaf1e8924fcb54fe043c33d46451f0004ff4d7a20a73010b2850f729e7eefc96787a9df2a5a7fac1f83c987d4ace011cbe6048a8da3b3
7
+ data.tar.gz: d6fabcc8cfac8a3e5e87bcde1d81ed598bb45538d40a4f44a40f6b78d5a1d6142cdbcd8d78b6fc301f98a0fae4f2add0db124e4527c63d2e941dcf5d58cce289
@@ -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
- [404, {'Content-Type' => 'text/html'}, ["Sorry! NameError."]]
21
+ [400, {'Content-Type' => 'text/html'}, ["Sorry! The request had bad syntax or was inherently impossible to be satisfied."]]
22
22
  rescue TypeError
23
- [404, {'Content-Type' => 'text/html'}, ["Sorry! TypeError."]]
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
@@ -1,3 +1,3 @@
1
1
  module Saral
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  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.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SatishTalim