{"id":21202432,"url":"https://github.com/infrablocks/ruby_leiningen","last_synced_at":"2025-07-10T06:32:38.625Z","repository":{"id":36551633,"uuid":"228414096","full_name":"infrablocks/ruby_leiningen","owner":"infrablocks","description":"A simple Ruby wrapper for invoking leiningen commands.","archived":false,"fork":false,"pushed_at":"2025-05-29T06:11:57.000Z","size":432,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-29T07:26:18.589Z","etag":null,"topics":["leiningen","ruby","ruby-gem","rubygem"],"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/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":"2019-12-16T15:12:16.000Z","updated_at":"2025-05-29T06:11:59.000Z","dependencies_parsed_at":"2023-01-17T02:31:26.051Z","dependency_job_id":"ddb923d0-7512-4291-b2e4-0dc091080559","html_url":"https://github.com/infrablocks/ruby_leiningen","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/infrablocks/ruby_leiningen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_leiningen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_leiningen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_leiningen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_leiningen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infrablocks","download_url":"https://codeload.github.com/infrablocks/ruby_leiningen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_leiningen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264538585,"owners_count":23624436,"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":["leiningen","ruby","ruby-gem","rubygem"],"created_at":"2024-11-20T20:15:56.819Z","updated_at":"2025-07-10T06:32:38.306Z","avatar_url":"https://github.com/infrablocks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RubyLeiningen\n\nWraps the leiningen CLI so that leiningen can be invoked from a Ruby script or \nRakefile.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ruby_leiningen'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ruby_leiningen\n\n## Usage\n\n### Binary Location\n\nRubyLeiningen needs to know where the lein command is located before it can do \nanything. By default, RubyLeiningen looks on the path however this can be \nconfigured with:\n\n```ruby\nRubyLeiningen.configure do |config|\n  config.binary = 'vendor/leiningen/bin/lein'\nend\n```\n\nIn addition, each command takes a `binary` keyword argument at initialisation\nthat overrides the global configuration value.\n\n### Commands\n\nCurrently, there is partial support for the following commands:\n* `RubyLeiningen::Commands::Deps`:\n* `RubyLeiningen::Commands::Version`: returns the version of the leiningen \n  binary\n\n#### `RubyLeiningen::Commands::Deps`\n\nThe deps command can be called in the following ways:\n\n```ruby\nRubyLeiningen.deps\nRubyLeiningen::Commands::Deps.new.execute\n```\n\n#### `RubyLeiningen::Commands::Version`\n\nThe version command can be called in the following ways:\n\n```ruby\nversion = RubyLeiningen.version\nversion = RubyLeiningen::Commands::Version.new.execute\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rake spec` to run the tests. You can also run `bin/console` for an interactive\nprompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, update the version number in `version.rb`, and then run\n`bundle exec rake release`, which will create a git tag for the version, push\ngit commits and tags, and push the `.gem` file to \n[rubygems.org](https://rubygems.org).\n\n### Managing CircleCI keys\n\nTo encrypt a GPG key for use by CircleCI:\n\n```bash\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```bash\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_leiningen. This project is intended to be a\nsafe, welcoming space for collaboration, and contributors are expected to \nadhere to the [Contributor Covenant](http://contributor-covenant.org) code of \nconduct.\n\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_leiningen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfrablocks%2Fruby_leiningen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfrablocks%2Fruby_leiningen/lists"}