{"id":25180761,"url":"https://github.com/adam-stokes/inline-erb","last_synced_at":"2025-04-04T04:47:20.916Z","repository":{"id":56877685,"uuid":"109035445","full_name":"adam-stokes/inline-erb","owner":"adam-stokes","description":"Sinatra style inline templating to your script files","archived":false,"fork":false,"pushed_at":"2020-05-29T18:36:44.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T07:56:51.467Z","etag":null,"topics":["erb","ruby"],"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/adam-stokes.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}},"created_at":"2017-10-31T18:16:31.000Z","updated_at":"2020-05-29T18:36:46.000Z","dependencies_parsed_at":"2022-08-20T23:10:33.431Z","dependency_job_id":null,"html_url":"https://github.com/adam-stokes/inline-erb","commit_stats":null,"previous_names":["battlemidget/inline-erb"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam-stokes%2Finline-erb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam-stokes%2Finline-erb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam-stokes%2Finline-erb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam-stokes%2Finline-erb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adam-stokes","download_url":"https://codeload.github.com/adam-stokes/inline-erb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123094,"owners_count":20887260,"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":["erb","ruby"],"created_at":"2025-02-09T16:19:33.716Z","updated_at":"2025-04-04T04:47:20.899Z","avatar_url":"https://github.com/adam-stokes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inline::Erb\n\nAdds sinatra style inline templating to your script files\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'inline-erb'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install inline-erb\n\n## Usage\n\n```ruby\nrequire 'inline/erb'\n\nInline::Erb.render 'znc.conf',\n                   port: config('port'),\n                   admin_user: config('admin_user'),\n                   admin_password: config('admin_password'),\n                   admin_password_salt: admin_password_salt,\n                   admin_password_hash: admin_password_hash\n\n__END__\n\n@@ znc.conf\nVersion = 1.6.3\n\u003cListener l\u003e\n\t  Port = \u003c%= port %\u003e\n          IPv4 = true\n          IPv6 = false\n          SSL = false\n\u003c/Listener\u003e\nLoadModule = webadmin\n\n\u003cUser \u003c%= admin_user %\u003e\u003e\n\tAdmin      = true\n\tNick       = \u003c%= admin_user %\u003e\n\tAltNick    = \u003c%= admin_user %\u003e_\n\tIdent      = \u003c%= admin_user %\u003e\n\tRealName   = ZNC Managed by Juju\n\tLoadModule = chansaver\n\tLoadModule = controlpanel\n        \u003cPass \u003c%= admin_password %\u003e\u003e\n          hash = \u003c%= admin_password_hash %\u003e\n          method = sha256\n          salt = \u003c%= admin_password_salt %\u003e\n        \u003c/Pass\u003e\n\u003c/User\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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/battlemidget/inline-erb. 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](http://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Inline::Erb project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/battlemidget/inline-erb/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam-stokes%2Finline-erb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadam-stokes%2Finline-erb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam-stokes%2Finline-erb/lists"}