@@ -11,68 +11,43 @@ class Ansible < UrlScraper
11
11
12
12
options [ :attribution ] = <<-HTML
13
13
© 2012–2018 Michael DeHaan< br >
14
- © 2018 Red Hat, Inc.< br >
14
+ © 2018–2019 Red Hat, Inc.< br >
15
15
Licensed under the GNU General Public License version 3.
16
16
HTML
17
17
18
+ options [ :skip ] = %w(
19
+ installation_guide/index.html
20
+ reference_appendices/glossary.html
21
+ reference_appendices/faq.html
22
+ reference_appendices/tower.html
23
+ user_guide/quickstart.html
24
+ modules/modules_by_category.html
25
+ modules/list_of_all_modules.html )
26
+
27
+ options [ :skip_patterns ] = [
28
+ /\A community.*/i ,
29
+ /\A dev_guide.*/i ,
30
+ /\A roadmap.*/i ,
31
+ ]
32
+
33
+ version '2.8' do
34
+ self . release = '2.8'
35
+ self . base_url = 'https://docs.ansible.com/ansible/2.7/'
36
+ end
37
+
18
38
version '2.7' do
19
39
self . release = '2.7.1'
20
40
self . base_url = 'https://docs.ansible.com/ansible/2.7/'
21
-
22
- options [ :skip ] = %w(
23
- installation_guide/index.html
24
- reference_appendices/glossary.html
25
- reference_appendices/faq.html
26
- reference_appendices/tower.html
27
- user_guide/quickstart.html
28
- modules/modules_by_category.html
29
- modules/list_of_all_modules.html )
30
-
31
- options [ :skip_patterns ] = [
32
- /\A community.*/i ,
33
- /\A dev_guide.*/i ,
34
- /\A roadmap.*/i ,
35
- ]
36
41
end
37
42
38
43
version '2.6' do
39
44
self . release = '2.6.7'
40
45
self . base_url = 'https://docs.ansible.com/ansible/2.6/'
41
-
42
- options [ :skip ] = %w(
43
- installation_guide/index.html
44
- reference_appendices/glossary.html
45
- reference_appendices/faq.html
46
- reference_appendices/tower.html
47
- user_guide/quickstart.html
48
- modules/modules_by_category.html
49
- modules/list_of_all_modules.html )
50
-
51
- options [ :skip_patterns ] = [
52
- /\A community.*/i ,
53
- /\A dev_guide.*/i ,
54
- /\A roadmap.*/i ,
55
- ]
56
46
end
57
47
58
48
version '2.5' do
59
49
self . release = '2.5.3'
60
50
self . base_url = 'https://docs.ansible.com/ansible/2.5/'
61
-
62
- options [ :skip ] = %w(
63
- installation_guide/index.html
64
- reference_appendices/glossary.html
65
- reference_appendices/faq.html
66
- reference_appendices/tower.html
67
- user_guide/quickstart.html
68
- modules/modules_by_category.html
69
- modules/list_of_all_modules.html )
70
-
71
- options [ :skip_patterns ] = [
72
- /\A community.*/i ,
73
- /\A dev_guide.*/i ,
74
- /\A roadmap.*/i ,
75
- ]
76
51
end
77
52
78
53
version '2.4' do
@@ -86,6 +61,7 @@ class Ansible < UrlScraper
86
61
tower.html
87
62
quickstart.html
88
63
list_of_all_modules.html )
64
+ options [ :skip_patterns ] = [ ]
89
65
end
90
66
91
67
def get_latest_version ( opts )
0 commit comments