Get specs running under recent versions of RSpec.
Update specs to reflect that Sequel no longer enables core extensions by default.
Add pgt_touch trigger for touching timestamps in related tables when a table changes.
Make rake spec task run on older versions of RSpec
Fix indentation in specs, and minor fix for spec cleanup
Bump version to 1.0.4, update gemspec
The touch trigger should update the timestamp column when it is currently NULL
Bump version to 1.0.5, update gemspec
Fix counter/sum cache and touch triggers when foreign key column modified, bump version to 1.0.6

The counter/sum cache and touch triggers did not handle cases
where the foreign key was modified previously.  This makes it
handles those cases.

The basic idea is simple.  If the foreign key changes, process
the row as an insert of the new row and a delete of the old row.

While here, DRY up the related code so it is easier to understand.
Handle NULL foreign key values correctly for the counter cache

Add specs for NULL foreign key handling for sum cache and touch
triggers as well, though those appear to handle NULL values
correctly.
Handle cases where inserting or deleting unassociated records in counter cache trigger

This was causing the error "The tuple structure of a not-yet-assigned
record is indeterminate".  While here, restructure things in the
counter and sum cache triggers so that UPDATE statements are not sent
for unassociated records.
Bump version to 1.0.7