{"id":13878677,"url":"https://github.com/sass-contrib/sass-embedded-host-ruby","last_synced_at":"2025-05-16T02:02:23.119Z","repository":{"id":38185338,"uuid":"370233581","full_name":"sass-contrib/sass-embedded-host-ruby","owner":"sass-contrib","description":":gem: A Ruby library that will communicate with Embedded Dart Sass using the Embedded Sass protocol","archived":false,"fork":false,"pushed_at":"2025-05-14T19:27:52.000Z","size":1236,"stargazers_count":76,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-14T20:39:54.117Z","etag":null,"topics":["dart-sass","protobuf","ruby","sass","sass-embedded","scss"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/sass-embedded","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/sass-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2021-05-24T05:06:57.000Z","updated_at":"2025-05-14T19:27:56.000Z","dependencies_parsed_at":"2023-10-17T06:36:28.960Z","dependency_job_id":"682e9a2e-1397-478a-9dfe-21b6c30f152b","html_url":"https://github.com/sass-contrib/sass-embedded-host-ruby","commit_stats":{"total_commits":956,"total_committers":2,"mean_commits":478.0,"dds":"0.12761506276150625","last_synced_commit":"e10b463b5b1ee6bf8d6031f0b8ec3fe975cdd60d"},"previous_names":["sass-contrib/sass-embedded-host-ruby","ntkme/sass-embedded-host-ruby"],"tags_count":219,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass-contrib%2Fsass-embedded-host-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass-contrib%2Fsass-embedded-host-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass-contrib%2Fsass-embedded-host-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sass-contrib%2Fsass-embedded-host-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sass-contrib","download_url":"https://codeload.github.com/sass-contrib/sass-embedded-host-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453646,"owners_count":22073616,"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":["dart-sass","protobuf","ruby","sass","sass-embedded","scss"],"created_at":"2024-08-06T08:01:56.491Z","updated_at":"2025-05-16T02:02:23.077Z","avatar_url":"https://github.com/sass-contrib.png","language":"Ruby","readme":"# Embedded Sass Host for Ruby\n\n[![build](https://github.com/sass-contrib/sass-embedded-host-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/sass-contrib/sass-embedded-host-ruby/actions/workflows/build.yml)\n[![gem](https://badge.fury.io/rb/sass-embedded.svg)](https://rubygems.org/gems/sass-embedded)\n\nThis is a Ruby library that implements the host side of the [Embedded Sass protocol](https://github.com/sass/sass/blob/HEAD/spec/embedded-protocol.md).\n\nIt exposes a Ruby API for Sass that's backed by a native [Dart Sass](https://sass-lang.com/dart-sass) executable.\n\n## Install\n\n``` sh\ngem install sass-embedded\n```\n\n## Usage\n\nThe Ruby API provides two entrypoints for compiling Sass to CSS.\n\n- `Sass.compile` takes a path to a Sass file and return the result of compiling that file to CSS.\n\n``` ruby\nrequire 'sass-embedded'\n\nresult = Sass.compile('style.scss')\nputs result.css\n\ncompressed = Sass.compile('style.scss', style: :compressed)\nputs compressed.css\n```\n\n- `Sass.compile_string` takes a string that represents the contents of a Sass file and return the result of compiling that file to CSS.\n\n``` ruby\nrequire 'sass-embedded'\n\nresult = Sass.compile_string('h1 { font-size: 40px; }')\nputs result.css\n\ncompressed = Sass.compile_string('h1 { font-size: 40px; }', style: :compressed)\nputs compressed.css\n```\n\nSee [rubydoc.info/gems/sass-embedded/Sass](https://rubydoc.info/gems/sass-embedded/Sass) for full API documentation.\n\n---\n\nDisclaimer: this is not an official Google product.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsass-contrib%2Fsass-embedded-host-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsass-contrib%2Fsass-embedded-host-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsass-contrib%2Fsass-embedded-host-ruby/lists"}