{"id":21202499,"url":"https://github.com/infrablocks/ruby_git_crypt","last_synced_at":"2026-03-12T09:26:57.533Z","repository":{"id":80678902,"uuid":"586343809","full_name":"infrablocks/ruby_git_crypt","owner":"infrablocks","description":"A simple Ruby wrapper for invoking git-crypt commands.","archived":false,"fork":false,"pushed_at":"2025-05-06T02:21:36.000Z","size":278,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-07T20:45:08.717Z","etag":null,"topics":[],"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/infrablocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2023-01-07T19:51:12.000Z","updated_at":"2025-05-06T02:21:34.000Z","dependencies_parsed_at":"2023-11-06T03:33:21.649Z","dependency_job_id":"bb1ff336-3740-4635-ae89-12572544c2bd","html_url":"https://github.com/infrablocks/ruby_git_crypt","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_git_crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_git_crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_git_crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_git_crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infrablocks","download_url":"https://codeload.github.com/infrablocks/ruby_git_crypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954143,"owners_count":21830895,"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-20T20:16:14.097Z","updated_at":"2026-03-12T09:26:52.491Z","avatar_url":"https://github.com/infrablocks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RubyGitCrypt\n\nA simple wrapper around the `git-crypt` binary to allow execution from within\na Ruby program, RSpec test or Rakefile.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ruby_git_crypt'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ruby_git_crypt\n\n## Usage\n\nTo require `RubyGitCrypt`:\n\n```ruby\nrequire 'ruby_git_crypt'\n```\n\n## Documentation\n\n* [API docs](https://infrablocks.github.io/ruby_git_crypt/index.html)\n\n## Development\n\nTo install dependencies and run the build, run the pre-commit build:\n\n```shell\n./go\n```\n\nThis runs all unit tests and other checks including coverage and code linting /\nformatting.\n\nTo run only the unit tests, including coverage:\n\n```shell\n./go test:unit\n```\n\nTo attempt to fix any code linting / formatting issues:\n\n```shell\n./go library:fix\n```\n\nTo check for code linting / formatting issues without fixing:\n\n```shell\n./go library:check\n```\n\nYou can also run `bin/console` for an interactive prompt that will allow you to\nexperiment.\n\n### Managing CircleCI keys\n\nTo encrypt a GPG key for use by CircleCI:\n\n```shell\nopenssl aes-256-cbc \\\n  -e \\\n  -md sha1 \\\n  -in ./config/secrets/ci/gpg.private \\\n  -out ./.circleci/gpg.private.enc \\\n  -k \"\u003cpassphrase\u003e\"\n```\n\nTo check decryption is working correctly:\n\n```shell\nopenssl aes-256-cbc \\\n  -d \\\n  -md sha1 \\\n  -in ./.circleci/gpg.private.enc \\\n  -k \"\u003cpassphrase\u003e\"\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/infrablocks/ruby_git_crypt. This project is intended to be a\nsafe, welcoming space for collaboration, and contributors are expected to adhere\nto 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\n[MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfrablocks%2Fruby_git_crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfrablocks%2Fruby_git_crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfrablocks%2Fruby_git_crypt/lists"}