lib/fake_server.rb in nsisam-0.2.2 vs lib/fake_server.rb in nsisam-0.2.3
- old
+ new
@@ -2,12 +2,11 @@
require "sinatra"
require "json"
require "thread"
require "errors"
-module FakeServer
-
+module NSISam
class Server < Sinatra::Application
configure :development do
Dir.mkdir('logs') unless File.exist?('logs')
$stderr.reopen("logs/output.log", "w")
@@ -57,6 +56,5 @@
def stop_server
@thread.kill
end
end
end
-