App-Dochazka-REST
view release on metacpan or search on metacpan
107910801081108210831084108510861087108810891090109110921093109410951096109710981099
call"
0.191 2014-10-20 16:53 CEST
- Hackweek Day 1
- Build.PL: depend on latest version of App::Dochazka
targets
- config/sql/employee_Config.pm:
do
not include
'priv'
and
'schedule'
in
employee objects
- Dispatch/Employee.pm: refactor employee PUT and POST targets
- Model/Employee.pm: add
'overlay'
method
- Resource.pm: instead of having
'priv'
property directly in the current
employee hash, we make a separate
'current_priv'
property
for
it;
push
the HTTP method onto the context hash ASAP (in service_available)
- t/316-dispatch-employee-post.t: add some
"real"
tests involving inserting
and update employee objects
- t/317-dispatch-employee-put.t: fix broken tests
0.192 2014-10-20 22:15 CEST
- dispatch/dispatch_Employee_Config.pm: resources into alphabetical order; add
'employee/current/priv'
resource
115311541155115611571158115911601161116211631164116511661167116811691170117111721173
are assigning the request body to the parameter directly
0.202 2014-10-22 16:47 CEST
- Hackweek Day 3
- lots of refinements to (plus documentation and test cases
for
) employee
resources
- implement DELETE support
for
employee resources
- eliminate problematic
"short-cut"
'employee/:nick'
and
'employee/:eid'
resources
- make it possible to update an employee property to null
- eliminate problematic
'overlay'
method in Model/Employee.pm
- improve debug message in Resource.pm
- add negative and otherwise pathological test cases
0.203 2014-10-22 17:15 CEST
- t/317-dispatch-employee-post.t: got tests running again
0.204 2014-10-23 10:57 CEST
- t/: figure out how to run tests using
'prove -r'
; make a
't/dispatch/'
directory
for
dispatch tests; merge all top-level dispatch tests into a
single file
't/dispatch/top.t'
1609161016111612161316141615161616171618161916201621162216231624162516261627162816290.253 2014-11-07 14:33 CET
- Test.pm: make a new
'req'
routine that to replace the current rag-tag
collection of kludgey routines
for
generating HTTP requests against the
Plack::Test object
- t/dispatch/intervals.t: add
'POST schedule/sid/:sid'
test cases; migrate the
entire unit to the new
'req'
routine
- t/: move model tests into their own subdirectory and comment out
'skip_all'
so they run
- Model/: remove
'expurgate'
method from all model modules (replaced by TO_JSON);
remove
'compare'
method overlay (replaced by compare_disabled)
- t/model/activity.t: adapt tests, remove deprecated tests, add new tests
0.254 2014-11-07 16:19 CET
- t/dispatch/activity.t: migrate to new
'req'
function
0.255 2014-11-07 22:12 CET
- t/dispatch/employee.t: strenuously migrate to the new
'req'
routine
0.256 2014-11-08 20:30 CET
- t/dispatch/priv.t: migrate another unit to
'req'
( run in 0.251 second using v1.01-cache-2.11-cpan-bb97c1e446a )