{"id":31391672,"url":"https://github.com/customink/sass_paths","last_synced_at":"2025-10-28T14:06:38.622Z","repository":{"id":20977371,"uuid":"24266402","full_name":"customink/sass_paths","owner":"customink","description":"Helper methods to append directories to the SASS_PATH ENV variable","archived":false,"fork":false,"pushed_at":"2024-08-23T14:31:06.000Z","size":23,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":85,"default_branch":"master","last_synced_at":"2025-09-18T03:00:51.413Z","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/customink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-20T15:33:56.000Z","updated_at":"2024-08-23T14:31:10.000Z","dependencies_parsed_at":"2024-03-22T17:19:50.029Z","dependency_job_id":null,"html_url":"https://github.com/customink/sass_paths","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/customink/sass_paths","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customink%2Fsass_paths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customink%2Fsass_paths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customink%2Fsass_paths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customink%2Fsass_paths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/customink","download_url":"https://codeload.github.com/customink/sass_paths/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customink%2Fsass_paths/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277458663,"owners_count":25821319,"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","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-29T02:49:02.779Z","updated_at":"2025-09-29T02:49:06.167Z","avatar_url":"https://github.com/customink.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SassPaths\n\nThis gem provides helper methods for appending directories and gems to the `SASS_PATH` environment variable. This enables you to load\nprojects that do not themselves register with SASS.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n\n```ruby\ngem 'sass_paths'\n```\n\nAnd then execute:\n\n```shell\n$ bundle\n```\n\nOr install it yourself as:\n\n```shell\n$ gem install sass_paths\n```\n\n## Usage\n\n#### Directories\n\nTo append a directory, simply call `append` with your list of directories that\nyou'd like appended.\n\n```ruby\nSassPaths.append('/my/first/sass/path', '/my/second/sass/path', ...)\n```\n\n#### Gems\n\nIn order to append a gem, call `append_gem_path` with the name of the gem as\nwell as the directory within the gem that contains the Sass files.\n\n```ruby\nSassPaths.append_gem_path(gem_name, directory)\n```\n\n#### Temporary Replacements\n\nSometimes it can be fun to change the Sass paths for the duration of a block. For example, this would swap out using [Neat](http://neat.bourbon.io) versions.\n\n```ruby\nreplacements = {\n  \"/gems/neat-1.8.0/app/assets/stylesheets\" =\u003e \"/gems/neat-2.0.0/core\"\n}\nSassPaths.with_replacements(replacements) do\n  options = { load_paths: Sass.load_paths }\n  Sass::Engine.new(template, options).render\nend\n```\n\nThe `with_replacements` takes no responsiblity for knowing about the paths passed in as being valid or not.\n\n\n### Rails\n\nCreate an initializer and utilize the above methods.\n\n### Not Rails\n\nUse the above methods in some part of your application's boot process.\n\n## Testing\n\n* Run `bundle install` to install development dependencies.\n* Run `rake test` to run all tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustomink%2Fsass_paths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcustomink%2Fsass_paths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustomink%2Fsass_paths/lists"}