lib/rack/logs.rb in rack-logs-0.0.6 vs lib/rack/logs.rb in rack-logs-0.1.0
- old
+ new
@@ -1,6 +1,10 @@
require "rack/logs/version"
+if RUBY_VERSION.to_f < 2
+ require 'rack/logs/backport'
+end
+
module Rack
module Logs
module_function
autoload 'Viewer', 'rack/logs/viewer'