MDL-56012 lib: Update of readme and xml file.

Also made edits to use the PSR-4 autoloader.
This commit is contained in:
Adrian Greeve 2016-09-20 15:16:17 +08:00
parent cd198eafd6
commit dd9ee3d837
6 changed files with 14 additions and 21 deletions

View File

@ -24,8 +24,6 @@
namespace dataformat_csv;
require_once("$CFG->libdir/spout/src/Spout/Autoloader/autoload.php");
defined('MOODLE_INTERNAL') || die();
/**

View File

@ -24,8 +24,6 @@
namespace dataformat_excel;
require_once("$CFG->libdir/spout/src/Spout/Autoloader/autoload.php");
defined('MOODLE_INTERNAL') || die();
/**

View File

@ -24,8 +24,6 @@
namespace dataformat_ods;
require_once("$CFG->libdir/spout/src/Spout/Autoloader/autoload.php");
defined('MOODLE_INTERNAL') || die();
/**

View File

@ -77,7 +77,8 @@ class core_component {
'GeoIp2' => 'lib/maxmind/GeoIp2',
'Sabberworm\\CSS' => 'lib/php-css-parser',
'MoodleHQ\\RTLCSS' => 'lib/rtlcss',
'Leafo\\ScssPhp' => 'lib/scssphp'
'Leafo\\ScssPhp' => 'lib/scssphp',
'Box\\Spout' => 'lib/spout/src/Spout'
);
/**

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# Description of import of Horde libraries
#
wget https://codeload.github.com/box/spout/zip/v2.4.3
unzip v2.4.3
rm v2.4.3
rm spout-2.4.3/composer.json
rm -rf src
mv -f spout-2.4.3/* .
rm -r spout-2.4.3/
Description of Spout library import 2.6.0
=========================================
* Download / Clone from https://github.com/box/spout/
* Only include the src/Spout directory.
* Update lib/thirdpartylibs.xml with the latest version.
2016/09/20
----------
Updated to v2.6.0 (MDL-56012)
by Adrian Greeve <adrian@moodle.com>

View File

@ -262,8 +262,9 @@
<library>
<location>spout</location>
<name>Spout</name>
<license>GPL</license>
<version>2.3.0</version>
<license>Apache</license>
<version>2.6.0</version>
<licenseversion>2.0</licenseversion>
</library>
<library>
<location>amd/src/chartjs-lazy.js</location>