Skip to content

Commit

Permalink
ResourceWatcher is now Lurker a seperate library
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbjorn committed May 17, 2013
1 parent 624ad60 commit 9bb4bdd
Show file tree
Hide file tree
Showing 45 changed files with 590 additions and 176 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
vendor
phpunit.xml
composer.json
16 changes: 16 additions & 0 deletions .travis.yml
@@ -0,0 +1,16 @@
language: php

php:
- 5.3
- 5.4
- 5.5

matrix:
allow_failures:
- php: 5.5

before_script:
- "pecl install inotify"
- "mkdir ~/.composer"
- "echo '{\"config\":{\"github-oauth\": {\"github.com\":\"fa354b2f030836334eac842f8fd69a03e353d247\"}}}' > ~/.composer/config.json"
- "composer install --dev --no-progress"
19 changes: 19 additions & 0 deletions LICENSE
@@ -0,0 +1,19 @@
Copyright (c) 2013 Konstantin Kudryashov & Henrik Bjornskov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
@@ -0,0 +1,17 @@
Luker
=====

This is a continuation of Konstantin Kudryashov's ResourceWatcher for Symfony2. It have been moved
from his fork and renamed Lurker to allow a wider adoption.

Still working on rename.

Getting Started
---------------

This should be written

Special Thanks
--------------

* [Konstantin Kudryashov](http://twitter.com/everzet) for the orignal code.
55 changes: 27 additions & 28 deletions composer.json
@@ -1,43 +1,42 @@
{
"name": "symfony/resource-watcher",
"type": "library",
"description": "Symfony ResourceWatcher Component",
"keywords": ["resource", "filesystem", "watching"],
"homepage": "http://symfony.com",
"license": "MIT",
"authors": [
"name" : "henrikbjorn/lurker",
"type" : "library",
"description" : "Resource Watcher.",
"keywords" : ["resource", "filesystem", "watching"],
"license" : "MIT",

"authors" : [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
"name" : "Konstantin Kudryashov",
"email" : "ever.zet@gmail.com"
},
{
"name": "Konstantin Kudryashov",
"email": "ever.zet@gmail.com"
"name" : "Yaroslav Kiliba",
"email" : "om.dattaya@gmail.com"
},
{
"name": "Yaroslav Kiliba",
"email": "om.dattaya@gmail.com"
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
"name" : "Henrik Bjrnskov",
"email" : "henrik@bjrnskov.dk"
}
],
"require": {
"php": ">=5.3.3",
"symfony/config": "self.version",
"symfony/event-dispatcher": "self.version"

"require" : {
"php" : ">=5.3.3",
"symfony/config" : "~2.2",
"symfony/event-dispatcher" : "~2.2"
},
"autoload": {
"psr-0": { "Symfony\\Component\\ResourceWatcher": "" }

"autoload" : {
"psr-0" : { "Lurker": "src" }
},
"suggest": {

"suggest" : {
"ext-inotify": ">=0.1.6"
},
"target-dir": "Symfony/Component/ResourceWatcher",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

"extra" : {
"branch-alias" : {
"dev-master" : "1.0.x"
}
}
}
126 changes: 126 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions phpunit.xml.dist
@@ -0,0 +1,24 @@
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
strict="true"
bootstrap="tests/bootstrap.php">

<testsuites>
<testsuite name="Lurker TestSuite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
</phpunit>
Expand Up @@ -9,13 +9,13 @@
* file that was distributed with this source code.
*/

namespace Symfony\Component\ResourceWatcher\Event;
namespace Lurker\Event;

use Symfony\Component\ResourceWatcher\Resource\TrackedResource;
use Symfony\Component\ResourceWatcher\Exception\InvalidArgumentException;
use Symfony\Component\Config\Resource\ResourceInterface;
use Symfony\Component\Config\Resource\FileResource;
use Symfony\Component\Config\Resource\DirectoryResource;
use Lurker\Resource\TrackedResource;
use Lurker\Exception\InvalidArgumentException;
use Lurker\Resource\ResourceInterface;
use Lurker\Resource\FileResource;
use Lurker\Resource\DirectoryResource;
use Symfony\Component\EventDispatcher\Event;

/**
Expand Down
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Component\ResourceWatcher\Exception;
namespace Lurker\Exception;

/**
* Exception interface for all exceptions thrown by the component.
Expand Down
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Component\ResourceWatcher\Exception;
namespace Lurker\Exception;

use \InvalidArgumentException as BaseInvalidArgumentException;

Expand Down
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Component\ResourceWatcher\Exception;
namespace Lurker\Exception;

use \RuntimeException as BaseRuntimeException;

Expand Down

0 comments on commit 9bb4bdd

Please sign in to comment.