GitHub PullRequestEvent at 2014-06-23 13:36:50
Repository: WebEssentials2013
Actor: chrismbarr
Payload: {"action":"opened","number":1217,"pull_request":{"url":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217","id":17473989,"html_url":"https://github.com/madskristensen/WebEssentials2013/pull/1217","diff_url":"https://github.com/madskristensen/WebEssentials2013/pull/1217.diff","patch_url":"https://github.com/madskristensen/WebEssentials2013/pull/1217.patch","issue_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/1217","number":1217,"state":"open","title":"Adding Number Precision option for SCSS","user":{"login":"chrismbarr","id":463685,"avatar_url":"https://avatars.githubusercontent.com/u/463685?","gravatar_id":"3a7f6c5a576c8a24ec942d81de56ff88","url":"https://api.github.com/users/chrismbarr","html_url":"https://github.com/chrismbarr","followers_url":"https://api.github.com/users/chrismbarr/followers","following_url":"https://api.github.com/users/chrismbarr/following{/other_user}","gists_url":"https://api.github.com/users/chrismbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismbarr/subscriptions","organizations_url":"https://api.github.com/users/chrismbarr/orgs","repos_url":"https://api.github.com/users/chrismbarr/repos","events_url":"https://api.github.com/users/chrismbarr/events{/privacy}","received_events_url":"https://api.github.com/users/chrismbarr/received_events","type":"User","site_admin":false},"body":"*Note*: This is a revised version of [this pull request](https://github.com/madskristensen/WebEssentials2013/pull/1192). Now it's just a single commit with correct formatting & not updating unneeded files.\r\n\r\n----\r\n\r\nThis adds the option to set the number precision for SASS.  the number precision will determine how many digits are output after the decimal place in any number in a Sass file.\r\n\r\n![2014-06-20 13_46_12-greenshot](https://cloud.githubusercontent.com/assets/463685/3343755/7cbb8dfe-f8a3-11e3-9b22-d01d5d0cff4a.png)\r\n\r\n---\r\n\r\nUse Case:\r\n====\r\n\r\nCompiling [Bootstrap Sass](https://github.com/twbs/bootstrap-sass) requires Sass's number precision to be set to `10` instead of the default of `5`.  Allowing this change will let bootstrap (and other projects) output the values that their authors intended.\r\n\r\n**SASS input**\r\n\r\n    .example{ \r\n        line-height: 1.428571429; \r\n    }\r\n\r\n**CSS output (with precision set to 5)**\r\n\r\n    .example{ \r\n        line-height: 1.42857;  /* Boo! Number gets truncated! */\r\n    }\r\n\r\n\r\n**CSS output (with precision set to 10)**\r\n\r\n    .example{ \r\n        line-height: 1.428571429; /* Yay, number is exactly what was written! */\r\n    }","created_at":"2014-06-23T13:36:49Z","updated_at":"2014-06-23T13:36:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217/commits","review_comments_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217/comments","review_comment_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/comments/{number}","comments_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/1217/comments","statuses_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/statuses/292c274a524222b65ddffc91378d31d4ce086d9b","head":{"label":"chrismbarr:master","ref":"master","sha":"292c274a524222b65ddffc91378d31d4ce086d9b","user":{"login":"chrismbarr","id":463685,"avatar_url":"https://avatars.githubusercontent.com/u/463685?","gravatar_id":"3a7f6c5a576c8a24ec942d81de56ff88","url":"https://api.github.com/users/chrismbarr","html_url":"https://github.com/chrismbarr","followers_url":"https://api.github.com/users/chrismbarr/followers","following_url":"https://api.github.com/users/chrismbarr/following{/other_user}","gists_url":"https://api.github.com/users/chrismbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismbarr/subscriptions","organizations_url":"https://api.github.com/users/chrismbarr/orgs","repos_url":"https://api.github.com/users/chrismbarr/repos","events_url":"https://api.github.com/users/chrismbarr/events{/privacy}","received_events_url":"https://api.github.com/users/chrismbarr/received_events","type":"User","site_admin":false},"repo":{"id":21127217,"name":"WebEssentials2013","full_name":"chrismbarr/WebEssentials2013","owner":{"login":"chrismbarr","id":463685,"avatar_url":"https://avatars.githubusercontent.com/u/463685?","gravatar_id":"3a7f6c5a576c8a24ec942d81de56ff88","url":"https://api.github.com/users/chrismbarr","html_url":"https://github.com/chrismbarr","followers_url":"https://api.github.com/users/chrismbarr/followers","following_url":"https://api.github.com/users/chrismbarr/following{/other_user}","gists_url":"https://api.github.com/users/chrismbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismbarr/subscriptions","organizations_url":"https://api.github.com/users/chrismbarr/orgs","repos_url":"https://api.github.com/users/chrismbarr/repos","events_url":"https://api.github.com/users/chrismbarr/events{/privacy}","received_events_url":"https://api.github.com/users/chrismbarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrismbarr/WebEssentials2013","description":"","fork":true,"url":"https://api.github.com/repos/chrismbarr/WebEssentials2013","forks_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/forks","keys_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/teams","hooks_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/hooks","issue_events_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/issues/events{/number}","events_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/events","assignees_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/assignees{/user}","branches_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/branches{/branch}","tags_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/tags","blobs_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/statuses/{sha}","languages_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/languages","stargazers_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/stargazers","contributors_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/contributors","subscribers_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/subscribers","subscription_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/subscription","commits_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/issues/comments/{number}","contents_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/contents/{+path}","compare_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/merges","archive_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/downloads","issues_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/issues{/number}","pulls_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/pulls{/number}","milestones_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/milestones{/number}","notifications_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/labels{/name}","releases_url":"https://api.github.com/repos/chrismbarr/WebEssentials2013/releases{/id}","created_at":"2014-06-23T13:28:47Z","updated_at":"2014-06-23T13:36:49Z","pushed_at":"2014-06-23T13:34:23Z","git_url":"git://github.com/chrismbarr/WebEssentials2013.git","ssh_url":"git@github.com:chrismbarr/WebEssentials2013.git","clone_url":"https://github.com/chrismbarr/WebEssentials2013.git","svn_url":"https://github.com/chrismbarr/WebEssentials2013","homepage":"http://vswebessentials.com","size":28041,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"madskristensen:master","ref":"master","sha":"64119fbe52bd08366b75a53cb78b4ba90912a543","user":{"login":"madskristensen","id":1258877,"avatar_url":"https://avatars.githubusercontent.com/u/1258877?","gravatar_id":"44076d064bb20919412c6874e7d28daf","url":"https://api.github.com/users/madskristensen","html_url":"https://github.com/madskristensen","followers_url":"https://api.github.com/users/madskristensen/followers","following_url":"https://api.github.com/users/madskristensen/following{/other_user}","gists_url":"https://api.github.com/users/madskristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/madskristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madskristensen/subscriptions","organizations_url":"https://api.github.com/users/madskristensen/orgs","repos_url":"https://api.github.com/users/madskristensen/repos","events_url":"https://api.github.com/users/madskristensen/events{/privacy}","received_events_url":"https://api.github.com/users/madskristensen/received_events","type":"User","site_admin":false},"repo":{"id":10754899,"name":"WebEssentials2013","full_name":"madskristensen/WebEssentials2013","owner":{"login":"madskristensen","id":1258877,"avatar_url":"https://avatars.githubusercontent.com/u/1258877?","gravatar_id":"44076d064bb20919412c6874e7d28daf","url":"https://api.github.com/users/madskristensen","html_url":"https://github.com/madskristensen","followers_url":"https://api.github.com/users/madskristensen/followers","following_url":"https://api.github.com/users/madskristensen/following{/other_user}","gists_url":"https://api.github.com/users/madskristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/madskristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madskristensen/subscriptions","organizations_url":"https://api.github.com/users/madskristensen/orgs","repos_url":"https://api.github.com/users/madskristensen/repos","events_url":"https://api.github.com/users/madskristensen/events{/privacy}","received_events_url":"https://api.github.com/users/madskristensen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madskristensen/WebEssentials2013","description":"","fork":false,"url":"https://api.github.com/repos/madskristensen/WebEssentials2013","forks_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/forks","keys_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/teams","hooks_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/hooks","issue_events_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/events{/number}","events_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/events","assignees_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/assignees{/user}","branches_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/branches{/branch}","tags_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/tags","blobs_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/git/refs{/sha}","trees_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/statuses/{sha}","languages_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/languages","stargazers_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/stargazers","contributors_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/contributors","subscribers_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/subscribers","subscription_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/subscription","commits_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/commits{/sha}","git_commits_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/git/commits{/sha}","comments_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/comments{/number}","issue_comment_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/comments/{number}","contents_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/contents/{+path}","compare_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/merges","archive_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/downloads","issues_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues{/number}","pulls_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls{/number}","milestones_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/milestones{/number}","notifications_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/labels{/name}","releases_url":"https://api.github.com/repos/madskristensen/WebEssentials2013/releases{/id}","created_at":"2013-06-18T05:51:26Z","updated_at":"2014-06-23T03:06:27Z","pushed_at":"2014-06-23T03:06:27Z","git_url":"git://github.com/madskristensen/WebEssentials2013.git","ssh_url":"git@github.com:madskristensen/WebEssentials2013.git","clone_url":"https://github.com/madskristensen/WebEssentials2013.git","svn_url":"https://github.com/madskristensen/WebEssentials2013","homepage":"http://vswebessentials.com","size":28041,"stargazers_count":575,"watchers_count":575,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":191,"mirror_url":null,"open_issues_count":52,"forks":191,"open_issues":52,"watchers":575,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217"},"html":{"href":"https://github.com/madskristensen/WebEssentials2013/pull/1217"},"issue":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/1217"},"comments":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/issues/1217/comments"},"review_comments":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217/comments"},"review_comment":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/pulls/1217/commits"},"statuses":{"href":"https://api.github.com/repos/madskristensen/WebEssentials2013/statuses/292c274a524222b65ddffc91378d31d4ce086d9b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":2,"changed_files":2}}