Permalink
Browse files

init

  • Loading branch information...
0 parents commit acd60c2df07a1c0df7f112bfe0931434d26c5a50 @igorw igorw committed Aug 31, 2012
Showing with 218 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +10 −0 .travis.yml
  3. +19 −0 LICENSE
  4. +34 −0 README.md
  5. +20 −0 composer.json
  6. +109 −0 composer.lock
  7. +25 −0 phpunit.xml.dist
@@ -0,0 +1 @@
+vendor
@@ -0,0 +1,10 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - composer install
+
+script: phpunit --coverage-text
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Igor Wiedler
+
+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.
@@ -0,0 +1,34 @@
+# React/Whois
+
+Whois implementation based on React.
+
+[![Build Status](https://secure.travis-ci.org/react-php/whois.png?branch=master)](http://travis-ci.org/react-php/whois)
+
+## Install
+
+The recommended way to install react/whois is [through composer](http://getcomposer.org).
+
+```JSON
+{
+ "require": {
+ "react/whois": "dev-master"
+ }
+}
+```
+
+## Example
+
+## Tests
+
+To run the test suite, you need PHPUnit.
+
+ $ phpunit
+
+## License
+
+MIT, see LICENSE.
+
+## Resources
+
+* [WHOIS Protocol Specification](http://tools.ietf.org/html/rfc3912)
+* [Whois - Wikipedia](http://en.wikipedia.org/wiki/Whois)
@@ -0,0 +1,20 @@
+{
+ "minimum-stability": "dev",
+ "name": "react/whois",
+ "description": "Whois implementation based on React.",
+ "keywords": ["whois"],
+ "license": "MIT",
+ "require": {
+ "php": ">=5.3.2",
+ "evenement/evenement": "1.0.*",
+ "react/react": "dev-dns"
+ },
+ "_require": {
+ "php": ">=5.3.2",
+ "react/socket": "0.1.*",
+ "react/dns": "0.1.*"
+ },
+ "autoload": {
+ "psr-0": { "React\\Whois": "src" }
+ }
+}
@@ -0,0 +1,109 @@
+{
+ "hash": "5fdeed4b03a496748f68daa24f253f2c",
+ "packages": [
+ {
+ "package": "evenement/evenement",
+ "version": "1.0.x-dev",
+ "source-reference": "v1.0.0",
+ "commit-date": "1338390068"
+ },
+ {
+ "package": "guzzle/common",
+ "version": "v2.8.5"
+ },
+ {
+ "package": "guzzle/http",
+ "version": "v2.8.5"
+ },
+ {
+ "package": "guzzle/parser",
+ "version": "v2.8.5"
+ },
+ {
+ "package": "pimple/pimple",
+ "version": "dev-master",
+ "alias-pretty-version": "1.0.x-dev",
+ "alias-version": "1.0.9999999.9999999-dev"
+ },
+ {
+ "package": "pimple/pimple",
+ "version": "dev-master",
+ "source-reference": "db836b8cfadc0f39dacafa2bf311a1ab603600bb",
+ "commit-date": "1343051648"
+ },
+ {
+ "package": "react/react",
+ "version": "dev-dns",
+ "source-reference": "a295835631d6384e1a6a05154498969d942d5533",
+ "commit-date": "1346380123"
+ },
+ {
+ "package": "silex/silex",
+ "version": "dev-master",
+ "alias-pretty-version": "1.0.x-dev",
+ "alias-version": "1.0.9999999.9999999-dev"
+ },
+ {
+ "package": "silex/silex",
+ "version": "dev-master",
+ "source-reference": "52c6480be194825489f316d30855645dafa7fae4",
+ "commit-date": "1346332220"
+ },
+ {
+ "package": "symfony/event-dispatcher",
+ "version": "dev-master",
+ "alias-pretty-version": "2.1.x-dev",
+ "alias-version": "2.1.9999999.9999999-dev"
+ },
+ {
+ "package": "symfony/event-dispatcher",
+ "version": "dev-master",
+ "source-reference": "v2.1.0-RC2",
+ "commit-date": "1345643321"
+ },
+ {
+ "package": "symfony/http-foundation",
+ "version": "dev-master",
+ "alias-pretty-version": "2.1.x-dev",
+ "alias-version": "2.1.9999999.9999999-dev"
+ },
+ {
+ "package": "symfony/http-foundation",
+ "version": "dev-master",
+ "source-reference": "c61c023d2e9e9ad2edcc9227bd0ec5f79d616e18",
+ "commit-date": "1346312580"
+ },
+ {
+ "package": "symfony/http-kernel",
+ "version": "dev-master",
+ "alias-pretty-version": "2.1.x-dev",
+ "alias-version": "2.1.9999999.9999999-dev"
+ },
+ {
+ "package": "symfony/http-kernel",
+ "version": "dev-master",
+ "source-reference": "aeffdc93a69b65dad2f61c917f73c84b8e387ba4",
+ "commit-date": "1346143430"
+ },
+ {
+ "package": "symfony/routing",
+ "version": "dev-master",
+ "alias-pretty-version": "2.1.x-dev",
+ "alias-version": "2.1.9999999.9999999-dev"
+ },
+ {
+ "package": "symfony/routing",
+ "version": "dev-master",
+ "source-reference": "20633ec11b727ad0916812810751ef89cfff2985",
+ "commit-date": "1346337330"
+ }
+ ],
+ "packages-dev": null,
+ "aliases": [
+
+ ],
+ "minimum-stability": "dev",
+ "stability-flags": {
+ "react/react": 20
+ }
+}
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ stopOnFailure="false"
+ syntaxCheck="false"
+ bootstrap="tests/bootstrap.php"
+>
+ <testsuites>
+ <testsuite name="React/Whois Test Suite">
+ <directory>./tests/React/</directory>
+ </testsuite>
+ </testsuites>
+
+ <filter>
+ <whitelist>
+ <directory>./src/</directory>
+ </whitelist>
+ </filter>
+</phpunit>

0 comments on commit acd60c2

Please sign in to comment.