{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1","id":231335977,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMzM1OTc3","html_url":"https://github.com/OviBortas/swift-abstracted-style/pull/1","diff_url":"https://github.com/OviBortas/swift-abstracted-style/pull/1.diff","patch_url":"https://github.com/OviBortas/swift-abstracted-style/pull/1.patch","issue_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/1","number":1,"state":"open","locked":false,"title":"Implement code generation logic","user":{"login":"OviBortas","id":6180876,"node_id":"MDQ6VXNlcjYxODA4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6180876?v=4","gravatar_id":"","url":"https://api.github.com/users/OviBortas","html_url":"https://github.com/OviBortas","followers_url":"https://api.github.com/users/OviBortas/followers","following_url":"https://api.github.com/users/OviBortas/following{/other_user}","gists_url":"https://api.github.com/users/OviBortas/gists{/gist_id}","starred_url":"https://api.github.com/users/OviBortas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OviBortas/subscriptions","organizations_url":"https://api.github.com/users/OviBortas/orgs","repos_url":"https://api.github.com/users/OviBortas/repos","events_url":"https://api.github.com/users/OviBortas/events{/privacy}","received_events_url":"https://api.github.com/users/OviBortas/received_events","type":"User","site_admin":false},"body":"### What does this PR do? :soccer:\r\n<!-- \r\nList the high-level goals or objectives of this pull request. \r\nInclude any relevant context. \r\nUse this area to tell a story.\r\n -->\r\nThis PR adds the logic needed to create the code generation for Fonts and Colors.\r\n\r\n### Tell me about any important implementation details. :construction:\r\n<!-- \r\nExplain the reasoning behind any architectural changes.\r\nExplain how you solved particularly challenging problems.\r\nHighlight any new utility classes, methods, or dependencies.\r\nHighlight and explain any new patterns. \r\n-->\r\n\r\n### How can this PR be tested? :mag:\r\n<!-- \r\nDescribe steps for testing all scenarios relevant to these changes. Include:\r\n- account credentials (if applicable);\r\n- any restrictions on environment to use;\r\n- areas where regression testing should be performed.\r\n-->\r\n1. Run `npm start` on the project.\r\n2. Open zeplin and in the menu bar go to `Extensions` > `Manage Project Extensions`. Disable all other extensions except `swift-abstracted-style` and tap `done`\r\n3. Go to the `Styleguide` > `Colors & Text Styles` in Zeplin\r\n4. In the right panel where code generation is shown you should see code for named and abstracted colors generated along with abstracted fonts.\r\n","created_at":"2018-11-15T21:13:38Z","updated_at":"2018-11-15T21:13:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/1/comments","statuses_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/statuses/ee57cca906b9d1404a14d612a4d4e350346eefaa","head":{"label":"OviBortas:implement-code-gen-logic","ref":"implement-code-gen-logic","sha":"ee57cca906b9d1404a14d612a4d4e350346eefaa","user":{"login":"OviBortas","id":6180876,"node_id":"MDQ6VXNlcjYxODA4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6180876?v=4","gravatar_id":"","url":"https://api.github.com/users/OviBortas","html_url":"https://github.com/OviBortas","followers_url":"https://api.github.com/users/OviBortas/followers","following_url":"https://api.github.com/users/OviBortas/following{/other_user}","gists_url":"https://api.github.com/users/OviBortas/gists{/gist_id}","starred_url":"https://api.github.com/users/OviBortas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OviBortas/subscriptions","organizations_url":"https://api.github.com/users/OviBortas/orgs","repos_url":"https://api.github.com/users/OviBortas/repos","events_url":"https://api.github.com/users/OviBortas/events{/privacy}","received_events_url":"https://api.github.com/users/OviBortas/received_events","type":"User","site_admin":false},"repo":{"id":157769089,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3NjkwODk=","name":"swift-abstracted-style","full_name":"OviBortas/swift-abstracted-style","private":false,"owner":{"login":"OviBortas","id":6180876,"node_id":"MDQ6VXNlcjYxODA4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6180876?v=4","gravatar_id":"","url":"https://api.github.com/users/OviBortas","html_url":"https://github.com/OviBortas","followers_url":"https://api.github.com/users/OviBortas/followers","following_url":"https://api.github.com/users/OviBortas/following{/other_user}","gists_url":"https://api.github.com/users/OviBortas/gists{/gist_id}","starred_url":"https://api.github.com/users/OviBortas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OviBortas/subscriptions","organizations_url":"https://api.github.com/users/OviBortas/orgs","repos_url":"https://api.github.com/users/OviBortas/repos","events_url":"https://api.github.com/users/OviBortas/events{/privacy}","received_events_url":"https://api.github.com/users/OviBortas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/OviBortas/swift-abstracted-style","description":"A zeplin extension which provides Swift code generation for abstracted font styles.","fork":false,"url":"https://api.github.com/repos/OviBortas/swift-abstracted-style","forks_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/forks","keys_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/teams","hooks_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/hooks","issue_events_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/events{/number}","events_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/events","assignees_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/assignees{/user}","branches_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/branches{/branch}","tags_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/tags","blobs_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/statuses/{sha}","languages_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/languages","stargazers_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/stargazers","contributors_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/contributors","subscribers_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/subscribers","subscription_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/subscription","commits_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/contents/{+path}","compare_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/merges","archive_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/downloads","issues_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues{/number}","pulls_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls{/number}","milestones_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/milestones{/number}","notifications_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/labels{/name}","releases_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/releases{/id}","deployments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/deployments","created_at":"2018-11-15T20:32:42Z","updated_at":"2018-11-15T20:32:50Z","pushed_at":"2018-11-15T20:41:57Z","git_url":"git://github.com/OviBortas/swift-abstracted-style.git","ssh_url":"git@github.com:OviBortas/swift-abstracted-style.git","clone_url":"https://github.com/OviBortas/swift-abstracted-style.git","svn_url":"https://github.com/OviBortas/swift-abstracted-style","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"OviBortas:master","ref":"master","sha":"19d6cccd95c96584b86755597d12b8b74b3ba19d","user":{"login":"OviBortas","id":6180876,"node_id":"MDQ6VXNlcjYxODA4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6180876?v=4","gravatar_id":"","url":"https://api.github.com/users/OviBortas","html_url":"https://github.com/OviBortas","followers_url":"https://api.github.com/users/OviBortas/followers","following_url":"https://api.github.com/users/OviBortas/following{/other_user}","gists_url":"https://api.github.com/users/OviBortas/gists{/gist_id}","starred_url":"https://api.github.com/users/OviBortas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OviBortas/subscriptions","organizations_url":"https://api.github.com/users/OviBortas/orgs","repos_url":"https://api.github.com/users/OviBortas/repos","events_url":"https://api.github.com/users/OviBortas/events{/privacy}","received_events_url":"https://api.github.com/users/OviBortas/received_events","type":"User","site_admin":false},"repo":{"id":157769089,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3NjkwODk=","name":"swift-abstracted-style","full_name":"OviBortas/swift-abstracted-style","private":false,"owner":{"login":"OviBortas","id":6180876,"node_id":"MDQ6VXNlcjYxODA4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6180876?v=4","gravatar_id":"","url":"https://api.github.com/users/OviBortas","html_url":"https://github.com/OviBortas","followers_url":"https://api.github.com/users/OviBortas/followers","following_url":"https://api.github.com/users/OviBortas/following{/other_user}","gists_url":"https://api.github.com/users/OviBortas/gists{/gist_id}","starred_url":"https://api.github.com/users/OviBortas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OviBortas/subscriptions","organizations_url":"https://api.github.com/users/OviBortas/orgs","repos_url":"https://api.github.com/users/OviBortas/repos","events_url":"https://api.github.com/users/OviBortas/events{/privacy}","received_events_url":"https://api.github.com/users/OviBortas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/OviBortas/swift-abstracted-style","description":"A zeplin extension which provides Swift code generation for abstracted font styles.","fork":false,"url":"https://api.github.com/repos/OviBortas/swift-abstracted-style","forks_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/forks","keys_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/teams","hooks_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/hooks","issue_events_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/events{/number}","events_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/events","assignees_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/assignees{/user}","branches_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/branches{/branch}","tags_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/tags","blobs_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/statuses/{sha}","languages_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/languages","stargazers_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/stargazers","contributors_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/contributors","subscribers_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/subscribers","subscription_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/subscription","commits_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/contents/{+path}","compare_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/merges","archive_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/downloads","issues_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues{/number}","pulls_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls{/number}","milestones_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/milestones{/number}","notifications_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/labels{/name}","releases_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/releases{/id}","deployments_url":"https://api.github.com/repos/OviBortas/swift-abstracted-style/deployments","created_at":"2018-11-15T20:32:42Z","updated_at":"2018-11-15T20:32:50Z","pushed_at":"2018-11-15T20:41:57Z","git_url":"git://github.com/OviBortas/swift-abstracted-style.git","ssh_url":"git@github.com:OviBortas/swift-abstracted-style.git","clone_url":"https://github.com/OviBortas/swift-abstracted-style.git","svn_url":"https://github.com/OviBortas/swift-abstracted-style","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1"},"html":{"href":"https://github.com/OviBortas/swift-abstracted-style/pull/1"},"issue":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/1"},"comments":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OviBortas/swift-abstracted-style/statuses/ee57cca906b9d1404a14d612a4d4e350346eefaa"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":132,"deletions":9,"changed_files":5}}
{"actor":{"display_login":"OviBortas"}}