{"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject-translations/pulls/comments/33847363","id":33847363,"diff_hunk":"@@ -0,0 +1,97 @@\n+require 'spec_helper'\n+require_relative '../../../lib/open_project/translations/models/locales_updater'\n+\n+describe LocalesUpdater do\n+  let(:locales_updater) { LocalesUpdater.new }\n+  let(:configuration) {\n+    { :plugins =>\n+      { 'test-project' =>\n+        {\n+          uri: uri,\n+          api_key: api_key,\n+          project_id: project_id,\n+          version: version\n+        }\n+      }\n+    }\n+  }\n+  let(:uri) { 'test-uri' }","path":"spec/lib/models/locales_updater_spec.rb","position":18,"original_position":18,"commit_id":"bd829ad34e9138f38468cf4b369ffb753d3ee2ab","original_commit_id":"bd829ad34e9138f38468cf4b369ffb753d3ee2ab","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-07-03T08:23:57Z","updated_at":"2015-07-03T08:23:57Z","html_url":"https://github.com/opf/openproject-translations/pull/17#discussion_r33847363","pull_request_url":"https://api.github.com/repos/opf/openproject-translations/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/comments/33847363"},"html":{"href":"https://github.com/opf/openproject-translations/pull/17#discussion_r33847363"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject-translations/pulls/17","id":38868042,"html_url":"https://github.com/opf/openproject-translations/pull/17","diff_url":"https://github.com/opf/openproject-translations/pull/17.diff","patch_url":"https://github.com/opf/openproject-translations/pull/17.patch","issue_url":"https://api.github.com/repos/opf/openproject-translations/issues/17","number":17,"state":"open","locked":false,"title":"Rake task to update locales of plugins","user":{"login":"jonasheinrich","id":5173966,"avatar_url":"https://avatars.githubusercontent.com/u/5173966?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasheinrich","html_url":"https://github.com/jonasheinrich","followers_url":"https://api.github.com/users/jonasheinrich/followers","following_url":"https://api.github.com/users/jonasheinrich/following{/other_user}","gists_url":"https://api.github.com/users/jonasheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasheinrich/subscriptions","organizations_url":"https://api.github.com/users/jonasheinrich/orgs","repos_url":"https://api.github.com/users/jonasheinrich/repos","events_url":"https://api.github.com/users/jonasheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/jonasheinrich/received_events","type":"User","site_admin":false},"body":"https://community.openproject.org/work_packages/19745","created_at":"2015-06-30T11:31:53Z","updated_at":"2015-07-03T08:23:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae682d2806c13fafb36f61d906fc919e7609af9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opf/openproject-translations/pulls/17/commits","review_comments_url":"https://api.github.com/repos/opf/openproject-translations/pulls/17/comments","review_comment_url":"https://api.github.com/repos/opf/openproject-translations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opf/openproject-translations/issues/17/comments","statuses_url":"https://api.github.com/repos/opf/openproject-translations/statuses/bd829ad34e9138f38468cf4b369ffb753d3ee2ab","head":{"label":"jonasheinrich:feature/translate_plugins","ref":"feature/translate_plugins","sha":"bd829ad34e9138f38468cf4b369ffb753d3ee2ab","user":{"login":"jonasheinrich","id":5173966,"avatar_url":"https://avatars.githubusercontent.com/u/5173966?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasheinrich","html_url":"https://github.com/jonasheinrich","followers_url":"https://api.github.com/users/jonasheinrich/followers","following_url":"https://api.github.com/users/jonasheinrich/following{/other_user}","gists_url":"https://api.github.com/users/jonasheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasheinrich/subscriptions","organizations_url":"https://api.github.com/users/jonasheinrich/orgs","repos_url":"https://api.github.com/users/jonasheinrich/repos","events_url":"https://api.github.com/users/jonasheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/jonasheinrich/received_events","type":"User","site_admin":false},"repo":{"id":29925222,"name":"openproject-translations","full_name":"jonasheinrich/openproject-translations","owner":{"login":"jonasheinrich","id":5173966,"avatar_url":"https://avatars.githubusercontent.com/u/5173966?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasheinrich","html_url":"https://github.com/jonasheinrich","followers_url":"https://api.github.com/users/jonasheinrich/followers","following_url":"https://api.github.com/users/jonasheinrich/following{/other_user}","gists_url":"https://api.github.com/users/jonasheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasheinrich/subscriptions","organizations_url":"https://api.github.com/users/jonasheinrich/orgs","repos_url":"https://api.github.com/users/jonasheinrich/repos","events_url":"https://api.github.com/users/jonasheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/jonasheinrich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonasheinrich/openproject-translations","description":"Adds more languages to your OpenProject installation.","fork":true,"url":"https://api.github.com/repos/jonasheinrich/openproject-translations","forks_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/forks","keys_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/teams","hooks_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/hooks","issue_events_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/issues/events{/number}","events_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/events","assignees_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/assignees{/user}","branches_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/branches{/branch}","tags_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/tags","blobs_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/statuses/{sha}","languages_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/languages","stargazers_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/stargazers","contributors_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/contributors","subscribers_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/subscribers","subscription_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/subscription","commits_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/contents/{+path}","compare_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/merges","archive_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/downloads","issues_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/issues{/number}","pulls_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/pulls{/number}","milestones_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/milestones{/number}","notifications_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/labels{/name}","releases_url":"https://api.github.com/repos/jonasheinrich/openproject-translations/releases{/id}","created_at":"2015-01-27T17:19:36Z","updated_at":"2015-01-27T17:19:37Z","pushed_at":"2015-07-03T08:23:52Z","git_url":"git://github.com/jonasheinrich/openproject-translations.git","ssh_url":"git@github.com:jonasheinrich/openproject-translations.git","clone_url":"https://github.com/jonasheinrich/openproject-translations.git","svn_url":"https://github.com/jonasheinrich/openproject-translations","homepage":null,"size":5296,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"opf:dev","ref":"dev","sha":"f4b469f5ea2b9d0d9288a6d79f452198784c7abb","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":18107617,"name":"openproject-translations","full_name":"opf/openproject-translations","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject-translations","description":"Adds more languages to your OpenProject installation.","fork":false,"url":"https://api.github.com/repos/opf/openproject-translations","forks_url":"https://api.github.com/repos/opf/openproject-translations/forks","keys_url":"https://api.github.com/repos/opf/openproject-translations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject-translations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject-translations/teams","hooks_url":"https://api.github.com/repos/opf/openproject-translations/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject-translations/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject-translations/events","assignees_url":"https://api.github.com/repos/opf/openproject-translations/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject-translations/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject-translations/tags","blobs_url":"https://api.github.com/repos/opf/openproject-translations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject-translations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject-translations/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject-translations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject-translations/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject-translations/languages","stargazers_url":"https://api.github.com/repos/opf/openproject-translations/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject-translations/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject-translations/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject-translations/subscription","commits_url":"https://api.github.com/repos/opf/openproject-translations/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject-translations/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject-translations/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject-translations/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject-translations/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject-translations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject-translations/merges","archive_url":"https://api.github.com/repos/opf/openproject-translations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject-translations/downloads","issues_url":"https://api.github.com/repos/opf/openproject-translations/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject-translations/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject-translations/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject-translations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject-translations/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject-translations/releases{/id}","created_at":"2014-03-25T16:28:35Z","updated_at":"2015-06-02T18:14:50Z","pushed_at":"2015-07-03T08:23:52Z","git_url":"git://github.com/opf/openproject-translations.git","ssh_url":"git@github.com:opf/openproject-translations.git","clone_url":"https://github.com/opf/openproject-translations.git","svn_url":"https://github.com/opf/openproject-translations","homepage":null,"size":10186,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":6,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/17"},"html":{"href":"https://github.com/opf/openproject-translations/pull/17"},"issue":{"href":"https://api.github.com/repos/opf/openproject-translations/issues/17"},"comments":{"href":"https://api.github.com/repos/opf/openproject-translations/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject-translations/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject-translations/statuses/bd829ad34e9138f38468cf4b369ffb753d3ee2ab"}}}}