{"action":"opened","number":151,"pull_request":{"url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151","id":30415071,"html_url":"https://github.com/codeforamerica/MuniciPal/pull/151","diff_url":"https://github.com/codeforamerica/MuniciPal/pull/151.diff","patch_url":"https://github.com/codeforamerica/MuniciPal/pull/151.patch","issue_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/151","number":151,"state":"open","locked":false,"title":"Limit matters to those soon/recently","user":{"login":"techieshark","id":1072292,"avatar_url":"https://avatars.githubusercontent.com/u/1072292?v=3","gravatar_id":"","url":"https://api.github.com/users/techieshark","html_url":"https://github.com/techieshark","followers_url":"https://api.github.com/users/techieshark/followers","following_url":"https://api.github.com/users/techieshark/following{/other_user}","gists_url":"https://api.github.com/users/techieshark/gists{/gist_id}","starred_url":"https://api.github.com/users/techieshark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techieshark/subscriptions","organizations_url":"https://api.github.com/users/techieshark/orgs","repos_url":"https://api.github.com/users/techieshark/repos","events_url":"https://api.github.com/users/techieshark/events{/privacy}","received_events_url":"https://api.github.com/users/techieshark/received_events","type":"User","site_admin":false},"body":"- the prev code used a hard code fixed date, which became stale\r\n- this calculates date dynamically\r\n\r\n- Fixes #150 \r\n\r\nThe following should be run after this pushing this code to heroku:\r\n\r\n```\r\nheroku run rake legistar_matters:drop \r\nheroku run rake legistar_matters:load \r\nheroku run rake legistar_attachments:drop\r\nheroku run rake legistar_attachments:load\r\n```\r\n\r\nAlternatively you can run a complete refresh of the Legistar content: `heroku run rake legistar_all:refresh`.","created_at":"2015-03-03T21:37:30Z","updated_at":"2015-03-03T21:37:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151/commits","review_comments_url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151/comments","review_comment_url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/151/comments","statuses_url":"https://api.github.com/repos/codeforamerica/MuniciPal/statuses/955a1edb340cbbdd24b9bf8daa6271c4a46bb496","head":{"label":"codeforamerica:fixes/150-missing-attachments","ref":"fixes/150-missing-attachments","sha":"955a1edb340cbbdd24b9bf8daa6271c4a46bb496","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":24073536,"name":"MuniciPal","full_name":"codeforamerica/MuniciPal","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/MuniciPal","description":"public meetings, in the cloud","fork":false,"url":"https://api.github.com/repos/codeforamerica/MuniciPal","forks_url":"https://api.github.com/repos/codeforamerica/MuniciPal/forks","keys_url":"https://api.github.com/repos/codeforamerica/MuniciPal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/MuniciPal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/MuniciPal/teams","hooks_url":"https://api.github.com/repos/codeforamerica/MuniciPal/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/MuniciPal/events","assignees_url":"https://api.github.com/repos/codeforamerica/MuniciPal/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/MuniciPal/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/MuniciPal/tags","blobs_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/MuniciPal/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/MuniciPal/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/MuniciPal/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/MuniciPal/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/MuniciPal/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/MuniciPal/subscription","commits_url":"https://api.github.com/repos/codeforamerica/MuniciPal/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/MuniciPal/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeforamerica/MuniciPal/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/MuniciPal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/MuniciPal/merges","archive_url":"https://api.github.com/repos/codeforamerica/MuniciPal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/MuniciPal/downloads","issues_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/MuniciPal/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/MuniciPal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/MuniciPal/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/MuniciPal/releases{/id}","created_at":"2014-09-15T20:54:58Z","updated_at":"2015-02-10T20:12:18Z","pushed_at":"2015-03-03T20:18:37Z","git_url":"git://github.com/codeforamerica/MuniciPal.git","ssh_url":"git@github.com:codeforamerica/MuniciPal.git","clone_url":"https://github.com/codeforamerica/MuniciPal.git","svn_url":"https://github.com/codeforamerica/MuniciPal","homepage":null,"size":27313,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":24,"forks":7,"open_issues":24,"watchers":10,"default_branch":"master"}},"base":{"label":"codeforamerica:master","ref":"master","sha":"1d0be4e1abd8c7212b3dda4971b2297456f8bba7","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":24073536,"name":"MuniciPal","full_name":"codeforamerica/MuniciPal","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars.githubusercontent.com/u/337792?v=3","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/MuniciPal","description":"public meetings, in the cloud","fork":false,"url":"https://api.github.com/repos/codeforamerica/MuniciPal","forks_url":"https://api.github.com/repos/codeforamerica/MuniciPal/forks","keys_url":"https://api.github.com/repos/codeforamerica/MuniciPal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/MuniciPal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/MuniciPal/teams","hooks_url":"https://api.github.com/repos/codeforamerica/MuniciPal/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/MuniciPal/events","assignees_url":"https://api.github.com/repos/codeforamerica/MuniciPal/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/MuniciPal/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/MuniciPal/tags","blobs_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/MuniciPal/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/MuniciPal/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/MuniciPal/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/MuniciPal/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/MuniciPal/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/MuniciPal/subscription","commits_url":"https://api.github.com/repos/codeforamerica/MuniciPal/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/MuniciPal/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/MuniciPal/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeforamerica/MuniciPal/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/MuniciPal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/MuniciPal/merges","archive_url":"https://api.github.com/repos/codeforamerica/MuniciPal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/MuniciPal/downloads","issues_url":"https://api.github.com/repos/codeforamerica/MuniciPal/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/MuniciPal/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/MuniciPal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/MuniciPal/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/MuniciPal/releases{/id}","created_at":"2014-09-15T20:54:58Z","updated_at":"2015-02-10T20:12:18Z","pushed_at":"2015-03-03T20:18:37Z","git_url":"git://github.com/codeforamerica/MuniciPal.git","ssh_url":"git@github.com:codeforamerica/MuniciPal.git","clone_url":"https://github.com/codeforamerica/MuniciPal.git","svn_url":"https://github.com/codeforamerica/MuniciPal","homepage":null,"size":27313,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":24,"forks":7,"open_issues":24,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151"},"html":{"href":"https://github.com/codeforamerica/MuniciPal/pull/151"},"issue":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/151"},"comments":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/codeforamerica/MuniciPal/statuses/955a1edb340cbbdd24b9bf8daa6271c4a46bb496"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}