{"id":16701702,"url":"https://github.com/coryodaniel/ruby-yui","last_synced_at":"2026-03-10T11:32:19.351Z","repository":{"id":466045,"uuid":"90700","full_name":"coryodaniel/ruby-yui","owner":"coryodaniel","description":"Ruby wrapper for the YUI Compressor.","archived":false,"fork":false,"pushed_at":"2009-06-08T22:10:20.000Z","size":980,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T04:12:37.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/coryodaniel/ruby-yui","language":"JavaScript","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/coryodaniel.png","metadata":{"files":{"readme":"README","changelog":"CHANGELOG","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":"2008-12-15T09:13:31.000Z","updated_at":"2022-11-28T16:02:21.000Z","dependencies_parsed_at":"2022-07-04T18:01:28.491Z","dependency_job_id":null,"html_url":"https://github.com/coryodaniel/ruby-yui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coryodaniel/ruby-yui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fruby-yui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fruby-yui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fruby-yui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fruby-yui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coryodaniel","download_url":"https://codeload.github.com/coryodaniel/ruby-yui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fruby-yui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30332303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"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":[],"created_at":"2024-10-12T18:45:14.130Z","updated_at":"2026-03-10T11:32:19.317Z","avatar_url":"https://github.com/coryodaniel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ruby-yui is a ruby wrapper for the YUI Compressor.\n\n==== Install Thor Tasks\nthor install http://github.com/coryodaniel/ruby-yui/raw/master/task.thor\n\n==== Usage\n# this also takes a options hash, defaults are stated below\nyui = Yui.new \"./path/to/javascripts\"\nyui = Yui.new \"./path/to/javascripts\", :out_path =\u003e \"./public/javascripts\"\nyui = Yui.new \"./path/to/javascripts/application.js\"\nyui = Yui.new \"./path/to/javascripts/*.my.cool.glob.*.js\"\n\n# to compress\nyui.minify\nYui.compress_string(\"alert('hello world');\")\n# =\u003e true|false if 100% of files where minified\n\n# to compress \u0026 bundle\nyui.bundle\n# =\u003e path to bundle OR nil if failed to bundle\n\n==== Quick Usage\n# This does the same thing as instantiating a Yui object and calling minify\n#   it also takes the same params hash\n\nYui.compress \"./test/data/javascripts\"\n# =\u003e true|false\n\n\n==== Default Options\n  :clobber        =\u003e false,\n  :java_cli       =\u003e \"java -jar\",\n  :yui_jar        =\u003e File.join(YUI_ROOT,\"ext\",\"yuicompressor-2.4.2.jar\"),\n  :suffix         =\u003e \"yui-min\",\n  :out_path       =\u003e nil,   #file_path.sub(inpath,outpath)\n  :type           =\u003e :js,\n  :charset        =\u003e nil,\n  :preserve_semi  =\u003e false,\n  :disable_opt    =\u003e false,\n  :nomunge        =\u003e false","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fruby-yui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoryodaniel%2Fruby-yui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fruby-yui/lists"}