Skip to content
Browse files

require users vendor directory on load

  • Loading branch information...
1 parent 2679e40 commit c489d67d1a6540c2f80c2beee8d435b170e93a75 Blake Mizerany committed Oct 15, 2007
Showing with 4 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +1 −1 Manifest
  3. +2 −0 lib/sinatra.rb
View
1 CHANGELOG
@@ -1,2 +1,3 @@
+v0.1.6 Additions: require users vendor directory on load
v0.1.5 Mutex and before-filters
v0.1.0 Released!
View
2 Manifest
@@ -30,6 +30,7 @@ lib/sinatra/sessions.rb
lib/sinatra/test_methods.rb
lib/sinatra.rb
LICENSE
+Manifest
RakeFile
README
sinatra.gemspec
@@ -50,4 +51,3 @@ vendor/erb/lib/erb.rb
vendor/haml/init.rb
vendor/haml/lib/haml.rb
Rakefile
-Manifest
View
2 lib/sinatra.rb
@@ -38,6 +38,8 @@
Sinatra::Loader.load_files Dir.glob(SINATRA_ROOT + '/lib/sinatra/*.rb')
Sinatra::Loader.load_files Dir.glob(SINATRA_ROOT + '/vendor/*/init.rb')
+Sinatra::Loader.load_files Dir.glob(File.dirname($0) + '/vendor/*/init.rb')
+
Sinatra::Environment.prepare
at_exit do

0 comments on commit c489d67

Please sign in to comment.
Something went wrong with that request. Please try again.