Unified · Split
| @@ -1,14 +1,13 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Rust < UrlScraper |
| 3 | 3 | self.type = 'rust' |
| 4 | − self.version = '1.0.0' | |
| 4 | + self.version = '1.1.0' | |
| 5 | 5 | self.base_url = 'http://doc.rust-lang.org/' |
| 6 | 6 | self.root_path = 'book/index.html' |
| 7 | 7 | self.initial_paths = %w( |
| 8 | 8 | reference.html |
| 9 | 9 | collections/index.html |
| 10 | − std/index.html | |
| 11 | − unicode/index.html) | |
| 10 | + std/index.html) | |
| 12 | 11 | self.links = { |
| 13 | 12 | home: 'http://www.rust-lang.org/', |
| 14 | 13 | code: 'https://github.com/rust-lang/rust' |
| @@ -19,8 +18,7 @@ module Docs · 4 unmodified lines | ||
| 19 | 18 | options[:only_patterns] = [ |
| 20 | 19 | /\Abook\//, |
| 21 | 20 | /\Acollections\//, |
| 22 | − /\Astd\//, | |
| 23 | − /\Aunicode\// ] | |
| 21 | + /\Astd\// ] | |
| 24 | 22 | |
| 25 | 23 | options[:skip] = %w(book/README.html) |
| 26 | 24 | options[:skip_patterns] = [/(?<!\.html)\z/] |