{"action":"created","comment":{"url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/comments/57970726","id":57970726,"diff_hunk":"@@ -0,0 +1,22 @@\n+\n+'use strict';\n+\n+var expect = require('chai').expect;\n+var slug   = require('../helpers/slug');\n+\n+describe('helpers/slug', function() {\n+\n+    it('creates slug from values', function() {\n+        expect(slug('Example Title')).to.equal('example-title');\n+        expect(slug('EXAMPLE TITLE')).to.equal('example-title');\n+        expect(slug('EXAMPLE      TITLE')).to.equal('example-title');\n+        expect(slug('        EXAMPLE      TITLE         ')).to.equal('example-title');\n+    });\n+\n+\n+    it('handles turkish characters', function() {\n+        expect(slug('TÜRKÇE KARAKTER İÇEREN BİR STRING'))\n+            .to.equal('turkce-karakter-iceren-bir-string');","path":"test/helpers_slug_test.js","position":19,"original_position":19,"commit_id":"5315f0f833427019b54c7c9577b9f0fc9ab4b907","original_commit_id":"5315f0f833427019b54c7c9577b9f0fc9ab4b907","user":{"login":"onur","id":345828,"avatar_url":"https://avatars.githubusercontent.com/u/345828?v=3","gravatar_id":"","url":"https://api.github.com/users/onur","html_url":"https://github.com/onur","followers_url":"https://api.github.com/users/onur/followers","following_url":"https://api.github.com/users/onur/following{/other_user}","gists_url":"https://api.github.com/users/onur/gists{/gist_id}","starred_url":"https://api.github.com/users/onur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onur/subscriptions","organizations_url":"https://api.github.com/users/onur/orgs","repos_url":"https://api.github.com/users/onur/repos","events_url":"https://api.github.com/users/onur/events{/privacy}","received_events_url":"https://api.github.com/users/onur/received_events","type":"User","site_admin":false},"body":"Ondan ben de emin değilim fakat şahsen Türkçe karakter içeren sluglar hiç hoşuma gitmiyor. Örneğin sac yerine saç kullansak o link olarak: `example.com/sa%C3%A7`'a dönüşüyor. Sac ile saç'ı ayırmak için url içinde e***'nin yaptığı gibi topic idsini de kullanabiliriz.","created_at":"2016-03-30T21:54:56Z","updated_at":"2016-03-30T21:54:56Z","html_url":"https://github.com/aciksozluk/aciksozluk-api/pull/10#discussion_r57970726","pull_request_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/comments/57970726"},"html":{"href":"https://github.com/aciksozluk/aciksozluk-api/pull/10#discussion_r57970726"},"pull_request":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10","id":64276982,"html_url":"https://github.com/aciksozluk/aciksozluk-api/pull/10","diff_url":"https://github.com/aciksozluk/aciksozluk-api/pull/10.diff","patch_url":"https://github.com/aciksozluk/aciksozluk-api/pull/10.patch","issue_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/10","number":10,"state":"open","locked":false,"title":"db model","user":{"login":"KiPSOFT","id":2437923,"avatar_url":"https://avatars.githubusercontent.com/u/2437923?v=3","gravatar_id":"","url":"https://api.github.com/users/KiPSOFT","html_url":"https://github.com/KiPSOFT","followers_url":"https://api.github.com/users/KiPSOFT/followers","following_url":"https://api.github.com/users/KiPSOFT/following{/other_user}","gists_url":"https://api.github.com/users/KiPSOFT/gists{/gist_id}","starred_url":"https://api.github.com/users/KiPSOFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiPSOFT/subscriptions","organizations_url":"https://api.github.com/users/KiPSOFT/orgs","repos_url":"https://api.github.com/users/KiPSOFT/repos","events_url":"https://api.github.com/users/KiPSOFT/events{/privacy}","received_events_url":"https://api.github.com/users/KiPSOFT/received_events","type":"User","site_admin":false},"body":"db model.","created_at":"2016-03-27T22:19:54Z","updated_at":"2016-03-30T21:54:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e20671165b92c5fe4a23ae8c1edd24a7d69f0123","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10/commits","review_comments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10/comments","review_comment_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/10/comments","statuses_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/statuses/5315f0f833427019b54c7c9577b9f0fc9ab4b907","head":{"label":"aciksozluk:db-models","ref":"db-models","sha":"5315f0f833427019b54c7c9577b9f0fc9ab4b907","user":{"login":"aciksozluk","id":17812733,"avatar_url":"https://avatars.githubusercontent.com/u/17812733?v=3","gravatar_id":"","url":"https://api.github.com/users/aciksozluk","html_url":"https://github.com/aciksozluk","followers_url":"https://api.github.com/users/aciksozluk/followers","following_url":"https://api.github.com/users/aciksozluk/following{/other_user}","gists_url":"https://api.github.com/users/aciksozluk/gists{/gist_id}","starred_url":"https://api.github.com/users/aciksozluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciksozluk/subscriptions","organizations_url":"https://api.github.com/users/aciksozluk/orgs","repos_url":"https://api.github.com/users/aciksozluk/repos","events_url":"https://api.github.com/users/aciksozluk/events{/privacy}","received_events_url":"https://api.github.com/users/aciksozluk/received_events","type":"Organization","site_admin":false},"repo":{"id":54636395,"name":"aciksozluk-api","full_name":"aciksozluk/aciksozluk-api","owner":{"login":"aciksozluk","id":17812733,"avatar_url":"https://avatars.githubusercontent.com/u/17812733?v=3","gravatar_id":"","url":"https://api.github.com/users/aciksozluk","html_url":"https://github.com/aciksozluk","followers_url":"https://api.github.com/users/aciksozluk/followers","following_url":"https://api.github.com/users/aciksozluk/following{/other_user}","gists_url":"https://api.github.com/users/aciksozluk/gists{/gist_id}","starred_url":"https://api.github.com/users/aciksozluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciksozluk/subscriptions","organizations_url":"https://api.github.com/users/aciksozluk/orgs","repos_url":"https://api.github.com/users/aciksozluk/repos","events_url":"https://api.github.com/users/aciksozluk/events{/privacy}","received_events_url":"https://api.github.com/users/aciksozluk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aciksozluk/aciksozluk-api","description":"Açıksözlük REST API","fork":false,"url":"https://api.github.com/repos/aciksozluk/aciksozluk-api","forks_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/forks","keys_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/teams","hooks_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/hooks","issue_events_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/events{/number}","events_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/events","assignees_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/assignees{/user}","branches_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/branches{/branch}","tags_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/tags","blobs_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/languages","stargazers_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/stargazers","contributors_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/contributors","subscribers_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/subscribers","subscription_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/subscription","commits_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/contents/{+path}","compare_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/merges","archive_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/downloads","issues_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues{/number}","pulls_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/labels{/name}","releases_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/releases{/id}","deployments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/deployments","created_at":"2016-03-24T11:18:08Z","updated_at":"2016-03-29T09:17:11Z","pushed_at":"2016-03-30T21:11:30Z","git_url":"git://github.com/aciksozluk/aciksozluk-api.git","ssh_url":"git@github.com:aciksozluk/aciksozluk-api.git","clone_url":"https://github.com/aciksozluk/aciksozluk-api.git","svn_url":"https://github.com/aciksozluk/aciksozluk-api","homepage":"","size":38,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"aciksozluk:master","ref":"master","sha":"0e04cc847e25e16257381ab3602cc718f6e12370","user":{"login":"aciksozluk","id":17812733,"avatar_url":"https://avatars.githubusercontent.com/u/17812733?v=3","gravatar_id":"","url":"https://api.github.com/users/aciksozluk","html_url":"https://github.com/aciksozluk","followers_url":"https://api.github.com/users/aciksozluk/followers","following_url":"https://api.github.com/users/aciksozluk/following{/other_user}","gists_url":"https://api.github.com/users/aciksozluk/gists{/gist_id}","starred_url":"https://api.github.com/users/aciksozluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciksozluk/subscriptions","organizations_url":"https://api.github.com/users/aciksozluk/orgs","repos_url":"https://api.github.com/users/aciksozluk/repos","events_url":"https://api.github.com/users/aciksozluk/events{/privacy}","received_events_url":"https://api.github.com/users/aciksozluk/received_events","type":"Organization","site_admin":false},"repo":{"id":54636395,"name":"aciksozluk-api","full_name":"aciksozluk/aciksozluk-api","owner":{"login":"aciksozluk","id":17812733,"avatar_url":"https://avatars.githubusercontent.com/u/17812733?v=3","gravatar_id":"","url":"https://api.github.com/users/aciksozluk","html_url":"https://github.com/aciksozluk","followers_url":"https://api.github.com/users/aciksozluk/followers","following_url":"https://api.github.com/users/aciksozluk/following{/other_user}","gists_url":"https://api.github.com/users/aciksozluk/gists{/gist_id}","starred_url":"https://api.github.com/users/aciksozluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aciksozluk/subscriptions","organizations_url":"https://api.github.com/users/aciksozluk/orgs","repos_url":"https://api.github.com/users/aciksozluk/repos","events_url":"https://api.github.com/users/aciksozluk/events{/privacy}","received_events_url":"https://api.github.com/users/aciksozluk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aciksozluk/aciksozluk-api","description":"Açıksözlük REST API","fork":false,"url":"https://api.github.com/repos/aciksozluk/aciksozluk-api","forks_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/forks","keys_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/teams","hooks_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/hooks","issue_events_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/events{/number}","events_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/events","assignees_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/assignees{/user}","branches_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/branches{/branch}","tags_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/tags","blobs_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/languages","stargazers_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/stargazers","contributors_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/contributors","subscribers_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/subscribers","subscription_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/subscription","commits_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/contents/{+path}","compare_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/merges","archive_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/downloads","issues_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues{/number}","pulls_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/labels{/name}","releases_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/releases{/id}","deployments_url":"https://api.github.com/repos/aciksozluk/aciksozluk-api/deployments","created_at":"2016-03-24T11:18:08Z","updated_at":"2016-03-29T09:17:11Z","pushed_at":"2016-03-30T21:11:30Z","git_url":"git://github.com/aciksozluk/aciksozluk-api.git","ssh_url":"git@github.com:aciksozluk/aciksozluk-api.git","clone_url":"https://github.com/aciksozluk/aciksozluk-api.git","svn_url":"https://github.com/aciksozluk/aciksozluk-api","homepage":"","size":38,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10"},"html":{"href":"https://github.com/aciksozluk/aciksozluk-api/pull/10"},"issue":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/10"},"comments":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/aciksozluk/aciksozluk-api/statuses/5315f0f833427019b54c7c9577b9f0fc9ab4b907"}}}}