{"id":24716760,"url":"https://github.com/baylorrae/date_message","last_synced_at":"2025-03-22T09:21:05.360Z","repository":{"id":20460058,"uuid":"23737350","full_name":"BaylorRae/date_message","owner":"BaylorRae","description":"Returns a message based on when an event took place. Today, yesterday, or on date","archived":false,"fork":false,"pushed_at":"2014-09-06T15:17:24.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T09:14:04.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaylorRae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-06T15:10:45.000Z","updated_at":"2014-09-06T15:12:06.000Z","dependencies_parsed_at":"2022-07-31T20:38:08.389Z","dependency_job_id":null,"html_url":"https://github.com/BaylorRae/date_message","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2Fdate_message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2Fdate_message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2Fdate_message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2Fdate_message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaylorRae","download_url":"https://codeload.github.com/BaylorRae/date_message/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244932953,"owners_count":20534263,"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":[],"created_at":"2025-01-27T09:14:06.825Z","updated_at":"2025-03-22T09:21:05.338Z","avatar_url":"https://github.com/BaylorRae.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DateMessage\n\nReturns a message based on when an event took place. It currently only shows\nmessages for orders.\n\n### Example\n\n```ruby\norder = Order.last\ndate_message = DateMessage.new(order.created_at)\ndate_message.message #=\u003e \"Last order was placed yesterday\"\n\ndate_message = DateMessage.new(order, 1.day.ago)\ndate_message.message #=\u003e \"Last order was placed today\"\n\ndate_message = DateMessage.new(order, 1.day.from_now)\ndate_message.message #=\u003e \"Last order was placed 05/24/2014\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaylorrae%2Fdate_message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaylorrae%2Fdate_message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaylorrae%2Fdate_message/lists"}