From 6688dd7ac06d4a566a62198bebdcbbf4d035c1a1 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 17 Sep 2016 11:20:47 -0400 Subject: [PATCH] Update CakePHP documentation (3.3.3, 3.2.14, 3.1.13, 2.8.8, 2.7.11) --- lib/docs/filters/cakephp/entries.rb | 2 +- lib/docs/scrapers/cakephp.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/docs/filters/cakephp/entries.rb b/lib/docs/filters/cakephp/entries.rb index 3163ef67..8e582a8f 100644 --- a/lib/docs/filters/cakephp/entries.rb +++ b/lib/docs/filters/cakephp/entries.rb @@ -26,7 +26,7 @@ module Docs return 'Global' if slug == 'namespace-None' case page_type when 'class', 'namespace', 'package' - if (node = at_css('.info')) && node.content =~ /Located at\s+((?:\w+\/?)+)/ # for 2.x docs + if (node = at_css('.info')) && node.content =~ /Location:\s+((?:\w+\/?)+)/ # for 2.x docs path = $1.split('/') else path = slug_without_page_type.split('.') diff --git a/lib/docs/scrapers/cakephp.rb b/lib/docs/scrapers/cakephp.rb index 0c39acf1..738dfccb 100644 --- a/lib/docs/scrapers/cakephp.rb +++ b/lib/docs/scrapers/cakephp.rb @@ -23,12 +23,12 @@ module Docs HTML version '3.3' do - self.release = '3.3.1' + self.release = '3.3.3' self.base_url = 'http://api.cakephp.org/3.3/' end version '3.2' do - self.release = '3.2.8' + self.release = '3.2.14' self.base_url = 'http://api.cakephp.org/3.2/' end @@ -38,7 +38,7 @@ module Docs end version '2.8' do - self.release = '2.8.3' + self.release = '2.8.8' self.base_url = 'http://api.cakephp.org/2.8/' end