anmo2 0.0.31 → 0.0.32

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: c7310ced86159b67bd2c3341222a7e33b2a135f0
4
- data.tar.gz: bfb7d3107fc3e36ddd6f65daaa84e91ae8ae8474
3
+ metadata.gz: 8d7da0f9bd24aad1a428a82dc0bfd9d26b668fd9
4
+ data.tar.gz: ba83be9cd3d3df7a375a7cefdb656da68d7b8184
5
5
  SHA512:
6
- metadata.gz: 88d83b15443d8152dd009b7501a3e4c2f0b13dd1dfcb418826236a474b30184cf7bf1a9339b166c9e48e616c049e5d7a6a79f3269adac3bf342bc60069d76bb0
7
- data.tar.gz: 00e8186c8d03d2fd29fb3b8fa7dab14a56ab7d9a54007726083a76cec88c3349b286a604707ddddd38f0080d31bbd64a545534abbf888b785fd84277a980363d
6
+ metadata.gz: 0a5e58815711b6832e5666a44c7f702d6413e976bccb77ee93ad8d04a6be5c569e5df285077a623682d02e16a5a4bece7b4b6d56fc754d669a0c86b71c7be004
7
+ data.tar.gz: b557cd682ad35a2e927abdc8ae0c8a5001828c2c597e2649f4d47d621afb9a43ba768cfc542e2ff7dc9a93d778d5919d17e33eba110d5b29180381798225f526
@@ -74,6 +74,10 @@ module Anmo
74
74
  def call(env)
75
75
  request = Rack::Request.new(env)
76
76
 
77
+ if request.path_info =~ /^\/status$/
78
+ return [200, {}, "ok"]
79
+ end
80
+
77
81
  if request.request_method.upcase == "OPTIONS"
78
82
  return [
79
83
  200,
data/lib/anmo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Anmo
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anmo2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Vos