From a5f8567aabddd706bc6447a003aef751614d6427 Mon Sep 17 00:00:00 2001 From: Bruno Meilick Date: Tue, 5 Feb 2019 10:37:46 +0100 Subject: [PATCH] removed zip, readme installation Signed-off-by: Bruno Meilick --- .gitignore | 2 -- README.md | 4 ++-- composer.json | 11 +---------- composer.lock | 14 +++++++------- vendor/composer/autoload_classmap.php | 6 +++--- vendor/composer/autoload_psr4.php | 2 +- vendor/composer/autoload_static.php | 10 +++++----- 7 files changed, 19 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index c9b1f03..c4b392c 100755 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ # OS files .DS_Store -kirby3-instagram.zip - # files of Composer dependencies that are not needed for the plugin /vendor/**/.* /vendor/**/*.json diff --git a/README.md b/README.md index 4ce3b7b..ce55048 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ This plugin is free but if you use it in a commercial project please consider to ## Installation -- for devkit-setup use `composer require bnomei/kirby3-instagram` or +- unzip [master.zip](https://github.com/bnomei/kirby3-instagram/archive/master.zip) as folder `site/plugins/kirby3-instagram` or - `git submodule add https://github.com/bnomei/kirby3-instagram.git site/plugins/kirby3-instagram` or -- extract latest release of [kirby3-instagram.zip](https://github.com/bnomei/kirby3-instagram/releases/download/v1.0.1/kirby3-instagram.zip) as folder `site/plugins/kirby3-instagram` +- `composer require bnomei/kirby3-instagram` ## Usage diff --git a/composer.json b/composer.json index 6e2fd68..4f26737 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "bnomei/kirby3-instagram", "type": "kirby-plugin", - "version": "1.0.1", + "version": "1.0.2", "description": "Kirby 3 Plugin to call Instagram API Endpoints", "license": "MIT", "authors": [ @@ -35,14 +35,5 @@ "require": { "php": ">=7.1.0", "getkirby/composer-installer": "^1.1" - }, - "scripts": { - "zip": [ - "touch kirby3-instagram.zip", - "rm kirby3-instagram.zip", - "composer install --no-dev", - "composer dumpautoload -o", - "zip -r kirby3-instagram.zip . -x *.git*" - ] } } diff --git a/composer.lock b/composer.lock index e31acd0..9d05692 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6cd9a45a39ccf92e6364f1d7ec32796d", + "content-hash": "a27423ee89ca82c404b1303b9190d8d6", "packages": [ { "name": "getkirby/composer-installer", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/getkirby/composer-installer.git", - "reference": "8736a4209317d0c2c0fd7796b35cfdde4aae194d" + "reference": "fb23e7ba585ac6e0ffa9a6582bbbadc1be3d57b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getkirby/composer-installer/zipball/8736a4209317d0c2c0fd7796b35cfdde4aae194d", - "reference": "8736a4209317d0c2c0fd7796b35cfdde4aae194d", + "url": "https://api.github.com/repos/getkirby/composer-installer/zipball/fb23e7ba585ac6e0ffa9a6582bbbadc1be3d57b8", + "reference": "fb23e7ba585ac6e0ffa9a6582bbbadc1be3d57b8", "shasum": "" }, "require": { @@ -33,7 +33,7 @@ }, "autoload": { "psr-4": { - "Kirby\\ComposerInstaller\\": "src/" + "Kirby\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -42,7 +42,7 @@ ], "description": "Kirby's custom Composer installer for the Kirby CMS and for Kirby plugins", "homepage": "https://getkirby.com", - "time": "2019-02-04T19:43:22+00:00" + "time": "2019-02-05T08:41:05+00:00" } ], "packages-dev": [], diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 13de46f..7a300d2 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -7,7 +7,7 @@ return array( 'Bnomei\\Instagram' => $baseDir . '/classes/Instagram.php', - 'Kirby\\ComposerInstaller\\CmsInstaller' => $vendorDir . '/getkirby/composer-installer/src/CmsInstaller.php', - 'Kirby\\ComposerInstaller\\Plugin' => $vendorDir . '/getkirby/composer-installer/src/Plugin.php', - 'Kirby\\ComposerInstaller\\PluginInstaller' => $vendorDir . '/getkirby/composer-installer/src/PluginInstaller.php', + 'Kirby\\ComposerInstaller\\CmsInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php', + 'Kirby\\ComposerInstaller\\Plugin' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php', + 'Kirby\\ComposerInstaller\\PluginInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php', ); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 1bcc0e7..27fecb3 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -6,6 +6,6 @@ $baseDir = dirname($vendorDir); return array( - 'Kirby\\ComposerInstaller\\' => array($vendorDir . '/getkirby/composer-installer/src'), + 'Kirby\\' => array($vendorDir . '/getkirby/composer-installer/src'), 'Bnomei\\' => array($baseDir . '/classes'), ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 2416c5e..6fabfc4 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -9,7 +9,7 @@ class ComposerStaticInitdaaa9d91477643e09e6f0e24cfba50bc public static $prefixLengthsPsr4 = array ( 'K' => array ( - 'Kirby\\ComposerInstaller\\' => 24, + 'Kirby\\' => 6, ), 'B' => array ( @@ -18,7 +18,7 @@ class ComposerStaticInitdaaa9d91477643e09e6f0e24cfba50bc ); public static $prefixDirsPsr4 = array ( - 'Kirby\\ComposerInstaller\\' => + 'Kirby\\' => array ( 0 => __DIR__ . '/..' . '/getkirby/composer-installer/src', ), @@ -30,9 +30,9 @@ class ComposerStaticInitdaaa9d91477643e09e6f0e24cfba50bc public static $classMap = array ( 'Bnomei\\Instagram' => __DIR__ . '/../..' . '/classes/Instagram.php', - 'Kirby\\ComposerInstaller\\CmsInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/CmsInstaller.php', - 'Kirby\\ComposerInstaller\\Plugin' => __DIR__ . '/..' . '/getkirby/composer-installer/src/Plugin.php', - 'Kirby\\ComposerInstaller\\PluginInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/PluginInstaller.php', + 'Kirby\\ComposerInstaller\\CmsInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php', + 'Kirby\\ComposerInstaller\\Plugin' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php', + 'Kirby\\ComposerInstaller\\PluginInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php', ); public static function getInitializer(ClassLoader $loader)