소스 검색

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)