{"action":"closed","number":177,"pull_request":{"url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177","id":45466006,"html_url":"https://github.com/livingstyleguide/livingstyleguide/pull/177","diff_url":"https://github.com/livingstyleguide/livingstyleguide/pull/177.diff","patch_url":"https://github.com/livingstyleguide/livingstyleguide/pull/177.patch","issue_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/177","number":177,"state":"closed","locked":false,"title":"Add require statement in sass filter.","user":{"login":"fanxhe-pair","id":13138225,"avatar_url":"https://avatars.githubusercontent.com/u/13138225?v=3","gravatar_id":"","url":"https://api.github.com/users/fanxhe-pair","html_url":"https://github.com/fanxhe-pair","followers_url":"https://api.github.com/users/fanxhe-pair/followers","following_url":"https://api.github.com/users/fanxhe-pair/following{/other_user}","gists_url":"https://api.github.com/users/fanxhe-pair/gists{/gist_id}","starred_url":"https://api.github.com/users/fanxhe-pair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanxhe-pair/subscriptions","organizations_url":"https://api.github.com/users/fanxhe-pair/orgs","repos_url":"https://api.github.com/users/fanxhe-pair/repos","events_url":"https://api.github.com/users/fanxhe-pair/events{/privacy}","received_events_url":"https://api.github.com/users/fanxhe-pair/received_events","type":"User","site_admin":false},"body":"When we use the sass filter in a style guide: \r\n\r\n```markdown\r\n# HELLO WORLD\r\n\r\n@sass\r\n  body\r\n    background-color: pink\r\n```\r\n\r\nAn error is generated:\r\n\r\n```\r\n$ bundle exec livingstyleguide compile sass.lsg sass.html\r\n/Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/livingstyleguide-2.0.0.alpha.10/lib/livingstyleguide/filters/sass.rb:24:in `block in <top (required)>': uninitialized constant Sass (NameError)\r\n    from (erb):5:in `get_binding'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/2.1.0/erb.rb:850:in `eval'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/2.1.0/erb.rb:850:in `result'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/livingstyleguide-2.0.0.alpha.10/lib/livingstyleguide/document.rb:94:in `evaluate'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/tilt-2.0.1/lib/tilt/template.rb:96:in `render'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/livingstyleguide-2.0.0.alpha.10/lib/livingstyleguide/command_line_interface.rb:12:in `compile'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/livingstyleguide-2.0.0.alpha.10/bin/livingstyleguide:15:in `<top (required)>'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bin/livingstyleguide:23:in `load'\r\n    from /Users/Anyelina/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bin/livingstyleguide:23:in `<main>'\r\n```","created_at":"2015-09-19T00:46:27Z","updated_at":"2015-09-29T20:57:51Z","closed_at":"2015-09-29T20:57:51Z","merged_at":"2015-09-29T20:57:51Z","merge_commit_sha":"da3207d8f57fbb4d2d825124990a416fa23fadf2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177/commits","review_comments_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177/comments","review_comment_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/177/comments","statuses_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/statuses/fbded97bfa6dfc008723a0ae67eb444ed165f77a","head":{"label":"fanxhe:require_sass_on_filter","ref":"require_sass_on_filter","sha":"fbded97bfa6dfc008723a0ae67eb444ed165f77a","user":{"login":"fanxhe","id":12413696,"avatar_url":"https://avatars.githubusercontent.com/u/12413696?v=3","gravatar_id":"","url":"https://api.github.com/users/fanxhe","html_url":"https://github.com/fanxhe","followers_url":"https://api.github.com/users/fanxhe/followers","following_url":"https://api.github.com/users/fanxhe/following{/other_user}","gists_url":"https://api.github.com/users/fanxhe/gists{/gist_id}","starred_url":"https://api.github.com/users/fanxhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanxhe/subscriptions","organizations_url":"https://api.github.com/users/fanxhe/orgs","repos_url":"https://api.github.com/users/fanxhe/repos","events_url":"https://api.github.com/users/fanxhe/events{/privacy}","received_events_url":"https://api.github.com/users/fanxhe/received_events","type":"Organization","site_admin":false},"repo":{"id":38718736,"name":"livingstyleguide","full_name":"fanxhe/livingstyleguide","owner":{"login":"fanxhe","id":12413696,"avatar_url":"https://avatars.githubusercontent.com/u/12413696?v=3","gravatar_id":"","url":"https://api.github.com/users/fanxhe","html_url":"https://github.com/fanxhe","followers_url":"https://api.github.com/users/fanxhe/followers","following_url":"https://api.github.com/users/fanxhe/following{/other_user}","gists_url":"https://api.github.com/users/fanxhe/gists{/gist_id}","starred_url":"https://api.github.com/users/fanxhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanxhe/subscriptions","organizations_url":"https://api.github.com/users/fanxhe/orgs","repos_url":"https://api.github.com/users/fanxhe/repos","events_url":"https://api.github.com/users/fanxhe/events{/privacy}","received_events_url":"https://api.github.com/users/fanxhe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fanxhe/livingstyleguide","description":"Easily create front-end style guides with Markdown and Sass/SCSS.","fork":true,"url":"https://api.github.com/repos/fanxhe/livingstyleguide","forks_url":"https://api.github.com/repos/fanxhe/livingstyleguide/forks","keys_url":"https://api.github.com/repos/fanxhe/livingstyleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fanxhe/livingstyleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fanxhe/livingstyleguide/teams","hooks_url":"https://api.github.com/repos/fanxhe/livingstyleguide/hooks","issue_events_url":"https://api.github.com/repos/fanxhe/livingstyleguide/issues/events{/number}","events_url":"https://api.github.com/repos/fanxhe/livingstyleguide/events","assignees_url":"https://api.github.com/repos/fanxhe/livingstyleguide/assignees{/user}","branches_url":"https://api.github.com/repos/fanxhe/livingstyleguide/branches{/branch}","tags_url":"https://api.github.com/repos/fanxhe/livingstyleguide/tags","blobs_url":"https://api.github.com/repos/fanxhe/livingstyleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fanxhe/livingstyleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fanxhe/livingstyleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/fanxhe/livingstyleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fanxhe/livingstyleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/fanxhe/livingstyleguide/languages","stargazers_url":"https://api.github.com/repos/fanxhe/livingstyleguide/stargazers","contributors_url":"https://api.github.com/repos/fanxhe/livingstyleguide/contributors","subscribers_url":"https://api.github.com/repos/fanxhe/livingstyleguide/subscribers","subscription_url":"https://api.github.com/repos/fanxhe/livingstyleguide/subscription","commits_url":"https://api.github.com/repos/fanxhe/livingstyleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/fanxhe/livingstyleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/fanxhe/livingstyleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/fanxhe/livingstyleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/fanxhe/livingstyleguide/contents/{+path}","compare_url":"https://api.github.com/repos/fanxhe/livingstyleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fanxhe/livingstyleguide/merges","archive_url":"https://api.github.com/repos/fanxhe/livingstyleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fanxhe/livingstyleguide/downloads","issues_url":"https://api.github.com/repos/fanxhe/livingstyleguide/issues{/number}","pulls_url":"https://api.github.com/repos/fanxhe/livingstyleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/fanxhe/livingstyleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/fanxhe/livingstyleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fanxhe/livingstyleguide/labels{/name}","releases_url":"https://api.github.com/repos/fanxhe/livingstyleguide/releases{/id}","created_at":"2015-07-07T22:42:32Z","updated_at":"2015-07-07T22:42:34Z","pushed_at":"2015-09-29T18:42:11Z","git_url":"git://github.com/fanxhe/livingstyleguide.git","ssh_url":"git@github.com:fanxhe/livingstyleguide.git","clone_url":"https://github.com/fanxhe/livingstyleguide.git","svn_url":"https://github.com/fanxhe/livingstyleguide","homepage":"http://livingstyleguide.org/","size":1035,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"livingstyleguide:v2","ref":"v2","sha":"235b7a9e7c9619a4b75ea84fe057eb03edf3ba55","user":{"login":"livingstyleguide","id":3260606,"avatar_url":"https://avatars.githubusercontent.com/u/3260606?v=3","gravatar_id":"","url":"https://api.github.com/users/livingstyleguide","html_url":"https://github.com/livingstyleguide","followers_url":"https://api.github.com/users/livingstyleguide/followers","following_url":"https://api.github.com/users/livingstyleguide/following{/other_user}","gists_url":"https://api.github.com/users/livingstyleguide/gists{/gist_id}","starred_url":"https://api.github.com/users/livingstyleguide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livingstyleguide/subscriptions","organizations_url":"https://api.github.com/users/livingstyleguide/orgs","repos_url":"https://api.github.com/users/livingstyleguide/repos","events_url":"https://api.github.com/users/livingstyleguide/events{/privacy}","received_events_url":"https://api.github.com/users/livingstyleguide/received_events","type":"Organization","site_admin":false},"repo":{"id":7256065,"name":"livingstyleguide","full_name":"livingstyleguide/livingstyleguide","owner":{"login":"livingstyleguide","id":3260606,"avatar_url":"https://avatars.githubusercontent.com/u/3260606?v=3","gravatar_id":"","url":"https://api.github.com/users/livingstyleguide","html_url":"https://github.com/livingstyleguide","followers_url":"https://api.github.com/users/livingstyleguide/followers","following_url":"https://api.github.com/users/livingstyleguide/following{/other_user}","gists_url":"https://api.github.com/users/livingstyleguide/gists{/gist_id}","starred_url":"https://api.github.com/users/livingstyleguide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livingstyleguide/subscriptions","organizations_url":"https://api.github.com/users/livingstyleguide/orgs","repos_url":"https://api.github.com/users/livingstyleguide/repos","events_url":"https://api.github.com/users/livingstyleguide/events{/privacy}","received_events_url":"https://api.github.com/users/livingstyleguide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/livingstyleguide/livingstyleguide","description":"Easily create front-end style guides with Markdown and Sass/SCSS.","fork":false,"url":"https://api.github.com/repos/livingstyleguide/livingstyleguide","forks_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/forks","keys_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/teams","hooks_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/hooks","issue_events_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/events{/number}","events_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/events","assignees_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/assignees{/user}","branches_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/branches{/branch}","tags_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/tags","blobs_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/languages","stargazers_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/stargazers","contributors_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/contributors","subscribers_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/subscribers","subscription_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/subscription","commits_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/contents/{+path}","compare_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/merges","archive_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/downloads","issues_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues{/number}","pulls_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/labels{/name}","releases_url":"https://api.github.com/repos/livingstyleguide/livingstyleguide/releases{/id}","created_at":"2012-12-20T10:38:38Z","updated_at":"2015-09-29T19:37:52Z","pushed_at":"2015-09-29T20:57:51Z","git_url":"git://github.com/livingstyleguide/livingstyleguide.git","ssh_url":"git@github.com:livingstyleguide/livingstyleguide.git","clone_url":"https://github.com/livingstyleguide/livingstyleguide.git","svn_url":"https://github.com/livingstyleguide/livingstyleguide","homepage":"http://livingstyleguide.org/","size":2071,"stargazers_count":600,"watchers_count":600,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":56,"forks":51,"open_issues":56,"watchers":600,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177"},"html":{"href":"https://github.com/livingstyleguide/livingstyleguide/pull/177"},"issue":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/177"},"comments":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/livingstyleguide/livingstyleguide/statuses/fbded97bfa6dfc008723a0ae67eb444ed165f77a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hagenburger","id":103399,"avatar_url":"https://avatars.githubusercontent.com/u/103399?v=3","gravatar_id":"","url":"https://api.github.com/users/hagenburger","html_url":"https://github.com/hagenburger","followers_url":"https://api.github.com/users/hagenburger/followers","following_url":"https://api.github.com/users/hagenburger/following{/other_user}","gists_url":"https://api.github.com/users/hagenburger/gists{/gist_id}","starred_url":"https://api.github.com/users/hagenburger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagenburger/subscriptions","organizations_url":"https://api.github.com/users/hagenburger/orgs","repos_url":"https://api.github.com/users/hagenburger/repos","events_url":"https://api.github.com/users/hagenburger/events{/privacy}","received_events_url":"https://api.github.com/users/hagenburger/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}