Plugin Directory

Changeset 2068105


Ignore:
Timestamp:
04/12/2019 10:11:00 PM (7 years ago)
Author:
bdolor
Message:

compaitibility with pb 5.7

Location:
pressbooks-openstax-import/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • pressbooks-openstax-import/trunk/composer.json

    r2005388 r2068105  
    33  "description": "Imports OpenStax zip files into Pressbooks",
    44  "type": "wordpress-plugin",
    5   "version": "1.3.2",
     5  "version": "1.3.3",
    66  "homepage": "https://github.com/bccampus/pressbooks-openstax-import",
    77  "license": "GPL-3.0+",
    88  "authors": [
    99    {
    10       "name": "Brad Payne",
    11       "homepage": "https://github.com/bdolor"
    12     },
    13     {
    14       "name": "aparedes",
    15       "homepage": "https://github.com/alexpflores"
     10      "name": "BCcampus",
     11      "email": "code@bccampus.ca",
     12      "homepage": "https://github.com/BCcampus"
    1613    }
    1714  ],
     
    3330  "scripts": {
    3431    "test": [
    35       "vendor/bin/phpunit --configuration phpunit.xml",
     32      "vendor/bin/phpunit --configuration=phpunit.xml",
    3633      "@standards"
    3734    ],
    3835    "standards": [
    3936      "vendor/bin/phpcs --standard=phpcs.ruleset.xml ."
     37    ],
     38    "standards-beautify": [
     39      "vendor/bin/phpcbf --standard=phpcs.ruleset.xml ."
    4040    ]
    4141  }
  • pressbooks-openstax-import/trunk/composer.lock

    r2005388 r2068105  
    22    "_readme": [
    33        "This file locks the dependencies of your project to a known state",
    4         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
     4        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "4a12c1797565352bc6f4a74cb95f14ab",
     7    "content-hash": "35b012159be6eb11a27cac92f19329cb",
    88    "packages": [
    99        {
     
    131131        {
    132132            "name": "doctrine/instantiator",
    133             "version": "1.1.0",
     133            "version": "1.2.0",
    134134            "source": {
    135135                "type": "git",
    136136                "url": "https://github.com/doctrine/instantiator.git",
    137                 "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
    138             },
    139             "dist": {
    140                 "type": "zip",
    141                 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
    142                 "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
     137                "reference": "a2c590166b2133a4633738648b6b064edae0814a"
     138            },
     139            "dist": {
     140                "type": "zip",
     141                "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a",
     142                "reference": "a2c590166b2133a4633738648b6b064edae0814a",
    143143                "shasum": ""
    144144            },
     
    147147            },
    148148            "require-dev": {
    149                 "athletic/athletic": "~0.1.8",
     149                "doctrine/coding-standard": "^6.0",
    150150                "ext-pdo": "*",
    151151                "ext-phar": "*",
    152                 "phpunit/phpunit": "^6.2.3",
    153                 "squizlabs/php_codesniffer": "^3.0.2"
     152                "phpbench/phpbench": "^0.13",
     153                "phpstan/phpstan-phpunit": "^0.11",
     154                "phpstan/phpstan-shim": "^0.11",
     155                "phpunit/phpunit": "^7.0"
    154156            },
    155157            "type": "library",
     
    176178            ],
    177179            "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
    178             "homepage": "https://github.com/doctrine/instantiator",
     180            "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
    179181            "keywords": [
    180182                "constructor",
    181183                "instantiate"
    182184            ],
    183             "time": "2017-07-22T11:58:36+00:00"
     185            "time": "2019-03-17T17:37:11+00:00"
    184186        },
    185187        {
     
    261263        {
    262264            "name": "myclabs/deep-copy",
    263             "version": "1.8.1",
     265            "version": "1.9.1",
    264266            "source": {
    265267                "type": "git",
    266268                "url": "https://github.com/myclabs/DeepCopy.git",
    267                 "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
    268             },
    269             "dist": {
    270                 "type": "zip",
    271                 "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
    272                 "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
     269                "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72"
     270            },
     271            "dist": {
     272                "type": "zip",
     273                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
     274                "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
    273275                "shasum": ""
    274276            },
     
    305307                "object graph"
    306308            ],
    307             "time": "2018-06-11T23:09:50+00:00"
     309            "time": "2019-04-07T13:18:21+00:00"
    308310        },
    309311        {
     
    910912                "xunit"
    911913            ],
     914            "abandoned": true,
    912915            "time": "2017-06-30T09:13:00+00:00"
    913916        },
     
    14271430        {
    14281431            "name": "squizlabs/php_codesniffer",
    1429             "version": "3.4.0",
     1432            "version": "3.4.2",
    14301433            "source": {
    14311434                "type": "git",
    14321435                "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    1433                 "reference": "379deb987e26c7cd103a7b387aea178baec96e48"
    1434             },
    1435             "dist": {
    1436                 "type": "zip",
    1437                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/379deb987e26c7cd103a7b387aea178baec96e48",
    1438                 "reference": "379deb987e26c7cd103a7b387aea178baec96e48",
     1436                "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8"
     1437            },
     1438            "dist": {
     1439                "type": "zip",
     1440                "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
     1441                "reference": "b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8",
    14391442                "shasum": ""
    14401443            },
     
    14691472            ],
    14701473            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
    1471             "homepage": "http://www.squizlabs.com/php-codesniffer",
     1474            "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
    14721475            "keywords": [
    14731476                "phpcs",
    14741477                "standards"
    14751478            ],
    1476             "time": "2018-12-19T23:57:18+00:00"
     1479            "time": "2019-04-10T23:49:02+00:00"
    14771480        },
    14781481        {
    14791482            "name": "symfony/polyfill-ctype",
    1480             "version": "v1.10.0",
     1483            "version": "v1.11.0",
    14811484            "source": {
    14821485                "type": "git",
    14831486                "url": "https://github.com/symfony/polyfill-ctype.git",
    1484                 "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
    1485             },
    1486             "dist": {
    1487                 "type": "zip",
    1488                 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
    1489                 "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
     1487                "reference": "82ebae02209c21113908c229e9883c419720738a"
     1488            },
     1489            "dist": {
     1490                "type": "zip",
     1491                "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a",
     1492                "reference": "82ebae02209c21113908c229e9883c419720738a",
    14901493                "shasum": ""
    14911494            },
     
    14991502            "extra": {
    15001503                "branch-alias": {
    1501                     "dev-master": "1.9-dev"
     1504                    "dev-master": "1.11-dev"
    15021505                }
    15031506            },
     
    15211524                {
    15221525                    "name": "Gert de Pagter",
    1523                     "email": "BackEndTea@gmail.com"
     1526                    "email": "backendtea@gmail.com"
    15241527                }
    15251528            ],
     
    15321535                "portable"
    15331536            ],
    1534             "time": "2018-08-06T14:22:27+00:00"
     1537            "time": "2019-02-06T07:57:58+00:00"
    15351538        },
    15361539        {
    15371540            "name": "symfony/yaml",
    1538             "version": "v3.4.20",
     1541            "version": "v3.4.24",
    15391542            "source": {
    15401543                "type": "git",
    15411544                "url": "https://github.com/symfony/yaml.git",
    1542                 "reference": "291e13d808bec481eab83f301f7bff3e699ef603"
    1543             },
    1544             "dist": {
    1545                 "type": "zip",
    1546                 "url": "https://api.github.com/repos/symfony/yaml/zipball/291e13d808bec481eab83f301f7bff3e699ef603",
    1547                 "reference": "291e13d808bec481eab83f301f7bff3e699ef603",
     1545                "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996"
     1546            },
     1547            "dist": {
     1548                "type": "zip",
     1549                "url": "https://api.github.com/repos/symfony/yaml/zipball/212a27b731e5bfb735679d1ffaac82bd6a1dc996",
     1550                "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996",
    15481551                "shasum": ""
    15491552            },
     
    15911594            "description": "Symfony Yaml Component",
    15921595            "homepage": "https://symfony.com",
    1593             "time": "2018-11-11T19:48:54+00:00"
     1596            "time": "2019-03-25T07:48:46+00:00"
    15941597        },
    15951598        {
    15961599            "name": "webmozart/assert",
    1597             "version": "1.3.0",
     1600            "version": "1.4.0",
    15981601            "source": {
    15991602                "type": "git",
    16001603                "url": "https://github.com/webmozart/assert.git",
    1601                 "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
    1602             },
    1603             "dist": {
    1604                 "type": "zip",
    1605                 "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
    1606                 "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
    1607                 "shasum": ""
    1608             },
    1609             "require": {
    1610                 "php": "^5.3.3 || ^7.0"
     1604                "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
     1605            },
     1606            "dist": {
     1607                "type": "zip",
     1608                "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
     1609                "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
     1610                "shasum": ""
     1611            },
     1612            "require": {
     1613                "php": "^5.3.3 || ^7.0",
     1614                "symfony/polyfill-ctype": "^1.8"
    16111615            },
    16121616            "require-dev": {
     
    16411645                "validate"
    16421646            ],
    1643             "time": "2018-01-29T19:49:41+00:00"
     1647            "time": "2018-12-25T11:19:39+00:00"
    16441648        },
    16451649        {
  • pressbooks-openstax-import/trunk/pressbooks-openstax-import.php

    r2005388 r2068105  
    33 * Plugin Name:     Openstax Import for Pressbooks
    44 * Description:     OpenStax Textbook Import. Enables the importing of 'Offline ZIP' files from the cnx.org domain
    5  * Author:          Brad Payne
    6  * Author URI:      https://github.com/bdolor
     5 * Author:          BCcampus
     6 * Author URI:      https://github.com/BCcampus
    77 * Text Domain:     pressbooks-openstax-import
    88 * Domain Path:     /languages
    9  * Version:         1.3.2
     9 * Version:         1.3.3
    1010 * License:         GPL-3.0+
    1111 * License URI:     http://www.gnu.org/licenses/gpl-3.0.txt
    1212 * Tags: pressbooks, OER, publishing, import, cnx, openstax
    13  * Pressbooks tested up to: 5.6.3
     13 * Pressbooks tested up to: 5.7.0
    1414 * Project Sponsor: BCcampus
    1515 *
     
    6868|
    6969*/
    70 require __DIR__ . '/autoloader.php';
     70
     71if ( function_exists( '\HM\Autoloader\register_class_path' ) ) {
     72    \HM\Autoloader\register_class_path( 'BCcampus', __DIR__ . '/inc' );
     73} else {
     74    require_once( __DIR__ . '/autoloader.php' );
     75}
    7176
    7277$composer = __DIR__ . '/vendor/autoload.php';
  • pressbooks-openstax-import/trunk/readme.txt

    r2005388 r2068105  
    11=== Openstax Import for Pressbooks ===
    2 Contributors: bdolor, aparedes
     2Contributors: BCcampus
    33Tags: pressbooks, openstax, textbook, import
    4 Requires at least: 4.9.8
    5 Tested up to: 5.0.2
    6 Stable tag: 1.3.2
     4Requires at least: 5.1.1
     5Tested up to: 5.1.1
     6Stable tag: 1.3.3
    77Requires PHP: 7.1
    88License: GPLv3 or later
     
    4949
    5050See: https://github.com/BCcampus/pressbooks-openstax-import/commits/dev for more detail
     51
     52= 1.3.3 2019/04/12 =
     53* compatibility with PB 5.7.0
    5154
    5255= 1.3.2 2018/11/20 =
  • pressbooks-openstax-import/trunk/vendor/autoload.php

    r1957787 r2068105  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit2c05276af31930c55d6027db6fd93cd0::getLoader();
     7return ComposerAutoloaderInit4127eefe4adf2da72032543392c27e31::getLoader();
  • pressbooks-openstax-import/trunk/vendor/composer/autoload_real.php

    r1957787 r2068105  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit2c05276af31930c55d6027db6fd93cd0
     5class ComposerAutoloaderInit4127eefe4adf2da72032543392c27e31
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit2c05276af31930c55d6027db6fd93cd0', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit4127eefe4adf2da72032543392c27e31', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit2c05276af31930c55d6027db6fd93cd0', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit4127eefe4adf2da72032543392c27e31', 'loadClassLoader'));
    2525
    2626        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2828            require_once __DIR__ . '/autoload_static.php';
    2929
    30             call_user_func(\Composer\Autoload\ComposerStaticInit2c05276af31930c55d6027db6fd93cd0::getInitializer($loader));
     30            call_user_func(\Composer\Autoload\ComposerStaticInit4127eefe4adf2da72032543392c27e31::getInitializer($loader));
    3131        } else {
    3232            $map = require __DIR__ . '/autoload_namespaces.php';
  • pressbooks-openstax-import/trunk/vendor/composer/autoload_static.php

    r1957787 r2068105  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit2c05276af31930c55d6027db6fd93cd0
     7class ComposerStaticInit4127eefe4adf2da72032543392c27e31
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    117117    {
    118118        return \Closure::bind(function () use ($loader) {
    119             $loader->prefixLengthsPsr4 = ComposerStaticInit2c05276af31930c55d6027db6fd93cd0::$prefixLengthsPsr4;
    120             $loader->prefixDirsPsr4 = ComposerStaticInit2c05276af31930c55d6027db6fd93cd0::$prefixDirsPsr4;
    121             $loader->classMap = ComposerStaticInit2c05276af31930c55d6027db6fd93cd0::$classMap;
     119            $loader->prefixLengthsPsr4 = ComposerStaticInit4127eefe4adf2da72032543392c27e31::$prefixLengthsPsr4;
     120            $loader->prefixDirsPsr4 = ComposerStaticInit4127eefe4adf2da72032543392c27e31::$prefixDirsPsr4;
     121            $loader->classMap = ComposerStaticInit4127eefe4adf2da72032543392c27e31::$classMap;
    122122
    123123        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.