sequel-reporter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,6 @@ require 'sequel'
|
|
5
5
|
module Sequel::Reporter
|
6
6
|
class Application < Sinatra::Base
|
7
7
|
|
8
|
-
helpers Sinatra::Capture
|
9
8
|
helpers Sequel::Reporter::Helpers
|
10
9
|
|
11
10
|
set :render_engine, :erb
|
@@ -45,6 +44,7 @@ module Sequel::Reporter
|
|
45
44
|
|
46
45
|
path = File.join(settings.root, "lib", "**", "*.rb")
|
47
46
|
Dir.glob(path).each do |file|
|
47
|
+
next if file.match(/ruby\/1.9.1/) # in case ruby somehow got in the lib directory (don't ask)
|
48
48
|
require file
|
49
49
|
end
|
50
50
|
super(app)
|