@@ -11,72 +11,47 @@ class Ansible < UrlScraper
1111
1212 options [ :attribution ] = <<-HTML
1313 © 2012–2018 Michael DeHaan< br >
14- © 2018 Red Hat, Inc.< br >
14+ © 2018–2019 Red Hat, Inc.< br >
1515 Licensed under the GNU General Public License version 3.
1616 HTML
1717
18- version '2.7' do
19- self . release = '2.7.1'
20- self . base_url = 'https://docs.ansible.com/ansible/2.7/'
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 )
2126
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 )
27+ options [ :skip_patterns ] = [
28+ /\A community.*/i ,
29+ /\A dev_guide.*/i ,
30+ /\A roadmap.*/i ,
31+ ]
3032
31- options [ :skip_patterns ] = [
32- /\A community.*/i ,
33- /\A dev_guide.*/i ,
34- /\A roadmap.*/i ,
35- ]
33+ version '2.8' do
34+ self . release = '2.8.3'
35+ self . base_url = 'https://docs.ansible.com/ansible/2.7/'
36+ end
37+
38+ version '2.7' do
39+ self . release = '2.7.12'
40+ self . base_url = 'https://docs.ansible.com/ansible/2.7/'
3641 end
3742
3843 version '2.6' do
39- self . release = '2.6.7 '
44+ self . release = '2.6.18 '
4045 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- ]
5646 end
5747
5848 version '2.5' do
59- self . release = '2.5.3 '
49+ self . release = '2.5.15 '
6050 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- ]
7651 end
7752
7853 version '2.4' do
79- self . release = '2.4.3 '
54+ self . release = '2.4.6 '
8055 self . base_url = 'https://docs.ansible.com/ansible/2.4/'
8156
8257 options [ :skip ] = %w(
@@ -86,6 +61,7 @@ class Ansible < UrlScraper
8661 tower.html
8762 quickstart.html
8863 list_of_all_modules.html )
64+ options [ :skip_patterns ] = [ ]
8965 end
9066
9167 def get_latest_version ( opts )
0 commit comments