Skip to content

Commit

Permalink
maintainer and namespace update: package taken over
Browse files Browse the repository at this point in the history
  • Loading branch information
yalesov committed Jul 5, 2016
1 parent 12949b0 commit 212ca41
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 28 deletions.
8 changes: 4 additions & 4 deletions README.md
@@ -1,6 +1,6 @@
# Heartsentwined\CronExprParser
# Yalesov\CronExprParser

[![Build Status](https://secure.travis-ci.org/heartsentwined/cron-expr-parser.png)](http://travis-ci.org/heartsentwined/cron-expr-parser)
[![Build Status](https://secure.travis-ci.org/yalesov/cron-expr-parser.png)](http://travis-ci.org/yalesov/cron-expr-parser)

Parse cron expressions and match them against time.

Expand All @@ -11,7 +11,7 @@ Parse cron expressions and match them against time.
```json
{
"require": {
"heartsentwined/cron-expr-parser": "1.*"
"yalesov/cron-expr-parser": "1.*"
}
}
```
Expand All @@ -21,7 +21,7 @@ Parse cron expressions and match them against time.
Parse a Cron expression and a time, and determine if the given time falls within the given cron expression.

```php
use Heartsentwined\CronExprParser\Parser;
use Yalesov\CronExprParser\Parser;
$match = Parse::matchTime('next Thursday', '* * * * 4');
$notMatch = Parse::matchTime('next Friday', '* * * * 4');
```
Expand Down
28 changes: 18 additions & 10 deletions composer.json
@@ -1,23 +1,31 @@
{
"name": "heartsentwined/cron-expr-parser",
"name": "yalesov/cron-expr-parser",
"description": "Parse cron expressions and match them against time.",
"license": "GPL-3.0",
"keywords": ["cron"],
"homepage": "https://github.com/heartsentwined/cron-expr-parser",
"authors": [
{
"name": "heartsentwined",
"email": "heartsentwined@cogito-lab.com",
"role": "Developer"
"name": "Yulij Andreevich Lesov",
"email": "yalesov@gmail.com"
}
],
"require": {
"php": ">=5.3.3",
"yalesov/arg-validator": "1.*"
},
"autoload": {
"psr-0": {
"Heartsentwined\\CronExprParser": "src/"
"Yalesov\\CronExprParser": "src/"
}
},
"require": {
"php": ">=5.3.3",
"heartsentwined/arg-validator": "1.*"
"license": "ISC",
"homepage": "https://github.com/yalesov/php-cron-expr-parser",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/yalesov/php-cron-expr-parser"
}
],
"support": {
"issues": "https://github.com/yalesov/php-cron-expr-parser/issues"
}
}
6 changes: 0 additions & 6 deletions src/Heartsentwined/CronExprParser/ExceptionInterface.php

This file was deleted.

@@ -1,7 +1,7 @@
<?php
namespace Heartsentwined\CronExprParser\Exception;
namespace Yalesov\CronExprParser\Exception;

use Heartsentwined\CronExprParser\ExceptionInterface;
use Yalesov\CronExprParser\ExceptionInterface;

class InvalidArgumentException
extends \InvalidArgumentException
Expand Down
6 changes: 6 additions & 0 deletions src/Yalesov/CronExprParser/ExceptionInterface.php
@@ -0,0 +1,6 @@
<?php
namespace Yalesov\CronExprParser;

interface ExceptionInterface
{
}
@@ -1,8 +1,8 @@
<?php
namespace Heartsentwined\CronExprParser;
namespace Yalesov\CronExprParser;

use Heartsentwined\ArgValidator\ArgValidator;
use Heartsentwined\CronExprParser\Exception;
use Yalesov\ArgValidator\ArgValidator;
use Yalesov\CronExprParser\Exception;

class Parser
{
Expand Down
@@ -1,7 +1,7 @@
<?php
namespace Heartsentwined\Test\CronExprParser;
namespace Yalesov\Test\CronExprParser;

use Heartsentwined\CronExprParser\Parser;
use Yalesov\CronExprParser\Parser;

class ParserTest extends \PHPUnit_Framework_TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion test/bootstrap.php
@@ -1,4 +1,4 @@
<?php
error_reporting(-1);
$loader = require_once __DIR__ . '/../vendor/autoload.php';
$loader->add('Heartsentwined\Test', __DIR__);
$loader->add('Yalesov\Test', __DIR__);

0 comments on commit 212ca41

Please sign in to comment.