{"id":15405210,"url":"https://github.com/fnando/sublime-better-rails","last_synced_at":"2025-04-17T00:57:47.816Z","repository":{"id":36674284,"uuid":"40980698","full_name":"fnando/sublime-better-rails","owner":"fnando","description":"Sublime Text Rails package (snippets, builder, syntax highlight)","archived":false,"fork":false,"pushed_at":"2024-09-29T19:27:54.000Z","size":17,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T05:51:12.799Z","etag":null,"topics":["rails","sublime-text","sublime-text-plugin"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2015-08-18T15:41:04.000Z","updated_at":"2024-09-29T19:27:57.000Z","dependencies_parsed_at":"2024-10-20T12:40:03.204Z","dependency_job_id":null,"html_url":"https://github.com/fnando/sublime-better-rails","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":"0.23076923076923073","last_synced_commit":"d887d64a8ca95904151c6a1a2ba5fb4f47145137"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fsublime-better-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fsublime-better-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fsublime-better-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fsublime-better-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/sublime-better-rails/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249295877,"owners_count":21246208,"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":["rails","sublime-text","sublime-text-plugin"],"created_at":"2024-10-01T16:15:26.096Z","updated_at":"2025-04-17T00:57:47.775Z","avatar_url":"https://github.com/fnando.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Better Rails\n\nThis is a custom Ruby package, that includes snippets, custom syntax highlighters and more!\n\n## Installation\n\n### Setup Package Control Repository\n\n1. Follow the instructions from https://sublime.fnando.com.\n2. Open the command pallete, run “Package Control: Install Package“, then search for “Rubocop Formatter“.\n3. Install the [ApplySyntax](https://github.com/facelessuser/ApplySyntax) package and use the settings below.\n\nBy the way, there is a [Better Ruby](https://github.com/fnando/better-ruby-for-sublime-text) package as well.\n\n### Git Clone\n\nClone this repository into the Sublime Text “Packages” directory, which is located where ever the “Preferences” -\u003e “Browse Packages” option in sublime takes you.\n\n## ApplySyntax configuration\n\n```json\n{\n  \"new_file_syntax\": \"Better Ruby/Ruby\",\n  \"reraise_exceptions\": true,\n\n  \"syntaxes\": [\n    {\n      \"syntax\": \"Better Ruby/Bundler\",\n      \"rules\": [\n        {\"file_path\": \".*(\\\\\\\\|/)Gemfile$\"}\n      ]\n    },\n\n    {\n      \"syntax\": \"Better Ruby/Puma\",\n      \"rules\": [\n        {\"file_path\": \".*(\\\\\\\\|/)puma\\\\.rb$\"}\n      ]\n    },\n\n    {\n      \"syntax\": \"Better Ruby/Ruby Test\",\n      \"rules\": [\n        {\"file_path\": \".*_test\\\\.rb$\"}\n      ]\n    },\n\n    {\n      \"syntax\": \"Better Rails/Ruby on Rails\",\n      \"rules\": [\n          {\"function\": {\"source\": \"ApplySyntax.as_plugins.is_rails_file\"}}\n      ]\n    },\n\n    {\n      \"syntax\": \"Better Ruby/Ruby\",\n      \"extensions\": [\"thor\", \"rake\", \"simplecov\", \"jbuilder\", \"rb\", \"podspec\", \"rabl\"],\n      \"rules\": [\n        {\"file_path\": \".*(\\\\\\\\|/)Capfile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)Guardfile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)[Rr]akefile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)Berksfile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)[Cc]heffile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)Thorfile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)Podfile$\"},\n        {\"file_path\": \".*(\\\\\\\\|/)config.ru$\"},\n        {\"file_path\": \".*\\\\\\\\Vagrantfile(\\\\\\\\..*)?$\"},\n        {\"file_path\": \".*/Vagrantfile(/..*)?$\"},\n        {\"interpreter\": \"ruby\"}\n      ]\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fsublime-better-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Fsublime-better-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fsublime-better-rails/lists"}