Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
feat(module): changed namespace and package name
Browse files Browse the repository at this point in the history
BREAKING CHANGE: module namespace and composer package name have changed
  • Loading branch information
ariddlestone committed Nov 10, 2019
1 parent 92619e8 commit f9b74f8
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 48 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Clockwork Console
# Riddlestone ZF-Console

A [Zend Framework 2](https://github.com/zendframework) module for [Gulp](https://gulpjs.com/) configuration

Expand All @@ -8,12 +8,12 @@ Installation of this module uses composer. For composer documentation, please re
[getcomposer.org](http://getcomposer.org/).

```sh
composer require clockwork/gulp
composer require riddlestone/zf-gulp
```

## Usage

To include your Gulp pipeline in the generated configuration file, create a `Clockwork\Gulp\ProviderInterface`
To include your Gulp pipeline in the generated configuration file, create a `Riddlestone\ZF\Gulp\ProviderInterface`
implementation, and add it to your module's config file:

```php
Expand All @@ -32,7 +32,7 @@ return [
];
```

Have the provider return an array of `Clockwork\Gulp\PipelineInterface` objects.
Have the provider return an array of `Riddlestone\ZF\Gulp\PipelineInterface` objects.

You can then generate `gulpfile.js` using the console command :
```sh
Expand All @@ -41,4 +41,4 @@ vendor/bin/console gulp

## Get Involved

File issues at https://github.com/ariddlestone/clockwork-gulp/issues
File issues at https://github.com/riddlestone/zf-gulp/issues
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
{
"name": "clockwork/gulp",
"name": "riddlestone/zf-gulp",
"description": "A Zend Framework 2 module for Gulp configuration",
"keywords": [
"clockwork",
"gulp",
"zf2"
"zf"
],
"type": "library",
"require": {
"php": "^7.3",
"clockwork/console": "^1.0",
"riddlestone/zf-console": "^1.0",
"container-interop/container-interop": "^1.2",
"symfony/console": "^4.3",
"zendframework/zend-component-installer": "^1.0 || ^0.7",
"zendframework/zend-servicemanager": "^3.4"
},
"autoload": {
"psr-4": {
"Clockwork\\Gulp\\": "src/"
"Riddlestone\\ZF\\Gulp\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "^8.4"
},
"autoload-dev": {
"psr-4": {
"Clockwork\\Gulp\\Test\\": "test/"
"Riddlestone\\ZF\\Gulp\\Test\\": "test/"
}
},
"extra": {
"zf": {
"component": "Clockwork\\Gulp"
"component": "Riddlestone\\ZF\\Gulp"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
"test": "phpunit"
},
"license": "BSD-3-Clause",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion config/module.config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;

return [
'console' => [
Expand Down
4 changes: 2 additions & 2 deletions src/Console/GulpCommand.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Clockwork\Gulp\Console;
namespace Riddlestone\ZF\Gulp\Console;

use Clockwork\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
Expand Down
4 changes: 2 additions & 2 deletions src/Console/GulpCommandFactory.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Clockwork\Gulp\Console;
namespace Riddlestone\ZF\Gulp\Console;

use Clockwork\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Interop\Container\ContainerInterface;
use Interop\Container\Exception\ContainerException;
use Zend\ServiceManager\Exception\ServiceNotCreatedException;
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/MultiplePackageAliasesException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp\Exception;
namespace Riddlestone\ZF\Gulp\Exception;

use Exception;
use Throwable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp\Exception;
namespace Riddlestone\ZF\Gulp\Exception;

use Exception;
use Throwable;
Expand Down
6 changes: 3 additions & 3 deletions src/GulpFileContentGenerator.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;

use Clockwork\Gulp\Exception\MultiplePackageAliasesException;
use Clockwork\Gulp\Exception\PackageAndPackagePropertyImportedException;
use Riddlestone\ZF\Gulp\Exception\MultiplePackageAliasesException;
use Riddlestone\ZF\Gulp\Exception\PackageAndPackagePropertyImportedException;
use Exception;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/GulpFileContentGeneratorFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;

use Interop\Container\ContainerInterface;
use Interop\Container\Exception\ContainerException;
Expand Down
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;


class Module
Expand Down
2 changes: 1 addition & 1 deletion src/PipelineInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;

/**
* Interface PipelineInterface
Expand Down
2 changes: 1 addition & 1 deletion src/PipelineProviderInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Clockwork\Gulp;
namespace Riddlestone\ZF\Gulp;

/**
* Interface PipelineProviderInterface
Expand Down
8 changes: 4 additions & 4 deletions test/Console/GulpCommandFactoryTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Clockwork\Gulp\Test\Console;
namespace Riddlestone\ZF\Gulp\Test\Console;

use Clockwork\Gulp\Console\GulpCommand;
use Clockwork\Gulp\Console\GulpCommandFactory;
use Clockwork\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\Console\GulpCommand;
use Riddlestone\ZF\Gulp\Console\GulpCommandFactory;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Exception;
use Interop\Container\ContainerInterface;
use Interop\Container\Exception\ContainerException;
Expand Down
6 changes: 3 additions & 3 deletions test/Console/GulpCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Clockwork\Gulp\Test\Console;
namespace Riddlestone\ZF\Gulp\Test\Console;

use Clockwork\Gulp\Console\GulpCommand;
use Clockwork\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\Console\GulpCommand;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Exception;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Input\InputInterface;
Expand Down
10 changes: 5 additions & 5 deletions test/GulpFileContentGeneratorFactoryTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Clockwork\Gulp\Test;
namespace Riddlestone\ZF\Gulp\Test;

use Clockwork\Gulp\GulpFileContentGenerator;
use Clockwork\Gulp\GulpFileContentGeneratorFactory;
use Clockwork\Gulp\PipelineInterface;
use Clockwork\Gulp\PipelineProviderInterface;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\GulpFileContentGeneratorFactory;
use Riddlestone\ZF\Gulp\PipelineInterface;
use Riddlestone\ZF\Gulp\PipelineProviderInterface;
use Exception;
use Interop\Container\ContainerInterface;
use Interop\Container\Exception\ContainerException;
Expand Down
10 changes: 5 additions & 5 deletions test/GulpFileContentGeneratorTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Clockwork\Gulp\Test;
namespace Riddlestone\ZF\Gulp\Test;

use Clockwork\Gulp\Exception\MultiplePackageAliasesException;
use Clockwork\Gulp\Exception\PackageAndPackagePropertyImportedException;
use Clockwork\Gulp\GulpFileContentGenerator;
use Clockwork\Gulp\PipelineInterface;
use Riddlestone\ZF\Gulp\Exception\MultiplePackageAliasesException;
use Riddlestone\ZF\Gulp\Exception\PackageAndPackagePropertyImportedException;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\PipelineInterface;
use Exception;
use PHPUnit\Framework\TestCase;

Expand Down
8 changes: 4 additions & 4 deletions test/ModuleTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Clockwork\Gulp\Test;
namespace Riddlestone\ZF\Gulp\Test;

use Clockwork\Gulp\Console\GulpCommand;
use Clockwork\Gulp\GulpFileContentGenerator;
use Clockwork\Gulp\Module;
use Riddlestone\ZF\Gulp\Console\GulpCommand;
use Riddlestone\ZF\Gulp\GulpFileContentGenerator;
use Riddlestone\ZF\Gulp\Module;
use PHPUnit\Framework\TestCase;

class ModuleTest extends TestCase
Expand Down

0 comments on commit f9b74f8

Please sign in to comment.