lib/stacksondeck/app.rb in stacksondeck-1.0.5 vs lib/stacksondeck/app.rb in stacksondeck-1.0.6
- old
+ new
@@ -5,10 +5,11 @@
require 'ridley'
require 'daybreak'
require 'sinatra/base'
+require_relative 'metadata'
module StacksOnDeck
class App < Sinatra::Application
@@ -29,9 +30,13 @@
content_type :yaml
last_modified @@last_modified
@@db_dump
end
+ get '/v' do
+ content_type :text
+ VERSION
+ end
private
\ No newline at end of file