{"id":41190262,"url":"https://github.com/janlelis/rubybuntu-language-specs","last_synced_at":"2026-01-22T20:22:39.110Z","repository":{"id":66005880,"uuid":"2187061","full_name":"janlelis/rubybuntu-language-specs","owner":"janlelis","description":"gtksourceview language specifications for Ruby/Web devoloper's gedit","archived":false,"fork":false,"pushed_at":"2011-11-01T14:48:09.000Z","size":208,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-08T18:19:14.762Z","etag":null,"topics":["gedit","gtksourceview","ruby","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/janlelis.png","metadata":{"files":{"readme":"README.rdoc","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}},"created_at":"2011-08-10T19:20:52.000Z","updated_at":"2018-07-20T10:09:45.000Z","dependencies_parsed_at":"2023-02-19T21:05:24.842Z","dependency_job_id":null,"html_url":"https://github.com/janlelis/rubybuntu-language-specs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/janlelis/rubybuntu-language-specs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Frubybuntu-language-specs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Frubybuntu-language-specs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Frubybuntu-language-specs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Frubybuntu-language-specs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janlelis","download_url":"https://codeload.github.com/janlelis/rubybuntu-language-specs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Frubybuntu-language-specs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gedit","gtksourceview","ruby","syntax-highlighting"],"created_at":"2026-01-22T20:22:38.984Z","updated_at":"2026-01-22T20:22:39.069Z","avatar_url":"https://github.com/janlelis.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Ruby/Rails/Web related gedit/gtksourceview language definitions.\n\nPart of {RubyBuntuGedit}[https://github.com/janlelis/rubybuntu-gedit]\n\n== Features\nContains various language specs needed by Ruby/Rails/Web developers and also tries to maintain them.\n\n* The Ruby language specification has been improved a lot. It uses 1.9.2 as reference implementation, recognizes many Ruby-specific language constructs (that can be highlighted differently) and implements many language details. To see all these changes, you need a style that supports (\"uses\") the new specification, for example, {these styles}[https://github.com/janlelis/rubybuntu-editor-styles]. See below for a changelog summary.\n* ERB is not only usable with HTML, but also with JavaScript, YAML and XML...\n* Gemfile.lock highlighting\n\n== Setup\n\nYou should also use up-to-date {mime types}[https://github.com/janlelis/rubybuntu-mime].\n\n=== as root\n\n    sudo cp *.lang /usr/share/gtksourceview-2.0/language-specs\n    # you can also delete the rhtml.lang (now done via html-erb)\n    sudo rm -f /usr/share/gtksourceview-2.0/language-specs/rhtml.lang\n    # and the ruby_on_rails.lang (except you want to have rails highlighting with an extra language..)\n    sudo rm -f /usr/share/gtksourceview-2.0/language-specs/ruby_on_rails.lang\n\n=== as non-root\n\n    mkdir -p ~/.local/share/gtksourceview-2.0/language-specs\n    cp *.lang ~/.local/share/gtksourceview-2.0/language-specs\n    # you can also delete the rhtml.lang (now done via html-erb)\n    rm -f ~/.local/share/gtksourceview-2.0/language-specs/rhtml.lang\n    # and the ruby_on_rails.lang (except you want to have rails highlighting with an extra language..)\n    rm -f ~/.local/share/gtksourceview-2.0/language-specs/ruby_on_rails.lang\n\n\n== CHANGES\n=== ruby.lang\n* Uses 1.9 as reference implementation\n* No Rails keywords, no extra language for Rails\n* Refactored/updated keyword and builtin detection, highlight important constants and methods\n* Improved function definition highlighting\n* More logical style mappings (which also means: current styles are not fully ruby:compatible)\n* Fix string interpolations\n* Better support for advanced literals (e.g. `%x[]`, `%r\u003c\u003e`, ...)\n* Support Arrays \u0026 Hashes (inclusive 1.9 symbol syntax)\n* Different heredoc matching\n* Better symbol detection\n* Small language details, like recognizing `__END__`\n* Better unicode support\n* See `git log` for full details\n* Based on https://github.com/gmate/gmate/blob/master/lang-specs/ruby_on_rails.lang\n\n== ruby.lang - Advanced TODOs [not (easily) possible with gtksourceview]\n* Improve heredocs (e.g. nested ones)\n* Different colorizations for \"end\"s (e.g. def/begin, class/module, while/until, if/case, block), needs to detect modifier statements correctly :/\n* Detect (multi-line) yard doc tag values\n* Add escapable char for generic string delimiters\n* Advanced regex highlighting + multi-line regexes\n* ruby.lang-extras/known-bugs.rb\n\n== Languages to add/import/update\n* SASS / SCSS / CSS\n* COFFEE\n* HAML\n* SLIM\n* YAML\n* CUCUMBER\n\nMeanwhile, you can, for example, use the ones found in gmate[https://github.com/gmate/gmate/tree/master/lang-specs]\n\n== MAYBE\n* RDOC markup support (and cross-referencing in ruby)\n\n== J-_-L\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Frubybuntu-language-specs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanlelis%2Frubybuntu-language-specs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Frubybuntu-language-specs/lists"}