Commit graph

828 commits

Author SHA1 Message Date
Joshua Sherman
ddf1719862 Reworked the README a bit 2014-01-26 15:52:31 -05:00
Joshua Sherman
7e993d9958 Merge branch 'master' of github.com:joshtronic/pickles 2014-01-26 15:11:18 -05:00
Joshua Sherman
0810302e4f Fixed issue with UTF-8 2-byte characters
Characters were being split up and causing invalid sequences when using
`substr()`. Went ahead and updated to use `mb_strcut()` and forcing the
character encoding to UTF-8. I think the plan down the road will be to set the
internal encoding to UTF-8 but I am not currently sure how that could effect
the rest of the system (perhaps it won't). Closes #39
2014-01-26 15:09:16 -05:00
Joshua Sherman
54875f149d Merge branch 'master' of github.com:joshtronic/pickles 2014-01-25 18:53:51 -05:00
Joshua Sherman
11f4f78d9c Added branch to the travis-ci badge 2014-01-25 18:52:49 -05:00
Joshua Sherman
782bad5c02 Went back to versioneye
Unsure why but Gemnasium kept showing that it was refreshing but never seemed
to load the dependencies even though the file was read in correctly. Will check
in a week, thinking perhaps they don't refresh nearly as frequently as I would
have liked.
2014-01-21 22:05:49 -05:00
Joshua Sherman
70a547cf6c Changed build/log directory 2014-01-21 21:51:59 -05:00
Joshua Sherman
710620e96a Trying all the paths. 2014-01-21 21:40:55 -05:00
Joshua Sherman
946df09750 Debugging coverage report location 2014-01-21 00:20:54 -05:00
Joshua Sherman
5f94652e9c Rehooking up coveralls 2014-01-20 23:58:32 -05:00
Joshua Sherman
4728858880 Added package details to json file 2014-01-20 23:44:51 -05:00
Joshua Sherman
adae3ba468 Moved pickles code to src/ 2014-01-20 23:20:43 -05:00
Joshua Sherman
2c55b25988 Fixing them paths for real. 2014-01-20 22:49:56 -05:00
Joshua Sherman
4e7f442f86 Fixed vendor paths and build path 2014-01-20 22:29:08 -05:00
Joshua Sherman
ec02d03457 Switched to HTTPS instead of SSH
Hoping that clears up the prompt
2014-01-20 22:26:29 -05:00
Joshua Sherman
e2f8464c51 Working towards standard directory names 2014-01-20 22:23:04 -05:00
Joshua Sherman
293f618bef Worked through some bugs, updated dependencies
The vendor directory is now just composer stuff. Planning to rearrange some
files soon but wanted to commit these changes. AYAH is now installed via
composer from a package I am maintaining and I dropped the test helpers as it
is a dev-only requirement (and that's assuming you even want to test).
2014-01-20 22:06:59 -05:00
Joshua Sherman
c9f39e2e18 Updated email address 2014-01-20 15:19:38 -05:00
Joshua Sherman
74a77e2262 Swapped dependency monitoring
Same functionality but now the button's green color matches the other two
buttons. Was kinda bugging me :-/
2014-01-20 15:06:18 -05:00
Joshua Sherman
7c8ae14b75 And then there were none. 2014-01-20 01:25:11 -05:00
Joshua Sherman
54cb6dfe83 Any closer and it would be done
Had to rework the Model class a bit, there's some weirdness happening and I'm
unsure if it's part of the rewrite or always been busted. Won't really know for
sure until I start porting sites over to it I suppose.
2014-01-20 01:06:22 -05:00
Joshua Sherman
db6e169f7b 95% coverage, getting close. 2014-01-19 22:36:30 -05:00
Joshua Sherman
f3d5d12b9f More testing and fixed capitalization fuck up
Seems I went ahead and munged the capitalization for half of the file.
2014-01-19 18:15:13 -05:00
Joshua Sherman
dada837300 Updated mock model to use a public attribute 2014-01-19 14:27:31 -05:00
Joshua Sherman
07d2348dd1 More model testing
Getting close!
2014-01-19 14:25:15 -05:00
Joshua Sherman
4bffc1d80c Dropped error message from expected exception
Travis was dumping the same error code but now the same message. Dropping the
message assertion but still asserting the expected exception code.
2014-01-18 11:47:08 -05:00
Joshua Sherman
72be314073 Finished up security class testing. 2014-01-18 11:43:23 -05:00
Joshua Sherman
30b9616b12 Finished testing the Database class 2014-01-18 10:31:46 -05:00
Joshua Sherman
2ff7a658e7 Testing Database class 2014-01-17 17:22:23 -05:00
Joshua Sherman
8655045097 Dropped database JOINs
Not being used and the logic is pretty damn hacky. I don't believe in JOINs so
I'm unsure if this support will be re-added in the future or if there will
simply be a backed in opinion that JOINs are the devil.
2014-01-17 15:46:57 -05:00
Joshua Sherman
9cc466bcd3 Module testing coverage 100% 2014-01-17 15:30:58 -05:00
Joshua Sherman
76d3c7cdc4 Fixed glitch causing a lack of coverage
The Session class relies on the REQUEST_METHOD being set, else it won't start
up. Added the value and the coverage jumped to 100%
2014-01-17 13:36:08 -05:00
Joshua Sherman
af16edfedd Dropped index hint tests 2014-01-17 13:16:37 -05:00
Joshua Sherman
68365142e7 Dropped index hinting support
Never gets used, ended up being somewhat MySQL specific as PostgreSQL favors
letting the server handle it instead of hinting at it. Write better queries I
suppose?
2014-01-17 13:14:36 -05:00
Joshua Sherman
57a5b0c2c0 More tests. 2014-01-17 01:53:27 -05:00
Joshua Sherman
191ceaa4e9 Updated module path 2014-01-16 21:42:42 -05:00
Joshua Sherman
9dadc1c821 Removed finally keyword, bringing back 5.4 2014-01-16 17:45:42 -05:00
Joshua Sherman
e662b8f2cd Dropped create database, seems it already exists
Unsure why it was documented that way in the travis-ci docs if it already
existed.
2014-01-16 17:29:58 -05:00
Joshua Sherman
51467a60f7 Working on tests for the Model class
Fixed some bugs, got MySQL setup for Travis.
2014-01-16 17:06:31 -05:00
Joshua Sherman
200988eecf Swapped all array() for the shorthand []
Also finished up coverage on the Cache class.
2014-01-15 14:09:54 -05:00
Joshua Sherman
aecdd0981f Finished tests for Config class 2014-01-15 13:46:17 -05:00
Joshua Sherman
f9f179b45d Profiler tests and some rework
Abandoned private constructor and cleaned up the code a bit.
2014-01-15 00:40:34 -05:00
Joshua Sherman
46b77fa1b1 Added sanity check to resolve missing variable
Unsure why but as of this morning (perhaps because of upgrading to PHP 5.5.8
PHPUnit started barking about _SERVER['HTTP_HOST'] not being set.
2014-01-14 11:34:51 -05:00
Joshua Sherman
da7a0de91f Removed process isolation 2014-01-14 02:44:15 -05:00
Joshua Sherman
6257f89b18 Added most of the Cache tests
Dropped some unnecessary try/catch blocks and updated the Database class to
not use any data sources that lack a driver.
2014-01-14 02:19:40 -05:00
Joshua Sherman
7b7fd901c9 Dropped env stuff. 2014-01-13 02:04:02 -05:00
Joshua Sherman
eea368a5d8 Cleaning up, trying to figure out how to detect env
Travis environment, want to be able to issues commands just on HHVM.
2014-01-13 01:58:59 -05:00
Joshua Sherman
25a2493946 Added services 2014-01-13 01:50:54 -05:00
Joshua Sherman
d289d592ff Added new dependencies to the travis config.
Memcache, memcached and redis have to be loaded to be able to test.
2014-01-13 01:44:23 -05:00
Joshua Sherman
f160daabe7 Whoops, duped a class before commiting 2014-01-13 01:41:09 -05:00