{"id":22808333,"url":"https://github.com/sixarm/sixarm_ruby_date_days","last_synced_at":"2025-03-30T21:15:48.670Z","repository":{"id":15399376,"uuid":"18131290","full_name":"SixArm/sixarm_ruby_date_days","owner":"SixArm","description":"SixArm.com » Ruby »  Date methods for days","archived":false,"fork":false,"pushed_at":"2023-09-15T19:27:55.000Z","size":234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-06T00:25:43.950Z","etag":null,"topics":["date","days","gem","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SixArm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2014-03-26T08:26:56.000Z","updated_at":"2023-05-22T14:10:59.000Z","dependencies_parsed_at":"2022-08-30T14:11:21.323Z","dependency_job_id":null,"html_url":"https://github.com/SixArm/sixarm_ruby_date_days","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/SixArm%2Fsixarm_ruby_date_days","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_date_days/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_date_days/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SixArm%2Fsixarm_ruby_date_days/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SixArm","download_url":"https://codeload.github.com/SixArm/sixarm_ruby_date_days/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379366,"owners_count":20767696,"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":["date","days","gem","ruby"],"created_at":"2024-12-12T11:09:17.186Z","updated_at":"2025-03-30T21:15:48.646Z","avatar_url":"https://github.com/SixArm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SixArm.com → Ruby → \u003cbr\u003e Date methods for days\n\n\u003c!--header-open--\u003e\n\n[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_date_days.svg)](http://badge.fury.io/rb/sixarm_ruby_date_days)\n[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_date_days.png)](https://travis-ci.org/SixArm/sixarm_ruby_date_days)\n[![Code Climate](https://api.codeclimate.com/v1/badges/dbe3183cd4dbd0bb3b00/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_date_days/maintainability)\n\n* Git: \u003chttps://github.com/SixArm/sixarm_ruby_date_days\u003e\n* Doc: \u003chttp://sixarm.com/sixarm_ruby_date_days/doc\u003e\n* Gem: \u003chttps://rubygems.org/gems/sixarm_ruby_date_days\u003e\n* Contact: Joel Parker Henderson, \u003cjoel@sixarm.com\u003e\n* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).\n\n\u003c!--header-shut--\u003e\n\n\n## Introduction\n\nExtend the Ruby Date class with methods for workweek days and weekend days:\n\n    date.workweek? \n    #=\u003e true when the date is Monday through Friday.\n\n    date.weekend? \n    #=\u003e true when the date is Saturday or Sunday.\n\nWe also provide constants:\n\n    Date::WEEKEND_WDAYS #=\u003e [0, 6]\n    Date::WEEKEND_DAYNAMES #=\u003e [\"Sunday\", \"Saturday\"]\n    Date::WEEKEND_ABBR_DAYNAMES #=\u003e [\"Sun\", \"Sat\"]\n\n    Date::WORKWEEK_WDAYS #=\u003e [1, 2, 3, 4, 5]\n    Date::WORKWEEK_DAYNAMES #=\u003e [\"Monday\", \"Tuesday\", ...]\n    Date::WORKWEEK_ABBR_DAYNAMES #=\u003e [\"Mon\", \"Tue\", ...]\n\n    Date::WDAYS #=\u003e [0, 1, 2, 3, 4, 5, 6]\n\nFor docs go to \u003chttp://sixarm.com/sixarm_ruby_date_days/doc\u003e\n\nWant to help? We're happy to get pull requests.\n\n\n\u003c!--install-open--\u003e\n\n## Install\n\n### Gem\n\nTo install this gem in your shell or terminal:\n\n    gem install sixarm_ruby_date_days\n\n### Gemfile\n\nTo add this gem to your Gemfile:\n\n    gem 'sixarm_ruby_date_days'\n\n### Require\n\nTo require the gem in your code:\n\n    require 'sixarm_ruby_date_days'\n\n\u003c!--install-shut--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_date_days","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixarm%2Fsixarm_ruby_date_days","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixarm%2Fsixarm_ruby_date_days/lists"}