{"id":15152740,"url":"https://github.com/mainameiz/zlk","last_synced_at":"2026-01-20T00:34:38.272Z","repository":{"id":56899373,"uuid":"102847599","full_name":"mainameiz/zlk","owner":"mainameiz","description":"Simple locks through Zookeeper for Ruby","archived":false,"fork":false,"pushed_at":"2018-04-27T10:47:17.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T07:50:32.739Z","etag":null,"topics":["lock","locking","locks","ruby","ruby-gem","ruby-library","ruby-on-rails","rubygem","rubygems","rubyonrails","zookeeper"],"latest_commit_sha":null,"homepage":"","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/mainameiz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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}},"created_at":"2017-09-08T10:03:06.000Z","updated_at":"2021-05-15T12:06:02.000Z","dependencies_parsed_at":"2022-08-21T01:50:29.819Z","dependency_job_id":null,"html_url":"https://github.com/mainameiz/zlk","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/mainameiz%2Fzlk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainameiz%2Fzlk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainameiz%2Fzlk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mainameiz%2Fzlk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mainameiz","download_url":"https://codeload.github.com/mainameiz/zlk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247642568,"owners_count":20971922,"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":["lock","locking","locks","ruby","ruby-gem","ruby-library","ruby-on-rails","rubygem","rubygems","rubyonrails","zookeeper"],"created_at":"2024-09-26T16:22:15.693Z","updated_at":"2026-01-20T00:34:38.233Z","avatar_url":"https://github.com/mainameiz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zlk\n\nSimple wrapper over `ZK` gem for Zookeeper locks.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'zlk'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install zlk\n\n## Usage\n\n```ruby\nZlk.config_file = Rails.root.join('config', 'zlk.yml')\nZlk.env = Rails.env\n\nZlk.create_lock('lock/path').run_exclusively { \u003cyour code\u003e }\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. 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/mainameiz/zlk.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainameiz%2Fzlk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainameiz%2Fzlk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainameiz%2Fzlk/lists"}