File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,14 @@ class Angularjs < UrlScraper
3131 end
3232
3333 options [ :only_patterns ] = [ %r{\A api} , %r{\A guide} ]
34- options [ :skip ] = %w( api/ng.html )
34+ options [ :skip ] = %w( api/ng.html guide/tutorial/step_14.html guide/api.html guide/tutorial/.html )
35+ options [ :skip_patterns ] = [
36+ /error\/ \$ compile/ ,
37+ /misc/ ,
38+ ]
3539
3640 options [ :attribution ] = <<-HTML
37- © 2010–2017 Google, Inc.< br >
41+ © 2010–2018 Google, Inc.< br >
3842 Licensed under the Creative Commons Attribution License 4.0.
3943 HTML
4044
@@ -45,8 +49,13 @@ class Angularjs < UrlScraper
4549 capybara . execute_script ( "return document.querySelector('.side-navigation').innerHTML" )
4650 end
4751
52+ version '1.7' do
53+ self . release = '1.7.8'
54+ self . base_url = "https://code.angularjs.org/#{ release } /docs/partials/"
55+ end
56+
4857 version '1.6' do
49- self . release = '1.6.6 '
58+ self . release = '1.6.9 '
5059 self . base_url = "https://code.angularjs.org/#{ release } /docs/partials/"
5160 end
5261
You can’t perform that action at this time.
0 commit comments