white space
move a spec up
Assert YAML with a hash

directly asserting on the textual content is brittle and sensitive to
hash key ordering, and depends on the implementation's indentation
behavior.
renamed exported attributes

Explicit is better than implicit. Consistency FTW.

- from `fingerprint` to `package_fingerprint`
- from `stemcell_sha` to `stemcell_sha1`
idiomatic tempfile
clean up after downloading the exported packages

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
renamed exported attribute from `name` to `package_name`

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Wire CompiledPackagesController into director

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Correct the API endpoint in describe

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
close file after writing yaml

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
top level directory inside the tar

- it makes invocation of tar simpler (previous globbing is flawed)
- this is more conventional tar structure vs zip

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
inject the output directory into exporter

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
change two stubs to expectations

we actually care about those

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
exporter cleans up after making gzipped tar

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
replace deprecated `stub` with `double`

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
RSpec 2.14

Yay!

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
gzipped tar output path is passed into #export

- controller generates a unique name based on time
- the output_dir is removed from the constructor

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>