{"id":15284340,"url":"https://github.com/futhr/spree-last-address","last_synced_at":"2025-05-12T21:54:40.899Z","repository":{"id":9592044,"uuid":"11510944","full_name":"futhr/spree-last-address","owner":"futhr","description":"Relieves user of retyping address on return order in Spree Commerce","archived":false,"fork":false,"pushed_at":"2019-05-01T08:26:25.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"2-2-stable","last_synced_at":"2025-05-05T04:37:19.219Z","etag":null,"topics":["address","checkout","e-ecommerce","rspec","ruby","spree"],"latest_commit_sha":null,"homepage":"http://spreecommerce.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/futhr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-18T18:50:30.000Z","updated_at":"2018-10-02T14:19:09.000Z","dependencies_parsed_at":"2022-09-07T12:11:40.450Z","dependency_job_id":null,"html_url":"https://github.com/futhr/spree-last-address","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futhr%2Fspree-last-address","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futhr%2Fspree-last-address/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futhr%2Fspree-last-address/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futhr%2Fspree-last-address/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/futhr","download_url":"https://codeload.github.com/futhr/spree-last-address/tar.gz/refs/heads/2-2-stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253830862,"owners_count":21971000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address","checkout","e-ecommerce","rspec","ruby","spree"],"created_at":"2024-09-30T14:53:37.986Z","updated_at":"2025-05-12T21:54:40.874Z","avatar_url":"https://github.com/futhr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spree Last Address\n\n[![Build Status](https://travis-ci.org/futhr/spree-last-address.svg?branch=2-2-stable)](https://travis-ci.org/futhr/spree-last-address)\n[![Code Climate](https://codeclimate.com/github/futhr/spree-last-address/badges/gpa.svg)](https://codeclimate.com/github/futhr/spree-last-address)\n[![Coverage Status](https://img.shields.io/coveralls/futhr/spree-last-address.svg)](https://coveralls.io/r/futhr/spree-last-address?branch=2-2-stable)\n[![Gem Version](https://badge.fury.io/rb/spree-last-address.svg)](http://badge.fury.io/rb/spree-last-address)\n\nDuring checkout, causes the address to be prefilled with the address from their most recent order or the user’s saved address (if available).\n\nThis relieves the customer of having to type in his address again on a second order. (The unnecessary typing make them more likely to bounce instead of completing the order.)\n\nIf your app allows a user to set and edit their \"preferred\" or \"default\" address (as reflected by `user.bill_address`/`user.ship_address`), and the user has set a preferred address for their account, that address will take priority and be used instead of the address from their most recent order. (Similar to [spree-default-addresses][1].)\n\nAs of Spree 1.2, the `belongs_to :bill_address` and `belongs_to :ship_address` associations are provided for the `Spree::User` model by the [spree_auth_devise][2] gem. If those associations are not available or if the user doesn't have a saved address (which will be the case unless you've provided a way in your app to set an address), then it will just use the address from user's most recent order.\n\n---\n\n## Installing\n\nAdd to your `Gemfile`\n```ruby\ngem 'spree-last-address', '~\u003e 2.2.1'\n```\n\nRun\n\n    bundle install\n\n---\n\n## Contributing\n\nSee corresponding [contribution guidelines][3].\n\n---\n\n## License\n\nCopyright (c) 2010-2015 [Tobias Bohwalli][4], [Torsten Rüger][5], and other [contributors][6], released under the [New BSD License][7]\n\n[1]: https://github.com/swistak/spree-default-addresses\n[2]: https://github.com/spree/spree_auth_devise\n[3]: https://github.com/futhr/spree-last-address/blob/2-2-stable/CONTRIBUTING.md\n[4]: https://github.com/futhr\n[5]: https://github.com/dancinglightning\n[6]: https://github.com/futhr/spree-last-address/graphs/contributors\n[7]: https://github.com/futhr/spree-last-address/blob/2-2-stable/LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuthr%2Fspree-last-address","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuthr%2Fspree-last-address","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuthr%2Fspree-last-address/lists"}