lib/nsisam/fake_server.rb in nsisam-0.3.1 vs lib/nsisam/fake_server.rb in nsisam-0.3.2

- old
+ new

@@ -4,14 +4,9 @@ require "thread" module NSISam class Server < Sinatra::Application - configure :development do - Dir.mkdir('logs') unless File.exist?('logs') - $stderr.reopen("logs/output.log", "w") - end - put "/" do content_type :json incoming = JSON.parse(request.body.read) {key: "value #{incoming["value"]} stored", checksum: "0"}.to_json end