瀏覽代碼

Update Mongoose documentation (4.0.5)

Thibaut 10 年之前
父節點
當前提交
4f61fd0883
共有 2 個文件被更改,包括 2 次插入1 次删除
  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)