From 4f61fd0883a91df8c8286d954a0cad07a1dfa88d Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 7 Jun 2015 16:18:02 -0400 Subject: [PATCH] Update Mongoose documentation (4.0.5) --- lib/docs/filters/mongoose/entries.rb | 1 + lib/docs/scrapers/mongoose.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/mongoose/entries.rb b/lib/docs/filters/mongoose/entries.rb index c5183622..b2466e58 100644 --- a/lib/docs/filters/mongoose/entries.rb +++ b/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 diff --git a/lib/docs/scrapers/mongoose.rb b/lib/docs/scrapers/mongoose.rb index 45421d26..56373716 100644 --- a/lib/docs/scrapers/mongoose.rb +++ b/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)