{"id":21502414,"url":"https://github.com/fixrb/fix-let","last_synced_at":"2025-03-17T13:41:13.816Z","repository":{"id":56846588,"uuid":"47001491","full_name":"fixrb/fix-let","owner":"fixrb","description":"Fix extension gem to define memoized helper methods.","archived":false,"fork":false,"pushed_at":"2024-03-01T16:52:37.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T16:42:38.444Z","etag":null,"topics":["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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fixrb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-27T22:24:01.000Z","updated_at":"2020-01-16T22:28:56.000Z","dependencies_parsed_at":"2022-09-09T01:00:22.562Z","dependency_job_id":null,"html_url":"https://github.com/fixrb/fix-let","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixrb%2Ffix-let","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixrb%2Ffix-let/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixrb%2Ffix-let/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixrb%2Ffix-let/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fixrb","download_url":"https://codeload.github.com/fixrb/fix-let/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244043533,"owners_count":20388600,"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-11-23T18:14:51.211Z","updated_at":"2025-03-17T13:41:13.777Z","avatar_url":"https://github.com/fixrb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fix::Let\n\n[![Build Status](https://api.travis-ci.org/fixrb/fix-let.svg?branch=master)][travis]\n[![Code Climate](https://codeclimate.com/github/fixrb/fix-let/badges/gpa.svg)][codeclimate]\n[![Gem Version](https://badge.fury.io/rb/fix-let.svg)][gem]\n[![Inline docs](https://inch-ci.org/github/fixrb/fix-let.svg?branch=master)][inchpages]\n[![Documentation](https://img.shields.io/:yard-docs-38c800.svg)][rubydoc]\n\n\u003e Provides `let` method for memoized helper definition.\n\n⚠️ This gem is no longer maintained,\nas the `let` method was merged in to [Fix](https://github.com/fixrb/fix)\nsince the version [1.0.0.beta4](https://rubygems.org/gems/fix/versions/1.0.0.beta4).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'fix-let'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install fix-let\n\n## Usage\n\nGiven this code:\n\n```ruby\n# duck_spec.rb\n\nrequire 'fix/let'\n\nclass Duck\n  def swims\n    'So! Swoosh...'\n  end\nend\n\nFix.describe Duck.new do\n  let(:famous_word) { 'So!' }\n\n  on :swims do\n    it { MUST eql \"#{famous_word} Swoosh...\" }\n  end\nend\n```\n\nThe output should look like this:\n\n    $ ruby duck_spec.rb\n    .\n\n    Ran 1 tests in 0.000243 seconds\n    100% compliant - 0 infos, 0 failures, 0 errors\n\n## Contact\n\n* Source code: https://github.com/fixrb/fix-let\n\n## Versioning\n\n__Fix::Let__ follows [Semantic Versioning 2.0](https://semver.org/).\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***\n\n\u003cp\u003e\n  This project is sponsored by:\u003cbr /\u003e\n  \u003ca href=\"https://sashite.com/\"\u003e\u003cimg\n    src=\"https://github.com/fixrb/fix-let/raw/master/img/sashite.png\"\n    alt=\"Sashite\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[gem]: https://rubygems.org/gems/fix-let\n[travis]: https://travis-ci.org/fixrb/fix-let\n[codeclimate]: https://codeclimate.com/github/fixrb/fix-let\n[inchpages]: https://inch-ci.org/github/fixrb/fix-let\n[rubydoc]: https://rubydoc.info/gems/fix-let/frames\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixrb%2Ffix-let","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffixrb%2Ffix-let","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixrb%2Ffix-let/lists"}