blanchonvincent/CdnLight — pull request #3 by PurpleBooth (2013-09-09 22:55:17+00:00)
Title: More url options tidy

Added some new functionality - Outlined below.

```php
return array(
'cdn_light' => array(
'HeadLink' => true,
'HeadScript' => true,
'LinkCdn' => false, // Bypass the CDN for this helper

'global' => array( // Set some values across all servers
'assetMTimePath' => '/tmp/path/to/file' // Append the mtime of this file in your query string
),
'servers' => array(
'static_1' => array(
'scheme' => 'http',
'host' => 'server1.example.com',
'port' => 80
),
'static_2' => array(
'scheme' => '', // Generate scheme less URIs
'host' => 'server2.example.com',
'port' => 81,
),
'static_3' => array(
'passthru' => true, // Do nothing to the urls
),
),
),
);
```

Added phpspec tests as the phpunit tests were broken.
Bumped the version number as the enabled/disabled switch is now gone, and the internal logic was completely rewritten (for the most part).