From 986d6cad045ca0935f77d3d011a28de78cb336f7 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 8 Mar 2014 12:35:06 -0500 Subject: [PATCH] Update PHP documentation (5.5.10) --- lib/docs/filters/php/entries.rb | 5 +++-- lib/docs/scrapers/php.rb | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/lib/docs/filters/php/entries.rb b/lib/docs/filters/php/entries.rb index 436a84e3..39b538fa 100644 --- a/lib/docs/filters/php/entries.rb +++ b/lib/docs/filters/php/entries.rb @@ -12,6 +12,7 @@ module Docs 'Http' => 'HTTP', 'Mutex' => 'pthreads', 'php_user_filter' => 'Stream', + 'Pool' => 'pthreads', 'Reflector' => 'Reflection', 'Soap' => 'SOAP', 'SplFile' => 'SPL/File', @@ -25,8 +26,8 @@ module Docs 'XsltProcessor' => 'XSLT', 'ZipArchive' => 'Zip' } - %w(APC AMQP Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO - Reflection Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str| + %w(APC Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO Reflection + Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str| TYPE_BY_NAME_STARTS_WITH[str] = str end diff --git a/lib/docs/scrapers/php.rb b/lib/docs/scrapers/php.rb index 3f917e2a..5d69e266 100644 --- a/lib/docs/scrapers/php.rb +++ b/lib/docs/scrapers/php.rb @@ -2,7 +2,7 @@ module Docs class Php < FileScraper self.name = 'PHP' self.type = 'php' - self.version = 'up to 5.5.9' + self.version = 'up to 5.5.10' self.base_url = 'http://www.php.net/manual/en/' self.root_path = 'index.html' self.initial_paths = %w( @@ -32,15 +32,15 @@ module Docs /\Areserved\.interfaces/, /\Areserved\.variables/] - BOOKS = %w(amqp apache apc array bc bzip2 calendar classobj ctype curl - datetime dba dir dom eio errorfunc exec fileinfo filesystem filter ftp - funchand gearman geoip gettext gmagick hash http iconv iisfunc image - imagick imap info inotify intl json ldap libevent libxml mail mailparse - math mbstring mcrypt memcached misc mysqli network oauth openssl - outcontrol password pcre pdo pgsql posix pthreads regex runkit reflection - session session-pgsql simplexml soap sockets solr sphinx spl spl-types - sqlite3 sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish - xml xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib) + BOOKS = %w(apache apc array bc bzip2 calendar classobj ctype curl datetime + dba dir dom eio errorfunc exec fileinfo filesystem filter ftp funchand + gearman geoip gettext gmagick hash http iconv iisfunc image imagick imap + info inotify intl json ldap libevent libxml mail mailparse math mbstring + mcrypt memcached misc mysqli network oauth openssl outcontrol password + pcre pdo pgsql posix pthreads regex runkit reflection session + session-pgsql simplexml soap sockets solr sphinx spl spl-types sqlite3 + sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish xml + xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib) options[:only] = BOOKS.map { |s| "book.#{s}.html" }