{"id":16086139,"url":"https://github.com/zw963/erb_to_slim","last_synced_at":"2025-03-18T06:30:40.707Z","repository":{"id":20201820,"uuid":"23473214","full_name":"zw963/erb_to_slim","owner":"zw963","description":null,"archived":false,"fork":false,"pushed_at":"2014-12-16T12:35:10.000Z","size":204,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T07:49:30.236Z","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/zw963.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-29T18:15:34.000Z","updated_at":"2018-04-01T04:04:42.000Z","dependencies_parsed_at":"2022-08-26T16:00:25.609Z","dependency_job_id":null,"html_url":"https://github.com/zw963/erb_to_slim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Ferb_to_slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Ferb_to_slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Ferb_to_slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Ferb_to_slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zw963","download_url":"https://codeload.github.com/zw963/erb_to_slim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243906382,"owners_count":20367018,"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-10-09T13:10:38.474Z","updated_at":"2025-03-18T06:30:40.370Z","avatar_url":"https://github.com/zw963.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ErbToSlim [![Build Status](https://travis-ci.org/zw963/erb_to_slim.svg?branch=master)](https://travis-ci.org/zw963/erb_to_slim) [![Gem Version](https://badge.fury.io/rb/erb_to_slim.svg)](http://badge.fury.io/rb/erb_to_slim)\n\nThe most stupid ERB to Slim Converter.\n\n## Philosophy\n\nConvert `html.erb` to `html.slim` directly with REGEXP.\n\n  * Minimum modified, no indentation or outline changed.\n  * No any gem dependency, YEAH!\n  \n## Getting Started\n\nInstall via Rubygems\n\n    $ gem install erb_to_slim\n\nOR ...\n\nAdd to your Gemfile\n\n    gem 'erb_to_slim'\n\n## Usage\n\nGoto your's project views directory.\n\n    $ erb_to_slim\n\nThis will convert all `*.html.erb` to `*.html.slim` under current directory recursively.\nold file will backup as `*.html.erb.bak`.\n\n## Support\n\n  * MRI 1.9+\n  * Rubinius 2.2+\n\nYou need Ruby 1.9+ to support the newest regular expression syntax.\n\n## Limitations\n  * Only support html.erb format.\n  * This gem just do match and replace with REGEXP, not do any syntactic analysis or\n    indent detection, so, before process, please format ERB file with your's favorate editor.\n  * This gem is not test fully, consider all cases is not possible.\n    So, before you try, ensure about you well understood Slim,\n    and can fix any unexpected error manually.\n  \n## History\n\n  See [CHANGELOG](https://github.com/zw963/erb_to_slim/blob/master/CHANGELOG) for details.\n\n## Contributing\n\n  * [Bug reports](https://github.com/zw963/erb_to_slim/issues)\n  * [Source](https://github.com/zw963/erb_to_slim)\n  * Patches:\n    * Fork on Github.\n    * Run `gem install --dev erb_to_slim` or `bundle`.\n    * Create your feature branch: `git checkout -b my-new-feature`.\n    * Commit your changes: `git commit -am 'Add some feature'`.\n    * Push to the branch: `git push origin my-new-feature`.\n    * Send a pull request :D.\n\n## license\n\nReleased under the MIT license, See [LICENSE](https://github.com/zw963/erb_to_slim/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Ferb_to_slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzw963%2Ferb_to_slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Ferb_to_slim/lists"}