aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2017-07-08 15:41:14 -0700
committerJeremy Daer <jeremydaer@gmail.com>2017-07-08 17:16:52 -0700
commit6116313da4996ef99dcb45e2b9ac90ef073caabc (patch)
tree985b02ee94c8b11938ae4a73805577f29861a8ca /lib/tasks
parent8f125d5b7970727064895f67887a59c1cedcf273 (diff)
downloadrails-6116313da4996ef99dcb45e2b9ac90ef073caabc.tar.gz
rails-6116313da4996ef99dcb45e2b9ac90ef073caabc.tar.bz2
rails-6116313da4996ef99dcb45e2b9ac90ef073caabc.zip
Mirror: explicit primary service and list of mirrors
Pass separate primary service and list of mirrors rather than treating the first of the services list as the primary. Nice fit for keyword args, and something we've long wanted in the equivalent Basecamp file repository. Upload returns the results of the underlying service uploads rather than the io.rewind result. Rewind before uploading rather than afterward, and demonstrate that behavior with a test. Test that more than one mirror works.
Diffstat (limited to 'lib/tasks')
0 files changed, 0 insertions, 0 deletions