Unified · Split
| @@ -33,6 +33,7 @@ module Docs · 32 unmodified lines | |||
| 33 | next if name.include?(' ') | 33 | next if name.include?(' ') |
| 34 | 34 | ||
| 35 | type = name.split(/[#\.\(]/).first | 35 | type = name.split(/[#\.\(]/).first |
| 36 | next if type.empty? | ||
| 36 | entries << [name, id, type] | 37 | entries << [name, id, type] |
| 37 | end | 38 | end |
| 38 | 39 | ||
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Mongoose < UrlScraper | 2 | class Mongoose < UrlScraper |
| 3 | self.name = 'Mongoose' | 3 | self.name = 'Mongoose' |
| 4 | self.type = 'mongoose' | 4 | self.type = 'mongoose' |
| 5 | self.version = '4.0.3' | 5 | self.version = '4.0.5' |
| 6 | self.base_url = 'http://mongoosejs.com/docs/' | 6 | self.base_url = 'http://mongoosejs.com/docs/' |
| 7 | self.root_path = 'index.html' | 7 | self.root_path = 'index.html' |
| 8 | self.initial_paths = %w(guide.html api.html) | 8 | self.initial_paths = %w(guide.html api.html) |