{"action":"closed","number":58,"pull_request":{"url":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58","id":77488904,"html_url":"https://github.com/postcss/postcss-simple-vars/pull/58","diff_url":"https://github.com/postcss/postcss-simple-vars/pull/58.diff","patch_url":"https://github.com/postcss/postcss-simple-vars/pull/58.patch","issue_url":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/58","number":58,"state":"closed","locked":false,"title":"Variables value to use default entry","user":{"login":"alansouzati","id":1207250,"avatar_url":"https://avatars.githubusercontent.com/u/1207250?v=3","gravatar_id":"","url":"https://api.github.com/users/alansouzati","html_url":"https://github.com/alansouzati","followers_url":"https://api.github.com/users/alansouzati/followers","following_url":"https://api.github.com/users/alansouzati/following{/other_user}","gists_url":"https://api.github.com/users/alansouzati/gists{/gist_id}","starred_url":"https://api.github.com/users/alansouzati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alansouzati/subscriptions","organizations_url":"https://api.github.com/users/alansouzati/orgs","repos_url":"https://api.github.com/users/alansouzati/repos","events_url":"https://api.github.com/users/alansouzati/events{/privacy}","received_events_url":"https://api.github.com/users/alansouzati/received_events","type":"User","site_admin":false},"body":"This PR aims to fix #57.\r\n\r\nI've created a defaultVariables object which is used by definition function to check for default values. If present the default value is used, otherwise the css value is maintained.","created_at":"2016-07-14T16:51:48Z","updated_at":"2016-07-21T20:59:44Z","closed_at":"2016-07-21T20:59:44Z","merged_at":"2016-07-21T20:59:44Z","merge_commit_sha":"c9c576dab45e2d0b701243eaa3bc87f4e7c86400","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58/commits","review_comments_url":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58/comments","review_comment_url":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/comments{/number}","comments_url":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/58/comments","statuses_url":"https://api.github.com/repos/postcss/postcss-simple-vars/statuses/62d6c8e8f9b8a4df1db629c45b5737640a39b823","head":{"label":"alansouzati:DEFAULT_VARS","ref":"DEFAULT_VARS","sha":"62d6c8e8f9b8a4df1db629c45b5737640a39b823","user":{"login":"alansouzati","id":1207250,"avatar_url":"https://avatars.githubusercontent.com/u/1207250?v=3","gravatar_id":"","url":"https://api.github.com/users/alansouzati","html_url":"https://github.com/alansouzati","followers_url":"https://api.github.com/users/alansouzati/followers","following_url":"https://api.github.com/users/alansouzati/following{/other_user}","gists_url":"https://api.github.com/users/alansouzati/gists{/gist_id}","starred_url":"https://api.github.com/users/alansouzati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alansouzati/subscriptions","organizations_url":"https://api.github.com/users/alansouzati/orgs","repos_url":"https://api.github.com/users/alansouzati/repos","events_url":"https://api.github.com/users/alansouzati/events{/privacy}","received_events_url":"https://api.github.com/users/alansouzati/received_events","type":"User","site_admin":false},"repo":{"id":63199502,"name":"postcss-simple-vars","full_name":"alansouzati/postcss-simple-vars","owner":{"login":"alansouzati","id":1207250,"avatar_url":"https://avatars.githubusercontent.com/u/1207250?v=3","gravatar_id":"","url":"https://api.github.com/users/alansouzati","html_url":"https://github.com/alansouzati","followers_url":"https://api.github.com/users/alansouzati/followers","following_url":"https://api.github.com/users/alansouzati/following{/other_user}","gists_url":"https://api.github.com/users/alansouzati/gists{/gist_id}","starred_url":"https://api.github.com/users/alansouzati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alansouzati/subscriptions","organizations_url":"https://api.github.com/users/alansouzati/orgs","repos_url":"https://api.github.com/users/alansouzati/repos","events_url":"https://api.github.com/users/alansouzati/events{/privacy}","received_events_url":"https://api.github.com/users/alansouzati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alansouzati/postcss-simple-vars","description":"PostCSS plugin for Sass-like variables","fork":true,"url":"https://api.github.com/repos/alansouzati/postcss-simple-vars","forks_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/forks","keys_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/teams","hooks_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/hooks","issue_events_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/issues/events{/number}","events_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/events","assignees_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/assignees{/user}","branches_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/branches{/branch}","tags_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/tags","blobs_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/git/refs{/sha}","trees_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/statuses/{sha}","languages_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/languages","stargazers_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/stargazers","contributors_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/contributors","subscribers_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/subscribers","subscription_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/subscription","commits_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/commits{/sha}","git_commits_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/git/commits{/sha}","comments_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/comments{/number}","issue_comment_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/issues/comments{/number}","contents_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/contents/{+path}","compare_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/merges","archive_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/downloads","issues_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/issues{/number}","pulls_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/pulls{/number}","milestones_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/milestones{/number}","notifications_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/labels{/name}","releases_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/releases{/id}","deployments_url":"https://api.github.com/repos/alansouzati/postcss-simple-vars/deployments","created_at":"2016-07-12T23:37:29Z","updated_at":"2016-07-12T23:37:30Z","pushed_at":"2016-07-14T16:44:07Z","git_url":"git://github.com/alansouzati/postcss-simple-vars.git","ssh_url":"git@github.com:alansouzati/postcss-simple-vars.git","clone_url":"https://github.com/alansouzati/postcss-simple-vars.git","svn_url":"https://github.com/alansouzati/postcss-simple-vars","homepage":"","size":57,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"postcss:master","ref":"master","sha":"3836e23d2fd82c87ff59ac4bbe839c50db543b9a","user":{"login":"postcss","id":8296347,"avatar_url":"https://avatars.githubusercontent.com/u/8296347?v=3","gravatar_id":"","url":"https://api.github.com/users/postcss","html_url":"https://github.com/postcss","followers_url":"https://api.github.com/users/postcss/followers","following_url":"https://api.github.com/users/postcss/following{/other_user}","gists_url":"https://api.github.com/users/postcss/gists{/gist_id}","starred_url":"https://api.github.com/users/postcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postcss/subscriptions","organizations_url":"https://api.github.com/users/postcss/orgs","repos_url":"https://api.github.com/users/postcss/repos","events_url":"https://api.github.com/users/postcss/events{/privacy}","received_events_url":"https://api.github.com/users/postcss/received_events","type":"Organization","site_admin":false},"repo":{"id":30113569,"name":"postcss-simple-vars","full_name":"postcss/postcss-simple-vars","owner":{"login":"postcss","id":8296347,"avatar_url":"https://avatars.githubusercontent.com/u/8296347?v=3","gravatar_id":"","url":"https://api.github.com/users/postcss","html_url":"https://github.com/postcss","followers_url":"https://api.github.com/users/postcss/followers","following_url":"https://api.github.com/users/postcss/following{/other_user}","gists_url":"https://api.github.com/users/postcss/gists{/gist_id}","starred_url":"https://api.github.com/users/postcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postcss/subscriptions","organizations_url":"https://api.github.com/users/postcss/orgs","repos_url":"https://api.github.com/users/postcss/repos","events_url":"https://api.github.com/users/postcss/events{/privacy}","received_events_url":"https://api.github.com/users/postcss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postcss/postcss-simple-vars","description":"PostCSS plugin for Sass-like variables","fork":false,"url":"https://api.github.com/repos/postcss/postcss-simple-vars","forks_url":"https://api.github.com/repos/postcss/postcss-simple-vars/forks","keys_url":"https://api.github.com/repos/postcss/postcss-simple-vars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postcss/postcss-simple-vars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postcss/postcss-simple-vars/teams","hooks_url":"https://api.github.com/repos/postcss/postcss-simple-vars/hooks","issue_events_url":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/events{/number}","events_url":"https://api.github.com/repos/postcss/postcss-simple-vars/events","assignees_url":"https://api.github.com/repos/postcss/postcss-simple-vars/assignees{/user}","branches_url":"https://api.github.com/repos/postcss/postcss-simple-vars/branches{/branch}","tags_url":"https://api.github.com/repos/postcss/postcss-simple-vars/tags","blobs_url":"https://api.github.com/repos/postcss/postcss-simple-vars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postcss/postcss-simple-vars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postcss/postcss-simple-vars/git/refs{/sha}","trees_url":"https://api.github.com/repos/postcss/postcss-simple-vars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postcss/postcss-simple-vars/statuses/{sha}","languages_url":"https://api.github.com/repos/postcss/postcss-simple-vars/languages","stargazers_url":"https://api.github.com/repos/postcss/postcss-simple-vars/stargazers","contributors_url":"https://api.github.com/repos/postcss/postcss-simple-vars/contributors","subscribers_url":"https://api.github.com/repos/postcss/postcss-simple-vars/subscribers","subscription_url":"https://api.github.com/repos/postcss/postcss-simple-vars/subscription","commits_url":"https://api.github.com/repos/postcss/postcss-simple-vars/commits{/sha}","git_commits_url":"https://api.github.com/repos/postcss/postcss-simple-vars/git/commits{/sha}","comments_url":"https://api.github.com/repos/postcss/postcss-simple-vars/comments{/number}","issue_comment_url":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/comments{/number}","contents_url":"https://api.github.com/repos/postcss/postcss-simple-vars/contents/{+path}","compare_url":"https://api.github.com/repos/postcss/postcss-simple-vars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postcss/postcss-simple-vars/merges","archive_url":"https://api.github.com/repos/postcss/postcss-simple-vars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postcss/postcss-simple-vars/downloads","issues_url":"https://api.github.com/repos/postcss/postcss-simple-vars/issues{/number}","pulls_url":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls{/number}","milestones_url":"https://api.github.com/repos/postcss/postcss-simple-vars/milestones{/number}","notifications_url":"https://api.github.com/repos/postcss/postcss-simple-vars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postcss/postcss-simple-vars/labels{/name}","releases_url":"https://api.github.com/repos/postcss/postcss-simple-vars/releases{/id}","deployments_url":"https://api.github.com/repos/postcss/postcss-simple-vars/deployments","created_at":"2015-01-31T13:55:45Z","updated_at":"2016-07-19T08:31:37Z","pushed_at":"2016-07-21T20:59:45Z","git_url":"git://github.com/postcss/postcss-simple-vars.git","ssh_url":"git@github.com:postcss/postcss-simple-vars.git","clone_url":"https://github.com/postcss/postcss-simple-vars.git","svn_url":"https://github.com/postcss/postcss-simple-vars","homepage":"","size":63,"stargazers_count":133,"watchers_count":133,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":1,"forks":18,"open_issues":1,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58"},"html":{"href":"https://github.com/postcss/postcss-simple-vars/pull/58"},"issue":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/58"},"comments":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/postcss/postcss-simple-vars/statuses/62d6c8e8f9b8a4df1db629c45b5737640a39b823"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"comments":10,"review_comments":0,"commits":1,"additions":14,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"ai"}}