1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Jeremy Daer
6116313da4 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.
2017-07-08 17:16:52 -07:00
David Heinemeier Hansson
cd4c2a4d8e Helper methods are private 2017-07-06 16:01:18 +02:00
George Claghorn
7341d91009 Flesh out mirror tests 2017-07-06 07:53:26 -04:00
David Heinemeier Hansson
35d5bddabc Rename from Site to Service now that we're called Active Storage 2017-07-06 12:22:44 +02:00