From a37836ac0b41d93a3102c68b28e39b1c6391d921 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 5 Apr 2016 21:08:58 +0100 Subject: [PATCH] Add opdavies/sculpin-gist-embed-bundle --- app/SculpinKernel.php | 1 + composer.json | 3 +- composer.lock | 54 +++++++++++++++++-- ...5-announcing-drupal-vm-config-generator.md | 2 +- 4 files changed, 53 insertions(+), 7 deletions(-) diff --git a/app/SculpinKernel.php b/app/SculpinKernel.php index 7c58c926..7f4f8c29 100644 --- a/app/SculpinKernel.php +++ b/app/SculpinKernel.php @@ -15,6 +15,7 @@ class SculpinKernel extends AbstractKernel return [ 'Tsphethean\Sculpin\Bundle\RelatedPostsBundle\SculpinRelatedPostsBundle', 'Opdavies\Sculpin\Bundle\ContentGeneratorBundle\SculpinContentGeneratorBundle', + 'Opdavies\Sculpin\Bundle\GistEmbedBundle\SculpinGistEmbedBundle', 'AppBundle\AppBundle' ]; } diff --git a/composer.json b/composer.json index f89fb927..615cfcb4 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ "behat/mink": "1.5.*@stable", "behat/mink-extension": "*", "behat/mink-goutte-driver": "*", - "opdavies/sculpin-content-generator-bundle": "@stable" + "opdavies/sculpin-content-generator-bundle": "@stable", + "opdavies/sculpin-gist-embed-bundle": "dev-master" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 032c3655..2b54666e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "2d7470181bed43b55a095120eed34d12", - "content-hash": "4237d09d695ef8f30d1a66bbe5980781", + "hash": "bb25b6081539ba1d29f8fa1d3274e42c", + "content-hash": "4742df7c3ddcb48cbe8c074ac76fc8dc", "packages": [ { "name": "behat/behat", @@ -1498,6 +1498,49 @@ ], "time": "2016-02-14 07:29:36" }, + { + "name": "opdavies/sculpin-gist-embed-bundle", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/opdavies/sculpin-gist-embed-bundle.git", + "reference": "1e7246d52638a7c80ace2272d93d9cffd6fcc3b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opdavies/sculpin-gist-embed-bundle/zipball/1e7246d52638a7c80ace2272d93d9cffd6fcc3b8", + "reference": "1e7246d52638a7c80ace2272d93d9cffd6fcc3b8", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "sculpin/sculpin": "@stable" + }, + "type": "library", + "autoload": { + "psr-4": { + "Opdavies\\Sculpin\\Bundle\\GistEmbedBundle\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Davies", + "email": "oliver@oliverdavies.uk", + "homepage": "https://www.oliverdavies.uk" + } + ], + "description": "Allows for embedding GitHub Gists into a Sculpin site.", + "keywords": [ + "sculpin" + ], + "time": "2016-04-05 19:57:22" + }, { "name": "psr/log", "version": "1.0.0", @@ -1718,7 +1761,7 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sculpin/sculpin/zipball/c4f0814b955af3b96d6bb4499151a4a6b7fb3f62", + "url": "https://api.github.com/repos/sculpin/sculpin/zipball/0a5489a37fb6d498985c23cca5fa42d176be8c99", "reference": "c4f0814", "shasum": "" }, @@ -2097,7 +2140,7 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2", + "url": "https://api.github.com/repos/symfony/config/zipball/a5d5d25c994ed8e55668b2562cb0c0320469f1f4", "reference": "17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2", "shasum": "" }, @@ -3236,7 +3279,8 @@ "sculpin/sculpin": 20, "behat/behat": 0, "behat/mink": 0, - "opdavies/sculpin-content-generator-bundle": 0 + "opdavies/sculpin-content-generator-bundle": 0, + "opdavies/sculpin-gist-embed-bundle": 20 }, "prefer-stable": true, "prefer-lowest": false, diff --git a/source/_posts/2016-02-15-announcing-drupal-vm-config-generator.md b/source/_posts/2016-02-15-announcing-drupal-vm-config-generator.md index 1db119a2..16162976 100644 --- a/source/_posts/2016-02-15-announcing-drupal-vm-config-generator.md +++ b/source/_posts/2016-02-15-announcing-drupal-vm-config-generator.md @@ -43,7 +43,7 @@ Here’s an example of it in action: You can also define options when calling the command and skip any or all questions. Running the following would bypass all of the questions and create a new file with no interaction or additional steps. - +{{ gist('24e569577ca4b72f049d', 'with-options.sh') }} ## Where do I get it?