aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix attaching with standard Rails associations.Kasper Timm Hansen2017-07-231-2/+2
| | | | | | | Removes needless ivar caching (a Rails association handles that). Inserts a reload and a nil assign, since the association proxy doesn't seem to that it's been destroyed through `purge`.
* Explore regular polymorphic associations rather than record_gidDavid Heinemeier Hansson2017-07-231-0/+8
|
* Use parsed_body to auto parse the response as JSON.Kasper Timm Hansen2017-07-231-8/+8
|
* VerifiedKeyWithExpiration no longer neededDavid Heinemeier Hansson2017-07-233-24/+3
| | | | Thanks to rails/rails#29854! This does mean that we now depend on rails/rails master.
* Switch to simpler signed_id for blob rather than full GlobalIDDavid Heinemeier Hansson2017-07-236-12/+8
| | | | We don't need to lookup multiple different classes, so no need to use a globalid.
* Switch to a single message verifierDavid Heinemeier Hansson2017-07-231-0/+1
| | | | No need for this proliferation
* Even more needless requiresDavid Heinemeier Hansson2017-07-224-6/+0
|
* Nix more needless requiresDavid Heinemeier Hansson2017-07-223-6/+4
|
* Fix extension to run test automaticallyDavid Heinemeier Hansson2017-07-221-0/+0
|
* Move model tests to models directoryDavid Heinemeier Hansson2017-07-224-0/+0
|
* Move models and jobs to the app setupDavid Heinemeier Hansson2017-07-221-0/+2
| | | | Follow engine conventions more closely
* Move all controller tests to controller/ dirdixpac2017-07-222-0/+0
|
* Fix RuboCop offenses and warningsKoichi ITO2017-07-221-3/+3
|
* Test actual transformation via controller tooDavid Heinemeier Hansson2017-07-213-7/+7
|
* Test actual transformationsDavid Heinemeier Hansson2017-07-213-2/+15
|
* Extract test helper for image blob fixturesDavid Heinemeier Hansson2017-07-213-7/+9
|
* Fix and test VariantsControllerDavid Heinemeier Hansson2017-07-212-0/+27
|
* Over-indentedDavid Heinemeier Hansson2017-07-211-2/+2
|
* Precise namingDavid Heinemeier Hansson2017-07-211-1/+1
|
* Extract variation value objectDavid Heinemeier Hansson2017-07-212-7/+13
|
* Hacky way to mount routes for engine controller testsDavid Heinemeier Hansson2017-07-211-0/+11
|
* Make processing an explicit stepDavid Heinemeier Hansson2017-07-201-3/+1
|
* Extract routes.rb to engine location for auto configurationDavid Heinemeier Hansson2017-07-201-11/+0
|
* Use the direct accessorDavid Heinemeier Hansson2017-07-201-3/+1
|
* Merge branch 'master' into variantsDavid Heinemeier Hansson2017-07-2010-35/+104
|\
| * Accept S3 upload options (e.g. server_side_encryption)James Baer2017-07-201-0/+18
| |
| * Use descriptive new freeze_time helperGeorge Claghorn2017-07-193-3/+3
| |
| * Replace hard-coded S3 bucket name with configured bucketJames T. Perreault2017-07-172-2/+2
| |
| * Remove unused requireGeorge Claghorn2017-07-171-1/+0
| |
| * Add direct upload support to GCS serviceMichael Herold2017-07-172-2/+52
| |
| * Fix S3 direct upload testGeorge Claghorn2017-07-161-13/+3
| |
| * Added rubocop / codeclimate config and fixed current offenses (#45)Cristian Bica2017-07-147-14/+13
| |
| * Fix regular expression on s3 test URL generation test (#44)Dino Maric2017-07-131-5/+5
| | | | | | | | | | | | | | So tests are passing if the bucket name is rails-active storage. But developers specify their own s3 tests configuration (in my case was activestorage-test) then this regex fails. Also the first part is dynamic and based on bucket name and region
| * Expose chunked downloadsGeorge Claghorn2017-07-101-0/+13
| |
* | Very incomplete first stabDavid Heinemeier Hansson2017-07-113-0/+19
|/
* Configurator tests: work against test-local configJeremy Daer2017-07-091-3/+3
| | | | | | So tests pass when service configs aren't set up. References #28
* Tests: Dir.mktmpdir neatly wraps up tmpdir + joinJeremy Daer2017-07-093-6/+5
|
* Add basic tests to the Configurator#build (#28)Dino Maric2017-07-091-0/+15
|
* Accept sgids for existing blobs created via direct upload as an attachableDavid Heinemeier Hansson2017-07-091-0/+5
|
* Direct uploads for S3David Heinemeier Hansson2017-07-097-19/+91
|
* Test URL generation for S3 and DiskDavid Heinemeier Hansson2017-07-092-0/+10
|
* Instrument and log the servicesDavid Heinemeier Hansson2017-07-091-0/+1
|
* Example of keyfile specificationDavid Heinemeier Hansson2017-07-091-1/+12
|
* Merge pull request #26 from jeremy/service-configuratorDavid Heinemeier Hansson2017-07-092-4/+3
|\ | | | | Clarify how a service can build other composed services
| * Clarify how a service can build other composed servicesJeremy Daer2017-07-092-4/+3
| | | | | | | | | | | | | | | | | | * Service.build takes the literal YAML config hash for the service and a reference to the Configurator that's doing the building. * Services that compose additional services can use the Configurator to look them up and build them by name. See MirrorService for an example. References #23
* | Match new configurator needsDavid Heinemeier Hansson2017-07-091-0/+2
|/
* Configure services that reference other servicesJeremy Daer2017-07-085-15/+20
| | | | | | | | * Move service configuration from the Engine to Service * Delegate configuration mechanics to internal Service::Configurator * Delegate service building to the concrete Service classes, allowing them to configure composed services. * Implement for the Mirror service.
* Mirror: explicit primary service and list of mirrorsJeremy Daer2017-07-081-5/+13
| | | | | | | | | | | | 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.
* Merge pull request #21 from jeremy/disk-binary-ioDavid Heinemeier Hansson2017-07-091-6/+4
|\ | | | | Disk service: use binary IO throughout, not UTF-8
| * Disk service: use binary IO throughout, not UTF-8Jeremy Daer2017-07-081-6/+4
| |