{"id":22025168,"url":"https://github.com/drexed/lite-ruby","last_synced_at":"2025-05-07T09:34:12.483Z","repository":{"id":35013869,"uuid":"196076763","full_name":"drexed/lite-ruby","owner":"drexed","description":"Collection of useful Ruby  methods for its primitive classes","archived":false,"fork":false,"pushed_at":"2023-03-08T20:12:39.000Z","size":430,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-25T11:29:42.556Z","etag":null,"topics":["extensions","facets","methods","monkey-patching","refinements","ruby"],"latest_commit_sha":null,"homepage":"https://drexed.github.io/lite-ruby","language":"Ruby","has_issues":false,"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/drexed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-07-09T20:12:19.000Z","updated_at":"2022-05-02T09:40:22.000Z","dependencies_parsed_at":"2024-11-30T07:14:53.347Z","dependency_job_id":"1f243d00-36b0-4832-9fc0-93e45a13131f","html_url":"https://github.com/drexed/lite-ruby","commit_stats":{"total_commits":222,"total_committers":2,"mean_commits":111.0,"dds":"0.0045045045045044585","last_synced_commit":"efa922d697d6d64500ee9af642f8c6addd37b3b6"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Flite-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Flite-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Flite-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Flite-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drexed","download_url":"https://codeload.github.com/drexed/lite-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252851597,"owners_count":21814179,"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":["extensions","facets","methods","monkey-patching","refinements","ruby"],"created_at":"2024-11-30T07:14:46.791Z","updated_at":"2025-05-07T09:34:12.454Z","avatar_url":"https://github.com/drexed.png","language":"Ruby","readme":"# Lite::Ruby\n\n[![Gem Version](https://badge.fury.io/rb/lite-ruby.svg)](http://badge.fury.io/rb/lite-ruby)\n[![Build Status](https://travis-ci.org/drexed/lite-ruby.svg?branch=master)](https://travis-ci.org/drexed/lite-ruby)\n\nLite::Ruby is a collection of useful Ruby methods for its primitive classes.\nAcitveSupport equivalent methods do not get included when AcitveSupport is available.\n\n**NOTE:** If you are coming from `ActiveObject`, please read the [port](#port) section.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'lite-ruby'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install lite-ruby\n\n## Table of Contents\n\n* [Configurations](#configurations)\n* [Extensions](#extensions)\n* [3rd-party](#3rd-party)\n* [Port](#port)\n\n## Configurations\n\nAny and all monkey patches must be explicitly included anywhere you want to use it.\n\nTo globally use the monkey patches, just create an initializer requiring them.\n\n`rails g lite:ruby:install` will generate the following file:\n`../config/initalizers/lite_ruby.rb`\n\nThey can be disabled by commenting any of them out.\n\n```ruby\n# frozen_string_literal: true\n\nrequire 'lite/ruby/monkey_patches'\n\n# - or -\n\n# require 'lite/ruby/array'\n# require 'lite/ruby/boolean'\n# require 'lite/ruby/date'\n# require 'lite/ruby/enumerable'\n# require 'lite/ruby/hash'\n# require 'lite/ruby/integer'\n# require 'lite/ruby/kernel'\n# require 'lite/ruby/numeric'\n# require 'lite/ruby/object'\n# require 'lite/ruby/open_struct'\n# require 'lite/ruby/range'\n# require 'lite/ruby/string'\n# require 'lite/ruby/struct'\n# require 'lite/ruby/time'\n```\n\n## Extensions\n\n* [Array](https://github.com/drexed/lite-ruby/blob/master/docs/ARRAY.md)\n* [Boolean](https://github.com/drexed/lite-ruby/blob/master/docs/BOOLEAN.md)\n* [Date](https://github.com/drexed/lite-ruby/blob/master/docs/DATE.md)\n* [Enumerable](https://github.com/drexed/lite-ruby/blob/master/docs/ENUMERABLE.md)\n* [Hash](https://github.com/drexed/lite-ruby/blob/master/docs/HASH.md)\n* [Integer](https://github.com/drexed/lite-ruby/blob/master/docs/INTEGER.md)\n* [Kernel](https://github.com/drexed/lite-ruby/blob/master/docs/KERNEL.md)\n* [Numeric](https://github.com/drexed/lite-ruby/blob/master/docs/NUMERIC.md)\n* [Object](https://github.com/drexed/lite-ruby/blob/master/docs/OBJECT.md)\n* [Open Struct](https://github.com/drexed/lite-ruby/blob/master/docs/OPEN_STRUCT.md)\n* [Range](https://github.com/drexed/lite-ruby/blob/master/docs/RANGE.md)\n* [String](https://github.com/drexed/lite-ruby/blob/master/docs/STRING.md)\n* [Struct](https://github.com/drexed/lite-ruby/blob/master/docs/STRUCT.md)\n* [Time](https://github.com/drexed/lite-ruby/blob/master/docs/TIME.md)\n\n## 3rd-party\n\nThe following are highly recommended 3rd-party extensions to supplement your workflow:\n\n* **Performance:** Escape Utils - https://github.com/brianmario/escape_utils\n* **Performance:** Fast Blank - https://github.com/SamSaffron/fast_blank\n* **Extensions:** Facets - https://github.com/rubyworks/facets\n* **Extensions:** Finishing Moves - https://github.com/forgecrafted/finishing_moves\n\n## Port\n\n`Lite::Ruby` is a compatible port of [ActiveObject](https://github.com/drexed/active_object).\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lite-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Lite::Ruby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/lite-ruby/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrexed%2Flite-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrexed%2Flite-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrexed%2Flite-ruby/lists"}