{"id":26509762,"url":"https://github.com/readysteady/quarter","last_synced_at":"2026-02-03T21:04:00.282Z","repository":{"id":56889860,"uuid":"259281205","full_name":"readysteady/quarter","owner":"readysteady","description":"Ruby gem for working with standard calendar quarters","archived":false,"fork":false,"pushed_at":"2025-01-02T11:25:46.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T17:04:15.379Z","etag":null,"topics":["date-time","quarter","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/quarter","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/readysteady.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-04-27T10:30:49.000Z","updated_at":"2025-01-02T11:25:39.000Z","dependencies_parsed_at":"2025-01-02T12:22:15.275Z","dependency_job_id":"bc3cce07-b103-42b2-91f7-055d4ce8e8a2","html_url":"https://github.com/readysteady/quarter","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"7d8929708af115cbb04dc2cccb5159b46d27184f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fquarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fquarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fquarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readysteady%2Fquarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/readysteady","download_url":"https://codeload.github.com/readysteady/quarter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722706,"owners_count":20499151,"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-time","quarter","ruby"],"created_at":"2025-03-21T01:36:12.387Z","updated_at":"2026-02-03T21:03:55.259Z","avatar_url":"https://github.com/readysteady.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quarter\n\n![Gem Version](https://badge.fury.io/rb/quarter.svg)\n![Test Status](https://github.com/readysteady/quarter/actions/workflows/test.yml/badge.svg)\n\n\nRuby gem for working with standard calendar quarters.\n\n\n## Install\n\nUsing Bundler:\n\n    $ bundle add quarter\n\nUsing RubyGems:\n\n    $ gem install quarter\n\n\n## Usage\n\n```ruby\nrequire 'quarter'\n\ndate = Date.today\n\nquarter = Quarter(date)\n\np quarter.start_date\np quarter.include?(date)\np quarter.next\np quarter.name\np quarter.to_s\np quarter.iso8601\n```\n\n### Quarter::Methods\n\nInclude the `Quarter::Methods` module for methods which can be used to get the quarter for a given year in a manner that resembles written english. For example:\n\n    include Quarter::Methods\n\n    q1 = Q1 2020\n\n### Quarter::Constants\n\nInclude the `Quarter::Constants` module for constants which can be used to get the quarter for a given year in a manner that resembles written english. For example:\n\n    include Quarter::Constants\n\n    q1 = Q1/2020\n\n    q2 = 2020-Q2\n\n### YAML integration\n\nRequire `quarter/yaml` for YAML integration which supports dumping and loading quarter objects to and from YAML as scalar values. For example:\n\n    require 'quarter/yaml'\n\n    puts YAML.dump([Quarter.now])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fquarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freadysteady%2Fquarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadysteady%2Fquarter/lists"}