{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/237057319","pull_request_review_id":179262880,"id":237057319,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzA1NzMxOQ==","diff_hunk":"@@ -131,3 +179,352 @@ function createInfoWindow(text) {\n         content: text\n     });\n }\n+\n+\n+/**\n+ * The SearchNearMeCheckbox adds a checkbox to the given DIV (which should be\n+ * in a map)\n+ * that will\n+ * 1) geolocate the user and then\n+ * 2) send an AJAX request to the server to search near the user's location.\n+ *\n+ * If the user can not be geolocated (perhaps they have that option turned\n+ * off in\n+ * their browser), then....?\n+ *\n+ * When the checkbox is checked:\n+ * 1. The companies displayed on the map will be XXX km. from the user's\n+ * location\n+ * 2. Any further filters (e.g. categories) will use that limited group of\n+ * companies\n+ *\n+ * When the checkbox is unchecked:\n+ * 1. The companies displayed on the map will not be limited by distance.\n+ * They may\n+ * still be limited/filtered by other conditions (e.g. categories, etc.)\n+ *\n+ * @param controlDiv - a DIV that the checkbox gets appended to\n+ * @param isChecked [Boolean] - whether or not the checkbox should be checked\n+ * @constructor\n+ */\n+function SearchNearMeCheckbox(controlDiv, isChecked, isProduction) {\n+\n+    // outer box that holds the checkbox\n+    var searchNearMeDiv = document.createElement('DIV');\n+    searchNearMeDiv.id = 'search-near-me';\n+\n+    var searchNearMeCheckbox = document.createElement('INPUT');\n+    searchNearMeCheckbox.setAttribute('type', 'checkbox');\n+    searchNearMeCheckbox.id = 'search-near-me-checkbox';\n+    searchNearMeCheckbox.className = 'search-near-me';\n+    searchNearMeCheckbox.title = I18n.t('companies.index.search_near_me_title');\n+\n+    searchNearMeCheckbox.checked = isChecked;\n+\n+    // text for the checkbox\n+    var checkboxLabel = document.createElement('LABEL');\n+    checkboxLabel.control = searchNearMeCheckbox;\n+    checkboxLabel.id = 'checkbox-label';\n+    checkboxLabel.innerText = I18n.t('companies.index.search_near_me');\n+\n+    var distanceKM = document.createElement('INPUT');\n+    distanceKM.setAttribute('type', 'number');\n+    distanceKM.min = 0;\n+    distanceKM.value = DEFAULT_DIST_KM;\n+    distanceKM.id = 'distance-in-km';\n+\n+    var withinDistanceLabel = document.createElement('LABEL');\n+    withinDistanceLabel.control = distanceKM;\n+    withinDistanceLabel.id = 'within-label';\n+    withinDistanceLabel.innerText = I18n\n+        .t('companies.index.search_near_me_within');\n+\n+    searchNearMeDiv.appendChild(searchNearMeCheckbox);\n+    searchNearMeDiv.appendChild(checkboxLabel);\n+    searchNearMeDiv.appendChild(withinDistanceLabel);\n+    searchNearMeDiv.appendChild(distanceKM);\n+    controlDiv.appendChild(searchNearMeDiv);\n+\n+    // Setup the click event listeners: simply set the map to Stockholm.\n+    searchNearMeCheckbox.addEventListener('click', function () {\n+        var nearParams = '';\n+        var parsedUrl = new URL(window.location.href);\n+        var searchParams = parsedUrl.searchParams.toString();\n+        var nearCoords;\n+        var distance;\n+\n+        if (this.checked) {\n+            nearCoords = getUserLocation(isProduction);\n+            distance = document.getElementById('distance-in-km').value;\n+\n+            logSearchToConsole(nearCoords.lat, nearCoords.lng, distance);\n+            nearParams = '&near=lat=' + nearCoords.lat + ',long=' +\n+                nearCoords.lng + ',dist=' + distance;\n+        }\n+\n+        $.ajax({\n+            url: 'hundforetag',\n+            type: 'GET',\n+            data: searchParams + nearParams\n+        });\n+\n+    });\n+}\n+\n+\n+/**\n+ * The SearchNearMeButton adds a checkbox to the given DIV (which should\n+ * be in a map)\n+ * that will\n+ * 1) geolocate the user and then\n+ * 2) send an AJAX request to the server to search near the user's location.\n+ *\n+ * If the user can not be geolocated (perhaps they have that option turned\n+ * off in\n+ * their browser), then....?\n+ *\n+ * @param controlDiv - a DIV that the checkbox gets appended to\n+ * @package isProduction [Boolean] - whether or not the system is in production\n+ *              (vs. in development or testing)\n+ * @constructor\n+ */\n+function SearchNearMeButton(controlDiv, isProduction) {\n+\n+    // outer box that holds the button and related text\n+    var searchNearMeDiv = document.createElement('DIV');\n+    searchNearMeDiv.id = 'search-near-me';\n+\n+    // search near me text\n+    var searchNearMeText = document.createElement('SPAN');\n+    searchNearMeText.id = 'search-near-me-text';\n+    searchNearMeText.className = searchNearMeText.id;\n+    searchNearMeText.innerText = I18n.t('companies.index.search_near_me');\n+\n+    var distanceKM = document.createElement('INPUT');\n+    distanceKM.setAttribute('type', 'number');\n+    distanceKM.min = 0;\n+    distanceKM.value = DEFAULT_DIST_KM;\n+    distanceKM.id = 'distance-in-km';\n+    distanceKM.className = distanceKM.id;\n+\n+    var kmText = document.createElement('SPAN');\n+    kmText.id = 'km-text';\n+    kmText.className = searchNearMeText.className;\n+    kmText.innerText = 'km';\n+\n+    var searchNearMeButton = document.createElement('INPUT');\n+    searchNearMeButton.setAttribute('type', 'button');\n+    searchNearMeButton.id = 'search-near-me-button';\n+    searchNearMeButton.className = searchNearMeButton.id;\n+    searchNearMeButton.alt = I18n.t('search');\n+    searchNearMeButton.name = 'submit';\n+\n+    searchNearMeDiv.appendChild(searchNearMeText);\n+    searchNearMeDiv.appendChild(distanceKM);\n+    searchNearMeDiv.appendChild(kmText);\n+    searchNearMeDiv.appendChild(searchNearMeButton);\n+    controlDiv.appendChild(searchNearMeDiv);\n+\n+    // Setup the click event listeners: simply set the map to Stockholm.\n+    searchNearMeButton.addEventListener('click', function () {\n+\n+        var parsedUrl = new URL(window.location.href);\n+        var searchParams = parsedUrl.searchParams.toString();\n+        var nearCoords;\n+        var distance;\n+\n+        nearCoords = getUserLocation(isProduction);\n+        distance = document.getElementById('distance-in-km').value;\n+\n+        logSearchToConsole(nearCoords.lat, nearCoords.lng, distance);\n+        var nearParams = '&near=lat=' + nearCoords.lat + ',long=' +\n+            nearCoords.lng + ',dist=' + distance;\n+\n+        $.ajax({\n+            url: 'hundforetag',\n+            type: 'GET',\n+            data: searchParams + nearParams\n+        });\n+\n+    });\n+}\n+\n+\n+/**\n+ * Show alert to the user saying we cannot get their location with a reminder\n+ * that they can allow us by changing their browser settings.\n+ */\n+function showAlertCantGetLocation() {\n+    alert(I18n.t('companies.index.cannot_get_location'));\n+}\n+\n+\n+// error.code can be:\n+//   0: unknown error\n+//   1: permission denied\n+//   2: position unavailable (error response from location provider)\n+//   3: timed out\n+var geoError = function (error) {\n+    switch (error.code) {\n+        case error.PERMISSION_DENIED:\n+            showAlertCantGetLocation();\n+            break;\n+        case error.TIMEOUT:\n+            // The user didn't accept the callout\n+            //  showNudgeBanner();\n+            showAlertCantGetLocation();\n+            break;\n+        case error.POSITION_UNAVAILABLE:\n+            showAlertCantGetLocation();\n+            break;\n+    }\n+    console.log('geolocation Error occurred. Error code: ' + error.code);","path":"app/assets/javascripts/google-maps.js","position":365,"original_position":365,"commit_id":"f86acbc7f48e783e4e2747dffe5b3eb6930cf2ca","original_commit_id":"f86acbc7f48e783e4e2747dffe5b3eb6930cf2ca","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'console' is not defined.","created_at":"2018-11-28T12:12:07Z","updated_at":"2018-11-28T12:12:11Z","html_url":"https://github.com/AgileVentures/shf-project/pull/568#discussion_r237057319","pull_request_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/237057319"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/568#discussion_r237057319"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568","id":233433662,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNDMzNjYy","html_url":"https://github.com/AgileVentures/shf-project/pull/568","diff_url":"https://github.com/AgileVentures/shf-project/pull/568.diff","patch_url":"https://github.com/AgileVentures/shf-project/pull/568.patch","issue_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/568","number":568,"state":"open","locked":false,"title":"WIP: Search Near... frontend work","user":{"login":"weedySeaDragon","id":673794,"node_id":"MDQ6VXNlcjY3Mzc5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/673794?v=4","gravatar_id":"","url":"https://api.github.com/users/weedySeaDragon","html_url":"https://github.com/weedySeaDragon","followers_url":"https://api.github.com/users/weedySeaDragon/followers","following_url":"https://api.github.com/users/weedySeaDragon/following{/other_user}","gists_url":"https://api.github.com/users/weedySeaDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/weedySeaDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weedySeaDragon/subscriptions","organizations_url":"https://api.github.com/users/weedySeaDragon/orgs","repos_url":"https://api.github.com/users/weedySeaDragon/repos","events_url":"https://api.github.com/users/weedySeaDragon/events{/privacy}","received_events_url":"https://api.github.com/users/weedySeaDragon/received_events","type":"User","site_admin":false},"body":"### PT Story:  Find Companies Near Me\r\nhttps://www.pivotaltracker.com/story/show/140181097\r\n\r\n**_New and Improved version 2.0!  See the first screenshot below_**\r\n\r\n### WIP Notes\r\n\r\n- There is now a box at the bottom where you can enter your fake location.  This is needed for development and testing.\r\n\r\n- I changed from using the _check box_ to using a _button._   \r\n   - the image for the button is just a placeholder.  Obviously we need a better one!\r\n   - it would be great to use a font-awesome icon, but I couldn't figure out how to do it\r\n\r\n **Order matters**: If you _first_ choose a search filter (ex: kategori/category), _then_ check 'Search Near Me', the results are correct and what you'd expect.\r\n   But if you first check 'Search Near Me' and then enter search filters, the 'Search Near Me' checkbox becomes unchecked.  \r\n  - This behavior is difficult to change because of how rigid the Ransack gem is and because it changes the ActiveRecord queries.\r\n  - **_How can we let the users know this is how it works?_**\r\n\r\n\r\n**What to display if no companies are found near the user?**\r\n   - I thought all I need to do was display a flash message with the controller, but that's not working.\r\n\r\n**What should the default distance be?  I have it set to 20km for now.**\r\n\r\n- had to change the parameters passed to the controller\r\n  - I need to review the controller specs to see if additional tests are needed or existing tests need to be changed.  If anyone sees specs needed or modifications needed, please do comment.\r\n\r\n**Integration testing:**  Not sure how to accomplish some of this:\r\n   When Google renders a map, it does _not_ render the element id for the controls that are added (e.g. the \"search near me\" checkbox).  So I'm not sure if or how to check for that.\r\n   We can certainly check the results, but I'm not sure if we'll be able to check the initial state (e.g. that the \"search near me\" checkbox has been checked or not).\r\n\r\n**Etc:**\r\n\r\n- I didn't spend much time styling the checkbox.  Suggestions needed!\r\n\r\n- I couldn't stand watching the long and slow queries that are generated by the current `Company.with_members` scope.  So I created the faster, more efficient scope (and resulting query).  But since I have not tested it, I will revert to the original, tested scope and submit a PivotalTracker task for it.  (I just haven't cleaned up the code yet.)\r\n\r\n- I removed the \"Show/Hide Search Box\" button.  since it's not needed with this layout.  But this changed a bunch of feature tests.  So I added some steps and changed the features.  **I know that one feature is failing right now.** It seems like an AJAX/timing thing, but haven't had time to look at it.\r\n\r\n### Changes proposed in this pull request:\r\n1. Changed the parameters passed to the controller \r\n2. Changed the layout for the search filters and map to vertical\r\n3. Removed the 'show/hide search box' button. Changed the features to search for results only in the companies list\r\n\r\n### Screenshots (Optional):\r\n\r\n#### version 2: uses a button instead of a checkbox; area to enter 'fake' current location\r\n\r\n<img width=\"462\" alt=\"search near me v2 2018-11-27 at 111631 pm\" src=\"https://user-images.githubusercontent.com/673794/49137169-84b5db80-f2a0-11e8-8d8f-162458e53c93.png\">\r\n\r\n---\r\n\r\n#### Vertical Layout for Search Filters and Map\r\n\r\n_all companies are being shown_\r\n\r\n<img width=\"789\" alt=\"search-near-me-v2 show all\" src=\"https://user-images.githubusercontent.com/673794/49137184-8c758000-f2a0-11e8-8bfd-0fafbc01b975.png\">\r\n\r\n\r\n---\r\n\r\n#### Show all companies with the \"Dagis\" kategori/category\r\n\r\n_Dagis companies everywhere_ ( = 3)\r\n\r\n<img width=\"836\" alt=\"search-near-me-v2 all dagis kategori\" src=\"https://user-images.githubusercontent.com/673794/49137265-baf35b00-f2a0-11e8-9602-ebf96185a4dd.png\">\r\n\r\n---\r\n\r\n#### Show all \"Dagis\" companies within 100km of the user's location (= Stockholm)\r\n\r\n_There are 2 Dagis companies within 100km of Stockholm_\r\n\r\n<img width=\"817\" alt=\"search-near-me-v2 dagis 100km stockholm\" src=\"https://user-images.githubusercontent.com/673794/49137278-c5155980-f2a0-11e8-8cb6-4d58dd19a6f7.png\">\r\n\r\n---\r\n\r\n### Ready for review:\r\n\r\n@AgileVentures/shf-project-team \r\n@patmbolger \r\n@thesuss \r\n\r\n","created_at":"2018-11-26T04:12:24Z","updated_at":"2018-11-28T12:12:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ef051378617cccb70292a89ddd59e3030bd35ad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/568/comments","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/f86acbc7f48e783e4e2747dffe5b3eb6930cf2ca","head":{"label":"weedySeaDragon:sprint55-search-near-frontend","ref":"sprint55-search-near-frontend","sha":"f86acbc7f48e783e4e2747dffe5b3eb6930cf2ca","user":{"login":"weedySeaDragon","id":673794,"node_id":"MDQ6VXNlcjY3Mzc5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/673794?v=4","gravatar_id":"","url":"https://api.github.com/users/weedySeaDragon","html_url":"https://github.com/weedySeaDragon","followers_url":"https://api.github.com/users/weedySeaDragon/followers","following_url":"https://api.github.com/users/weedySeaDragon/following{/other_user}","gists_url":"https://api.github.com/users/weedySeaDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/weedySeaDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weedySeaDragon/subscriptions","organizations_url":"https://api.github.com/users/weedySeaDragon/orgs","repos_url":"https://api.github.com/users/weedySeaDragon/repos","events_url":"https://api.github.com/users/weedySeaDragon/events{/privacy}","received_events_url":"https://api.github.com/users/weedySeaDragon/received_events","type":"User","site_admin":false},"repo":{"id":72142277,"node_id":"MDEwOlJlcG9zaXRvcnk3MjE0MjI3Nw==","name":"shf-project","full_name":"weedySeaDragon/shf-project","private":false,"owner":{"login":"weedySeaDragon","id":673794,"node_id":"MDQ6VXNlcjY3Mzc5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/673794?v=4","gravatar_id":"","url":"https://api.github.com/users/weedySeaDragon","html_url":"https://github.com/weedySeaDragon","followers_url":"https://api.github.com/users/weedySeaDragon/followers","following_url":"https://api.github.com/users/weedySeaDragon/following{/other_user}","gists_url":"https://api.github.com/users/weedySeaDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/weedySeaDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weedySeaDragon/subscriptions","organizations_url":"https://api.github.com/users/weedySeaDragon/orgs","repos_url":"https://api.github.com/users/weedySeaDragon/repos","events_url":"https://api.github.com/users/weedySeaDragon/events{/privacy}","received_events_url":"https://api.github.com/users/weedySeaDragon/received_events","type":"User","site_admin":false},"html_url":"https://github.com/weedySeaDragon/shf-project","description":null,"fork":true,"url":"https://api.github.com/repos/weedySeaDragon/shf-project","forks_url":"https://api.github.com/repos/weedySeaDragon/shf-project/forks","keys_url":"https://api.github.com/repos/weedySeaDragon/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weedySeaDragon/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weedySeaDragon/shf-project/teams","hooks_url":"https://api.github.com/repos/weedySeaDragon/shf-project/hooks","issue_events_url":"https://api.github.com/repos/weedySeaDragon/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/weedySeaDragon/shf-project/events","assignees_url":"https://api.github.com/repos/weedySeaDragon/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/weedySeaDragon/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/weedySeaDragon/shf-project/tags","blobs_url":"https://api.github.com/repos/weedySeaDragon/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weedySeaDragon/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weedySeaDragon/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/weedySeaDragon/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weedySeaDragon/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/weedySeaDragon/shf-project/languages","stargazers_url":"https://api.github.com/repos/weedySeaDragon/shf-project/stargazers","contributors_url":"https://api.github.com/repos/weedySeaDragon/shf-project/contributors","subscribers_url":"https://api.github.com/repos/weedySeaDragon/shf-project/subscribers","subscription_url":"https://api.github.com/repos/weedySeaDragon/shf-project/subscription","commits_url":"https://api.github.com/repos/weedySeaDragon/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/weedySeaDragon/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/weedySeaDragon/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/weedySeaDragon/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/weedySeaDragon/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/weedySeaDragon/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weedySeaDragon/shf-project/merges","archive_url":"https://api.github.com/repos/weedySeaDragon/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weedySeaDragon/shf-project/downloads","issues_url":"https://api.github.com/repos/weedySeaDragon/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/weedySeaDragon/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/weedySeaDragon/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/weedySeaDragon/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weedySeaDragon/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/weedySeaDragon/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/weedySeaDragon/shf-project/deployments","created_at":"2016-10-27T19:44:01Z","updated_at":"2018-11-08T19:23:58Z","pushed_at":"2018-11-28T12:11:42Z","git_url":"git://github.com/weedySeaDragon/shf-project.git","ssh_url":"git@github.com:weedySeaDragon/shf-project.git","clone_url":"https://github.com/weedySeaDragon/shf-project.git","svn_url":"https://github.com/weedySeaDragon/shf-project","homepage":null,"size":35349,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"330772a9cbe153b1079948bbff2f4b3573983021","user":{"login":"AgileVentures","id":5116968,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMTY5Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/5116968?v=4","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":71157737,"node_id":"MDEwOlJlcG9zaXRvcnk3MTE1NzczNw==","name":"shf-project","full_name":"AgileVentures/shf-project","private":false,"owner":{"login":"AgileVentures","id":5116968,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMTY5Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/5116968?v=4","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AgileVentures/shf-project","description":"Part of the website for and membership management for Sveriges Hundföretagare  (The Swedish Dog  Industry association). A project run with AgileVentures.org","fork":true,"url":"https://api.github.com/repos/AgileVentures/shf-project","forks_url":"https://api.github.com/repos/AgileVentures/shf-project/forks","keys_url":"https://api.github.com/repos/AgileVentures/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/shf-project/teams","hooks_url":"https://api.github.com/repos/AgileVentures/shf-project/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/shf-project/events","assignees_url":"https://api.github.com/repos/AgileVentures/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/shf-project/tags","blobs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/shf-project/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/shf-project/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/shf-project/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/shf-project/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/shf-project/subscription","commits_url":"https://api.github.com/repos/AgileVentures/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/shf-project/merges","archive_url":"https://api.github.com/repos/AgileVentures/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/shf-project/downloads","issues_url":"https://api.github.com/repos/AgileVentures/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/shf-project/deployments","created_at":"2016-10-17T16:18:10Z","updated_at":"2018-11-23T13:37:29Z","pushed_at":"2018-11-28T12:11:45Z","git_url":"git://github.com/AgileVentures/shf-project.git","ssh_url":"git@github.com:AgileVentures/shf-project.git","clone_url":"https://github.com/AgileVentures/shf-project.git","svn_url":"https://github.com/AgileVentures/shf-project","homepage":"","size":33025,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":26,"open_issues":5,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/568"},"issue":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/568"},"comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/568/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/568/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/shf-project/statuses/f86acbc7f48e783e4e2747dffe5b3eb6930cf2ca"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}