Fix the last_json test function - works a bit differently with rack test.
Add validation to version and action to query it. This is still
quite preliminary, but is a start.
Always make sure the tmp directory exists - this affected some tests.
Add check for version's validation state before allowing content
to be uploaded.
Changed how uniqueness constraints were being done - the previous way
didn't scope correctly, which some of these tests exposed.
Added protection for deletion of content. Can only happen in certain
version states.
Add some methods to deal with validation status
Refactor
Added verification for bagit.txt and bag-info.txt files.
Added tag_file_encoding field to version (retreived from bagit.txt
and currently limited to encodings that ruby understands).
take encodings into account as needed.
Copy manifest tests over for tag manifest and rename. They
still need to be adapted.
Fixture for testing tag manifests.
Adapted tests for tag manifests.
Added steps for tests.
fix typo
Fixed paths in the test because I had renamed the bag and version.
Add tag manifest and tag manifest file models and related exceptions.
Add generic manifest as base class for tag manifest and manifest,
extracting common functionality.
Fix more problems with the tests.
Add exception handling for bag tag manifest.
Add checksum validation for tag files if there is a tag manifest.
Refactor. Move some functionality into version from server.
Use single quotes
Fix some code inspection issues.
Fix some more code inspection results