Skip to content

Commit

Permalink
rename to dog-statsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Bragg committed Feb 10, 2016
1 parent a14bde0 commit 7ec0f40
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

All Notable changes to `graze/statsd-dd` will be documented in this file
All Notable changes to `graze/dog-statsd` will be documented in this file

## [Version] - YYYY-MM-DD

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Contributions are **welcome**!

We accept contributions via Pull Requests on [Github](https://github.com/graze/statsd-dd). We also recommend reading [How to write the perfect Pull Request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request) which has some great tips and advice.
We accept contributions via Pull Requests on [Github](https://github.com/graze/dog-statsd). We also recommend reading [How to write the perfect Pull Request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request) which has some great tips and advice.

## Reporting an Issue

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# graze/statsd-dd
# graze/dog-statsd

[![Latest Version on Packagist](https://img.shields.io/packagist/v/graze/statsd-dd.svg?style=flat-square)](https://packagist.org/packages/graze/statsd-dd)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/graze/dog-statsd.svg?style=flat-square)](https://packagist.org/packages/graze/dog-statsd)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/graze/statsd-dd/master.svg?style=flat-square)](https://travis-ci.org/graze/statsd-dd)
[![Total Downloads](https://img.shields.io/packagist/dt/graze/statsd-dd.svg?style=flat-square)](https://packagist.org/packages/graze/statsd-dd)
[![Build Status](https://img.shields.io/travis/graze/dog-statsd/master.svg?style=flat-square)](https://travis-ci.org/graze/dog-statsd)
[![Total Downloads](https://img.shields.io/packagist/dt/graze/dog-statsd.svg?style=flat-square)](https://packagist.org/packages/graze/dog-statsd)

Client to talk to [DataDogs StatsD Agent](http://docs.datadoghq.com/guides/dogstatsd) Forked from:
[League/StatsD](https://github.com/thephpleague/statsd)
Expand All @@ -13,7 +13,7 @@ Client to talk to [DataDogs StatsD Agent](http://docs.datadoghq.com/guides/dogst
Via Composer

``` bash
$ composer require graze/statsd-dd
$ composer require graze/dog-statsd
```

## Usage
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "graze/statsd-dd",
"name": "graze/dog-statsd",
"description": "DataDog StatsD Client",
"keywords": [
"graze",
"statsd-dd",
"dog-statsd",
"statsd",
"datadog",
"dogstatsd"
],
"homepage": "https://github.com/graze/statsd-dd",
"homepage": "https://github.com/graze/dog-statsd",
"license": "MIT",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function __construct($instance_id = null)
*/
public function __toString()
{
return 'StatsD\Client::[' . $this->instance_id . ']';
return 'DogStatsD\Client::[' . $this->instance_id . ']';
}

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testNewInstance()
{
$client = new Client();
$this->assertTrue($client instanceof Client);
$this->assertRegExp('/^StatsD\\\Client::\[[a-zA-Z0-9]+\]$/', (String) $client);
$this->assertRegExp('/^DogStatsD\\\Client::\[[a-zA-Z0-9]+\]$/', (String) $client);
}


Expand All @@ -21,7 +21,7 @@ public function testStaticInstance()
$this->assertTrue($client1 instanceof Client);
$client2 = Client::instance('instance2');
$client3 = Client::instance('instance1');
$this->assertEquals('StatsD\Client::[instance2]', (String) $client2);
$this->assertEquals('DogStatsD\Client::[instance2]', (String) $client2);
$this->assertFalse((String) $client1 === (String) $client2);
$this->assertTrue((String) $client1 === (String) $client3);
}
Expand Down

0 comments on commit 7ec0f40

Please sign in to comment.