{"id":20061631,"url":"https://github.com/tylerrick/quality_extensions","last_synced_at":"2025-05-05T16:30:42.771Z","repository":{"id":433338,"uuid":"54041","full_name":"TylerRick/quality_extensions","owner":"TylerRick","description":"A collection of reusable Ruby methods which are not (yet) in Facets.","archived":false,"fork":false,"pushed_at":"2016-06-14T18:41:45.000Z","size":297,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T16:16:18.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/TylerRick.png","metadata":{"files":{"readme":"Readme.rdoc","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-09-18T19:49:23.000Z","updated_at":"2023-02-02T09:33:30.000Z","dependencies_parsed_at":"2022-07-16T13:30:46.249Z","dependency_job_id":null,"html_url":"https://github.com/TylerRick/quality_extensions","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fquality_extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fquality_extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fquality_extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Fquality_extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/quality_extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252533690,"owners_count":21763640,"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":"2024-11-13T13:21:01.811Z","updated_at":"2025-05-05T16:30:42.438Z","avatar_url":"https://github.com/TylerRick.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Quality Ruby Extensions\n\n[\u003cb\u003eProject site\u003c/b\u003e:]     http://github.com/TylerRick/quality_extensions/tree/master\n[\u003cb\u003eGem install\u003c/b\u003e:]      \u003ctt\u003egem install quality_extensions\u003c/tt\u003e\n[\u003cb\u003eAuthor\u003c/b\u003e:]           Tyler Rick \u003cgithub.com|tylerrick.com\u003e and others\n[\u003cb\u003eLicense\u003c/b\u003e:]          {Ruby License}[link:files/License.html]\n\n== Introduction\n\nQualityExtensions is a library of general-purpose, reusable methods/classes that are compatible with/built-upon Facets but not (yet) included in Facets... including FileTest.binary_file?, String#digits_only, send_if_not_nil, send_if_true, send_unless, Kernel#capture_output, Kernel#backtrace, Symbol#=~, Hash#hash_select, Hash#delete_unless, Array#expand_ranges, assert_changed, assert_contains, and many more.\n\nIt is similar in purpose and layout to {Ruby Facets}[http://facets.rubyforge.org/] but not intended _compete_ with Facets.\n\nDevelopers are encouraged to first check if the method or class they are looking for already exists in one of the fine existing open-source projects (like {Facets}[http://facets.rubyforge.org/] or {Extensions}[http://extensions.rubyforge.org/rdoc/index.html] or {stdlib}[http://www.ruby-doc.org/stdlib/]).\n\nIf the code you are needing hasn't already been written by someone else, then you can throw it in this library. Also submit it to an existing extensions project if you think it's any good.\n\nLike Facets, this library contains:\n* methods that add functionality to existing Ruby classes (String, Array, etc.)\n* as well as new classes that aren't in core Ruby\n\n== Featured methods\n\n* \u003ctt\u003eRegexp#+\u003c/tt\u003e, \u003ctt\u003eRegexp#join\u003c/tt\u003e\n* \u003ctt\u003eguard_method\u003c/tt\u003e/\u003ctt\u003emguard_method\u003c/tt\u003e\n* ...\n\n== Installation\n\n  gem install quality_extensions -y\n\n== Usage\n\n  gem 'quality_extensions'\n\nAnd then \u003cb\u003einclude as much or as little as you want\u003c/b\u003e.\n\nUse the handy \u003ctt\u003eall.rb\u003c/tt\u003e files to load everything in a particular directory (and all subdirectories).\n\nTo load everything:\n\n  require 'quality_extensions/all'\n\nTo load everything just for one class:\n\n  require 'quality_extensions/string/all'\n\nTo load just an individual method:\n\n  require 'quality_extensions/array/average'\n\n\n== Running tests\n\nTests are self-contained within the file for the code that is under test.\n\nTo run the tests directly, you need to use the \u003ctt\u003eexrb\u003c/tt\u003e command that is part of the {Ratchets}[http://ratchets.rubyforge.org/] project.\n\nAt some point in time, we may extract them into separate files using the Exacto test extractor tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fquality_extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Fquality_extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Fquality_extensions/lists"}