Commit graph

988 commits

Author SHA1 Message Date
Josh Sherman
e45e1251e1 Added auth test, cleaned up directory 2014-10-04 07:24:57 -04:00
Josh Sherman
a866a1a61b Merge branch 'master' into 2.0 2014-10-03 11:08:50 -04:00
Josh Sherman
2df1a5a162 Updated project name 2014-10-03 11:06:16 -04:00
Josh Sherman
ae98b67683 Cleaned up headers 2014-10-03 10:46:43 -04:00
Josh Sherman
84a785d4c9 Added Basic Auth functionality 2014-10-03 07:30:10 -04:00
Josh Sherman
89fc175701 Updated dependencies 2014-10-03 06:50:55 -04:00
Josh Sherman
e08c9a5ade Tweaked readme a bit 2014-10-03 06:43:44 -04:00
Josh Sherman
75951b90ef Updated dependencies 2014-10-03 06:41:42 -04:00
Josh Sherman
4c55c25f00 Cleared out instances 2014-10-03 06:33:55 -04:00
Josh Sherman
1a589efe12 Added config loading 2014-10-03 06:30:02 -04:00
Josh Sherman
908fff2193 Dropped php -a as it is hanging HHVM 2014-10-03 06:21:21 -04:00
Josh Sherman
823fe0759a Updated to only inject on non-HHVM
Saw someone else's .travis.yml that opted to not put those extension lines into
the INI when running on HHVM. Worth a shot!
2014-10-03 06:17:54 -04:00
Josh Sherman
ab6623d6fb Trying to debug hhvm
Added php -i to see where the php.ini file lives, the one I read about on
Github doesn't allow me to write to it.
2014-10-03 06:10:45 -04:00
Josh Sherman
c61a49f8a7 Fixed version check 2014-10-03 06:03:19 -04:00
Josh Sherman
e5270afed4 Dropped PHP 5.3 2014-10-02 23:40:56 -04:00
Josh Sherman
58e54bcf7b Updated lock file. 2014-10-02 22:56:42 -04:00
Josh Sherman
bbf392f45f Still tweaking towards HHVM 2014-10-02 22:01:59 -04:00
Josh Sherman
c7a6852a3d Working on script. 2014-10-02 21:55:16 -04:00
Josh Sherman
cd05384a6d Made script executable. 2014-10-02 21:49:28 -04:00
Josh Sherman
5b2f483fa5 Added script to set up extension
As per https://github.com/travis-ci/travis-ci/issues/2523 it appears that the
php.ini on hhvm is in a different place. Created a script to write the
extensions to the right php.ini based on the environment.
2014-10-02 21:47:01 -04:00
Josh Sherman
31f4c32fb0 Reworked test to check for PHP version
`password_hash` is PHP 5.5. Instead of adding the sanity check in the code,
I've opted to put it in the test to ditch the overhead of having to make that
check for every request.
2014-10-02 21:34:09 -04:00
Josh Sherman
1b365bcff0 Added root namespace to function
Tests were failing on 5.4 out on travis. Was barking about the function not
existing in the namespace. Hoping this resolves it.
2014-10-02 21:18:36 -04:00
Josh Sherman
5ce36537a6 Renamed bootstrap file 2014-10-02 21:11:23 -04:00
Josh Sherman
b1304a44d0 Merge branch 'master' of github.com:joshtronic/pickles 2014-10-02 21:05:20 -04:00
Josh Sherman
510b5d8edc Added new branches to test 2014-10-02 20:59:27 -04:00
Josh Sherman
d884f5a3df Finished up tests 2014-10-02 20:54:12 -04:00
Josh Sherman
4167d99623 Fixed deleting a file
Not sure when this became an issue, but attempting to delete a file that ends
with / will result in an error on OS X
2014-10-02 18:15:48 -04:00
Josh Sherman
90c4c53294 Fixed up the config again 2014-10-02 17:54:59 -04:00
Josh Sherman
c9ffe4c8bf Fixed config in tests 2014-10-02 17:44:00 -04:00
Josh Sherman
b48b73d064 Dropped SITE_PATH 2014-10-02 17:41:06 -04:00
Josh Sherman
a41ee7c2d2 Fixed config loading 2014-10-02 17:34:25 -04:00
Josh Sherman
df98b99440 Dropped uopz from travis config 2014-10-02 07:28:58 -04:00
Josh Sherman
c8d97aac26 Reworking database tests 2014-10-02 07:28:12 -04:00
Josh Sherman
07ed22c58f Fixed up resource class' tests 2014-10-02 07:02:29 -04:00
Josh Sherman
173136ddce Finished up Profiler and test coverage 2014-10-02 06:42:16 -04:00
Josh Sherman
9e65b2cfc2 Spruced up profiler, need to finish up tests 2014-10-01 22:08:11 -04:00
Josh Sherman
ee8bd63a08 Working on that new profiler
Gotta figure out what's going on with the database portion, it's going all
crazy on me.
2014-10-01 07:41:01 -04:00
Josh Sherman
506ff1fd45 Unit tests for the Object class 2014-09-30 22:24:10 -04:00
Josh Sherman
d4551d72a6 Evidently updated some dependencies 2014-09-30 18:07:49 -04:00
Josh Sherman
88a4375dd5 Wrapped up unit tests on Config class 2014-09-30 15:58:16 -04:00
Josh Sherman
2acd1b976e Updated dependencies 2014-09-30 15:06:53 -04:00
Josh Sherman
394c86d6ab Updated dependencies a bit 2014-09-30 09:49:08 -04:00
Josh Sherman
725d952192 Reworked config class, working on unit tests 2014-09-30 07:21:52 -04:00
Josh Sherman
52c8a730f3 Dropped pickles.ph made some assumptions
Wanted to be 100% reliant on the autoloader so I dropped the manual include of
pickles.php. Also moved some of the PHP ini logic out of here and baked in
some assumptions about environments and settings. Basically anything other than
"production" will set display errors to true, production is false.
2014-09-29 22:07:18 -04:00
Josh Sherman
1c974fc9ad Reworked config to be an arrayobject
Death to the mix of object variable and array. Also cleaned up the profiler
sanity checks as the variable will always be present now. Profiler is now an
all or nothing action.
2014-09-29 21:32:08 -04:00
Josh Sherman
f2d2f79a50 Update README.md 2014-09-29 17:58:38 -04:00
Josh Sherman
f2f1cbc166 Dropped validate test
All tests were moved to the RouterTest class
2014-09-28 21:51:06 -04:00
Josh Sherman
f62d12f35b Dropped dupe test 2014-09-28 21:50:28 -04:00
Josh Sherman
aea1bae3bf Working on tests for Resource 2014-09-28 21:49:49 -04:00
Josh Sherman
6c173cdc89 Working on tests for the Resource class.
Got a bunch more validation rules to port over.
2014-09-28 09:47:54 -04:00