Skip to content

Commit

Permalink
added full paths for referencing later
Browse files Browse the repository at this point in the history
  • Loading branch information
tthomas48 committed Jun 15, 2015
1 parent 4eff072 commit 2fbfdef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HTML/Template/Nest/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,6 @@ public function addFileDependency($path)
$stat = stat($path);
$lastModified = $stat[9];

$this->dependencies[$path] = $lastModified;
$this->dependencies[realpath($path)] = $lastModified;
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "buyplaytix/nest",
"version": "1.6.2",
"version": "1.6.3",
"require": {
"oyatel/minify": "dev-master",
"natxet/CssMin": "dev-master",
Expand Down
1 change: 0 additions & 1 deletion test/ResourceTaglibTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public function testMinify()
$this->assertRegExp('/<link rel="stylesheet" href="res\/css.min.\d+.css" \/>\s+<script type="text\/javascript" src="res\/js.min.\d+.js">\s+<\/script>/ms', $rendered);
$jsFile = preg_replace('/.*src="(res\/js.min.\d+.js)".*/ms', '$1', $rendered);
$cssFile = preg_replace('/.*href="(res\/css.min.\d+.css)".*/ms', '$1', $rendered);
print $cssFile . "\n";

$this->assertEquals(file_get_contents(dirname(__FILE__) . "/viewoutput/css.min.css"), file_get_contents(dirname(__FILE__) . "/" . $cssFile));
$this->assertEquals(file_get_contents(dirname(__FILE__) . "/viewoutput/js.min.js"), file_get_contents(dirname(__FILE__) . "/" . $jsFile));
Expand Down

0 comments on commit 2fbfdef

Please sign in to comment.