{"action":"created","comment":{"url":"https://api.github.com/repos/rsl/stringex/pulls/comments/31676266","id":31676266,"diff_hunk":"@@ -187,8 +187,8 @@ def to_url(options = {})\n         whitespace_replacement_token = options[:replace_whitespace_with]\n         dummy = remove_formatting(options).\n                   replace_whitespace(whitespace_replacement_token).\n-                  collapse(\"-\").\n-                  limit(options[:limit], options[:truncate_words])\n+                  collapse(whitespace_replacement_token).\n+                  limit(options[:limit], options[:truncate_words], whitespace_replacement_token)","path":"lib/stringex/string_extensions.rb","position":38,"original_position":38,"commit_id":"430f923705575910027ab6b1aca828df407f6106","original_commit_id":"430f923705575910027ab6b1aca828df407f6106","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [96/80]<br>Align the operands of an expression in an assignment spanning multiple lines.","created_at":"2015-06-03T22:15:26Z","updated_at":"2015-06-03T22:15:26Z","html_url":"https://github.com/rsl/stringex/pull/173#discussion_r31676266","pull_request_url":"https://api.github.com/repos/rsl/stringex/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/rsl/stringex/pulls/comments/31676266"},"html":{"href":"https://github.com/rsl/stringex/pull/173#discussion_r31676266"},"pull_request":{"href":"https://api.github.com/repos/rsl/stringex/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/rsl/stringex/pulls/173","id":36884164,"html_url":"https://github.com/rsl/stringex/pull/173","diff_url":"https://github.com/rsl/stringex/pull/173.diff","patch_url":"https://github.com/rsl/stringex/pull/173.patch","issue_url":"https://api.github.com/repos/rsl/stringex/issues/173","number":173,"state":"open","locked":false,"title":"Fix for the case with truncate_words: false and custom replace_whitespace_with","user":{"login":"senotrusov","id":74311,"avatar_url":"https://avatars.githubusercontent.com/u/74311?v=3","gravatar_id":"","url":"https://api.github.com/users/senotrusov","html_url":"https://github.com/senotrusov","followers_url":"https://api.github.com/users/senotrusov/followers","following_url":"https://api.github.com/users/senotrusov/following{/other_user}","gists_url":"https://api.github.com/users/senotrusov/gists{/gist_id}","starred_url":"https://api.github.com/users/senotrusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senotrusov/subscriptions","organizations_url":"https://api.github.com/users/senotrusov/orgs","repos_url":"https://api.github.com/users/senotrusov/repos","events_url":"https://api.github.com/users/senotrusov/events{/privacy}","received_events_url":"https://api.github.com/users/senotrusov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-03T22:15:20Z","updated_at":"2015-06-03T22:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57ba4f8034c62b4265ee14c7f9dd59c657ad8c85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rsl/stringex/pulls/173/commits","review_comments_url":"https://api.github.com/repos/rsl/stringex/pulls/173/comments","review_comment_url":"https://api.github.com/repos/rsl/stringex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rsl/stringex/issues/173/comments","statuses_url":"https://api.github.com/repos/rsl/stringex/statuses/430f923705575910027ab6b1aca828df407f6106","head":{"label":"senotrusov:master","ref":"master","sha":"430f923705575910027ab6b1aca828df407f6106","user":{"login":"senotrusov","id":74311,"avatar_url":"https://avatars.githubusercontent.com/u/74311?v=3","gravatar_id":"","url":"https://api.github.com/users/senotrusov","html_url":"https://github.com/senotrusov","followers_url":"https://api.github.com/users/senotrusov/followers","following_url":"https://api.github.com/users/senotrusov/following{/other_user}","gists_url":"https://api.github.com/users/senotrusov/gists{/gist_id}","starred_url":"https://api.github.com/users/senotrusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senotrusov/subscriptions","organizations_url":"https://api.github.com/users/senotrusov/orgs","repos_url":"https://api.github.com/users/senotrusov/repos","events_url":"https://api.github.com/users/senotrusov/events{/privacy}","received_events_url":"https://api.github.com/users/senotrusov/received_events","type":"User","site_admin":false},"repo":{"id":36832765,"name":"stringex","full_name":"senotrusov/stringex","owner":{"login":"senotrusov","id":74311,"avatar_url":"https://avatars.githubusercontent.com/u/74311?v=3","gravatar_id":"","url":"https://api.github.com/users/senotrusov","html_url":"https://github.com/senotrusov","followers_url":"https://api.github.com/users/senotrusov/followers","following_url":"https://api.github.com/users/senotrusov/following{/other_user}","gists_url":"https://api.github.com/users/senotrusov/gists{/gist_id}","starred_url":"https://api.github.com/users/senotrusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senotrusov/subscriptions","organizations_url":"https://api.github.com/users/senotrusov/orgs","repos_url":"https://api.github.com/users/senotrusov/repos","events_url":"https://api.github.com/users/senotrusov/events{/privacy}","received_events_url":"https://api.github.com/users/senotrusov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/senotrusov/stringex","description":"Some [hopefully] useful extensions to Ruby’s String class. It is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class].","fork":true,"url":"https://api.github.com/repos/senotrusov/stringex","forks_url":"https://api.github.com/repos/senotrusov/stringex/forks","keys_url":"https://api.github.com/repos/senotrusov/stringex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senotrusov/stringex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senotrusov/stringex/teams","hooks_url":"https://api.github.com/repos/senotrusov/stringex/hooks","issue_events_url":"https://api.github.com/repos/senotrusov/stringex/issues/events{/number}","events_url":"https://api.github.com/repos/senotrusov/stringex/events","assignees_url":"https://api.github.com/repos/senotrusov/stringex/assignees{/user}","branches_url":"https://api.github.com/repos/senotrusov/stringex/branches{/branch}","tags_url":"https://api.github.com/repos/senotrusov/stringex/tags","blobs_url":"https://api.github.com/repos/senotrusov/stringex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senotrusov/stringex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senotrusov/stringex/git/refs{/sha}","trees_url":"https://api.github.com/repos/senotrusov/stringex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senotrusov/stringex/statuses/{sha}","languages_url":"https://api.github.com/repos/senotrusov/stringex/languages","stargazers_url":"https://api.github.com/repos/senotrusov/stringex/stargazers","contributors_url":"https://api.github.com/repos/senotrusov/stringex/contributors","subscribers_url":"https://api.github.com/repos/senotrusov/stringex/subscribers","subscription_url":"https://api.github.com/repos/senotrusov/stringex/subscription","commits_url":"https://api.github.com/repos/senotrusov/stringex/commits{/sha}","git_commits_url":"https://api.github.com/repos/senotrusov/stringex/git/commits{/sha}","comments_url":"https://api.github.com/repos/senotrusov/stringex/comments{/number}","issue_comment_url":"https://api.github.com/repos/senotrusov/stringex/issues/comments{/number}","contents_url":"https://api.github.com/repos/senotrusov/stringex/contents/{+path}","compare_url":"https://api.github.com/repos/senotrusov/stringex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senotrusov/stringex/merges","archive_url":"https://api.github.com/repos/senotrusov/stringex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senotrusov/stringex/downloads","issues_url":"https://api.github.com/repos/senotrusov/stringex/issues{/number}","pulls_url":"https://api.github.com/repos/senotrusov/stringex/pulls{/number}","milestones_url":"https://api.github.com/repos/senotrusov/stringex/milestones{/number}","notifications_url":"https://api.github.com/repos/senotrusov/stringex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senotrusov/stringex/labels{/name}","releases_url":"https://api.github.com/repos/senotrusov/stringex/releases{/id}","created_at":"2015-06-03T21:54:36Z","updated_at":"2015-06-03T21:54:37Z","pushed_at":"2015-06-03T22:09:56Z","git_url":"git://github.com/senotrusov/stringex.git","ssh_url":"git@github.com:senotrusov/stringex.git","clone_url":"https://github.com/senotrusov/stringex.git","svn_url":"https://github.com/senotrusov/stringex","homepage":"","size":1929,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rsl:master","ref":"master","sha":"596e4301826e76e142390c9eee445dfc5864a8bc","user":{"login":"rsl","id":92,"avatar_url":"https://avatars.githubusercontent.com/u/92?v=3","gravatar_id":"","url":"https://api.github.com/users/rsl","html_url":"https://github.com/rsl","followers_url":"https://api.github.com/users/rsl/followers","following_url":"https://api.github.com/users/rsl/following{/other_user}","gists_url":"https://api.github.com/users/rsl/gists{/gist_id}","starred_url":"https://api.github.com/users/rsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsl/subscriptions","organizations_url":"https://api.github.com/users/rsl/orgs","repos_url":"https://api.github.com/users/rsl/repos","events_url":"https://api.github.com/users/rsl/events{/privacy}","received_events_url":"https://api.github.com/users/rsl/received_events","type":"User","site_admin":false},"repo":{"id":765,"name":"stringex","full_name":"rsl/stringex","owner":{"login":"rsl","id":92,"avatar_url":"https://avatars.githubusercontent.com/u/92?v=3","gravatar_id":"","url":"https://api.github.com/users/rsl","html_url":"https://github.com/rsl","followers_url":"https://api.github.com/users/rsl/followers","following_url":"https://api.github.com/users/rsl/following{/other_user}","gists_url":"https://api.github.com/users/rsl/gists{/gist_id}","starred_url":"https://api.github.com/users/rsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsl/subscriptions","organizations_url":"https://api.github.com/users/rsl/orgs","repos_url":"https://api.github.com/users/rsl/repos","events_url":"https://api.github.com/users/rsl/events{/privacy}","received_events_url":"https://api.github.com/users/rsl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rsl/stringex","description":"Some [hopefully] useful extensions to Ruby’s String class. It is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class].","fork":false,"url":"https://api.github.com/repos/rsl/stringex","forks_url":"https://api.github.com/repos/rsl/stringex/forks","keys_url":"https://api.github.com/repos/rsl/stringex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rsl/stringex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rsl/stringex/teams","hooks_url":"https://api.github.com/repos/rsl/stringex/hooks","issue_events_url":"https://api.github.com/repos/rsl/stringex/issues/events{/number}","events_url":"https://api.github.com/repos/rsl/stringex/events","assignees_url":"https://api.github.com/repos/rsl/stringex/assignees{/user}","branches_url":"https://api.github.com/repos/rsl/stringex/branches{/branch}","tags_url":"https://api.github.com/repos/rsl/stringex/tags","blobs_url":"https://api.github.com/repos/rsl/stringex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rsl/stringex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rsl/stringex/git/refs{/sha}","trees_url":"https://api.github.com/repos/rsl/stringex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rsl/stringex/statuses/{sha}","languages_url":"https://api.github.com/repos/rsl/stringex/languages","stargazers_url":"https://api.github.com/repos/rsl/stringex/stargazers","contributors_url":"https://api.github.com/repos/rsl/stringex/contributors","subscribers_url":"https://api.github.com/repos/rsl/stringex/subscribers","subscription_url":"https://api.github.com/repos/rsl/stringex/subscription","commits_url":"https://api.github.com/repos/rsl/stringex/commits{/sha}","git_commits_url":"https://api.github.com/repos/rsl/stringex/git/commits{/sha}","comments_url":"https://api.github.com/repos/rsl/stringex/comments{/number}","issue_comment_url":"https://api.github.com/repos/rsl/stringex/issues/comments{/number}","contents_url":"https://api.github.com/repos/rsl/stringex/contents/{+path}","compare_url":"https://api.github.com/repos/rsl/stringex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rsl/stringex/merges","archive_url":"https://api.github.com/repos/rsl/stringex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rsl/stringex/downloads","issues_url":"https://api.github.com/repos/rsl/stringex/issues{/number}","pulls_url":"https://api.github.com/repos/rsl/stringex/pulls{/number}","milestones_url":"https://api.github.com/repos/rsl/stringex/milestones{/number}","notifications_url":"https://api.github.com/repos/rsl/stringex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rsl/stringex/labels{/name}","releases_url":"https://api.github.com/repos/rsl/stringex/releases{/id}","created_at":"2008-02-19T15:31:07Z","updated_at":"2015-05-31T14:20:15Z","pushed_at":"2015-06-03T22:15:20Z","git_url":"git://github.com/rsl/stringex.git","ssh_url":"git@github.com:rsl/stringex.git","clone_url":"https://github.com/rsl/stringex.git","svn_url":"https://github.com/rsl/stringex","homepage":"","size":1929,"stargazers_count":862,"watchers_count":862,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"open_issues_count":8,"forks":129,"open_issues":8,"watchers":862,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rsl/stringex/pulls/173"},"html":{"href":"https://github.com/rsl/stringex/pull/173"},"issue":{"href":"https://api.github.com/repos/rsl/stringex/issues/173"},"comments":{"href":"https://api.github.com/repos/rsl/stringex/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/rsl/stringex/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/rsl/stringex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rsl/stringex/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/rsl/stringex/statuses/430f923705575910027ab6b1aca828df407f6106"}}}}