{"id":15602251,"url":"https://github.com/melashu/time_greeting_message","last_synced_at":"2025-04-24T07:23:34.016Z","repository":{"id":163625516,"uuid":"639096809","full_name":"melashu/time_greeting_message","owner":"melashu","description":"This is a simple gem to display a message with the phrase `Good Morning` if it is in the morning, `Good Afternoon` if it is in the afternoon, `Good Evening` if it is in the evening, `Good Night` if it is at night","archived":false,"fork":false,"pushed_at":"2023-05-13T12:47:03.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T08:07:35.075Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melashu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-10T18:50:46.000Z","updated_at":"2023-05-22T08:36:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"59648f8a-ca0a-4f77-8b79-fa8a4c28deb2","html_url":"https://github.com/melashu/time_greeting_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/melashu%2Ftime_greeting_message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Ftime_greeting_message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Ftime_greeting_message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Ftime_greeting_message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melashu","download_url":"https://codeload.github.com/melashu/time_greeting_message/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250581197,"owners_count":21453617,"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":["ruby"],"created_at":"2024-10-03T02:40:47.958Z","updated_at":"2025-04-24T07:23:33.997Z","avatar_url":"https://github.com/melashu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\n# 📗 Table of Contents\n\n- [📗 Table of Contents](#-table-of-contents)\n- [📖 time\\_greeting\\_message ](#-time_greeting_message-)\n  - [Installation ](#installation-)\n    - [Usage](#usage)\n  - [👥 Authors ](#-authors-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n\n# 📖 time_greeting_message \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nThis is a simple gem to display a message with the phrase `Good Morning` if it is in the morning, `Good Afternoon` if it is in the afternoon, `Good Evening` if it is in the evening, `Good Night` if it is at night\n\n## Installation \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\nAdd the following code to you Gemfile \n\n```\ngem 'time_greeting_message'\n```\nor \n\ninstall the gem on your terminal \n\n```\ngem install time_greeting_message\n```\n    \n\n### Usage\n\n`require` the gem in your ruby code.\n\n\n\u003ci\u003eFor example you can do this on your employee.rb file \u003c/i\u003e\n\n```\n\nrequire 'time_greeting_message'\nclass Employee\n\n  def welcome(full_name)\n    \"#{Greeting.new.greeting_message} #{full_name}\"\n  end\n\nend\n\nemployee = Employee.new\nputs employee.welcome(\"Melashu Amare)\n```\n\nThe above code will display either of the message below, based on the curent time.\n\n `Good Morning Melashu Amare`\n\n `Good Afternoon Melashu Amare`\n\n `Good Evening Melashu Amare`\n\n `Good Night Melashu Amare`\n\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n 👤 Melashu Amare\n\n- GitHub: [@melashu](https://github.com/melashu)\n- Twitter: [@meshu102](https://twitter.com/meshu102)\n- LinkedIn: [Melashu Amare](https://www.linkedin.com/in/melashu-amare/)\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page.](https://github.com/melashu/time_greeting_message/issues)\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nGive a star if you like this project!\n  \n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelashu%2Ftime_greeting_message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelashu%2Ftime_greeting_message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelashu%2Ftime_greeting_message/lists"}