Browse Source

Update Mongoose documentation (4.0.5)

Thibaut 10 years ago
parent
commit
4f61fd0883
2 changed files with 2 additions and 1 deletions
  1. 1 0
      lib/docs/filters/mongoose/entries.rb
  2. 1 1
      lib/docs/scrapers/mongoose.rb

+ 1 - 0
lib/docs/filters/mongoose/entries.rb

@@ -33,6 +33,7 @@ module Docs
           next if name.include?(' ')
 
           type = name.split(/[#\.\(]/).first
+          next if type.empty?
           entries << [name, id, type]
         end
 

+ 1 - 1
lib/docs/scrapers/mongoose.rb

@@ -2,7 +2,7 @@ module Docs
   class Mongoose < UrlScraper
     self.name = 'Mongoose'
     self.type = 'mongoose'
-    self.version = '4.0.3'
+    self.version = '4.0.5'
     self.base_url = 'http://mongoosejs.com/docs/'
     self.root_path = 'index.html'
     self.initial_paths = %w(guide.html api.html)