Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed May 27, 2019
1 parent f9e33a8 commit b486d43
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 12 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
Version 0.3.0 (2019-05-24)
--------------------------
Fix coverall setup (#79)
Add setPageUrl & setRefr to Subject (#78)
Remove VersionEye from README (#77)
Add License button to README (#45)
Update copyright notices to 2014-2019 (#37)
Fix typo POST_REQ_SCEHMA (#34)
Fix markdown alignment in README (#76)
Flesh out predicates in Mountebank stubs (#66)
Bump PHP version to 7.2 & update dependencies (#74)

Version 0.2.1 (2015-02-09)
--------------------------
Fixed uniqid not generating valid UUID, thanks @mlively! (#39)
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,25 @@ Add analytics into your PHP apps and scripts with the **[Snowplow][1]** event tr

With this tracker you can collect event data from your PHP based applications, games and frameworks.

## Quickstart & Testing
Make sure `docker` & `docker-compose` are installed.

* `git clone git@github.com:snowplow/snowplow-php-tracker.git`
* `cd snowplow-php-tracker`
* `docker-compose run --rm snowplow composer.phar install`
* `docker-compose run --rm snowplow script/tests.sh`

## Find out more

| **[Technical Docs][techdocs]** | **[Setup Guide][setup]** | **[Roadmap][roadmap]** | **[Contributing][contributing]** |
|:------------------------------:|:------------------------:|:----------------------:|:--------------------------------:|
| ![i1][techdocs-image] | ![i2][setup-image] | ![i3][roadmap-image] | ![i4][contributing-image] |

## Run tests

* Clone this repo
* run `cd <project_path>`
* run `docker-compose run --rm snowplow composer.phar install`
* run `docker-compose run --rm snowplow script/tests.sh`

## Copyright and license

The Snowplow PHP Tracker is copyright 2014-2019 Snowplow Analytics Ltd.

Licensed under the **[Apache License, Version 2.0] [license]** (the "License");
Licensed under the **[Apache License, Version 2.0][license]** (the "License");
you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software
Expand All @@ -43,8 +44,8 @@ limitations under the License.

[travis]: https://travis-ci.org/snowplow/snowplow-php-tracker
[travis-image]: https://travis-ci.org/snowplow/snowplow-php-tracker.svg?branch=master
[coveralls]: https://coveralls.io/r/snowplow/snowplow-php-tracker?branch=master
[coveralls-image]: https://coveralls.io/repos/snowplow/snowplow-php-tracker/badge.png?branch=master
[coveralls]: https://coveralls.io/github/snowplow/snowplow-php-tracker?branch=master
[coveralls-image]: https://coveralls.io/repos/github/snowplow/snowplow-php-tracker/badge.svg?branch=master

[packagist-1]: https://packagist.org/packages/snowplow/snowplow-tracker
[packagist-image-1]: https://poser.pugx.org/snowplow/snowplow-tracker/v/stable.png
Expand Down
2 changes: 1 addition & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Constants {
* - SSL: the default for whether or not to use SSL Encryption
* - Type: the default for what type of request the emitter will be making (POST or GET)
*/
const TRACKER_VERSION = "php-0.2.1";
const TRACKER_VERSION = "php-0.3.0";
const DEFAULT_BASE_64 = true;
const DEBUG_LOG_FILES = true;
const CONTEXT_SCHEMA = "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1";
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/ClassInitTests/TrackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testTrackerInit() {
// Asserts
$this->assertEquals($this->s1, $tracker->returnSubject());
$this->assertEquals(false, $tracker->returnEncodeBase64());
$this->assertEquals(array("tv" => "php-0.2.1", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());
$this->assertEquals(array("tv" => "php-0.3.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());
$tracker->turnOffDebug(true);
}

Expand Down

0 comments on commit b486d43

Please sign in to comment.