{"action":"created","comment":{"url":"https://api.github.com/repos/lotus/model/pulls/comments/34542768","id":34542768,"diff_hunk":"@@ -540,6 +547,13 @@\n         migration.fetch(:filename).must_include(\"20150610141017\")\n       end\n \n+      it \"ignore files starting with . during migration\" do\n+        connection = Sequel.connect(@uri)\n+        migrations  = connection[:schema_migrations].to_a.select { |migration| migration.fetch(:filename).start_with?('.') }","path":"test/integration/migrations_test.rb","position":20,"original_position":20,"commit_id":"38202f7ee84caf876f89e708319f50e253f61338","original_commit_id":"38202f7ee84caf876f89e708319f50e253f61338","user":{"login":"AlfonsoUceda","id":925961,"avatar_url":"https://avatars.githubusercontent.com/u/925961?v=3","gravatar_id":"","url":"https://api.github.com/users/AlfonsoUceda","html_url":"https://github.com/AlfonsoUceda","followers_url":"https://api.github.com/users/AlfonsoUceda/followers","following_url":"https://api.github.com/users/AlfonsoUceda/following{/other_user}","gists_url":"https://api.github.com/users/AlfonsoUceda/gists{/gist_id}","starred_url":"https://api.github.com/users/AlfonsoUceda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlfonsoUceda/subscriptions","organizations_url":"https://api.github.com/users/AlfonsoUceda/orgs","repos_url":"https://api.github.com/users/AlfonsoUceda/repos","events_url":"https://api.github.com/users/AlfonsoUceda/events{/privacy}","received_events_url":"https://api.github.com/users/AlfonsoUceda/received_events","type":"User","site_admin":false},"body":"same as above","created_at":"2015-07-14T07:18:04Z","updated_at":"2015-07-14T07:18:04Z","html_url":"https://github.com/lotus/model/pull/210#discussion_r34542768","pull_request_url":"https://api.github.com/repos/lotus/model/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/lotus/model/pulls/comments/34542768"},"html":{"href":"https://github.com/lotus/model/pull/210#discussion_r34542768"},"pull_request":{"href":"https://api.github.com/repos/lotus/model/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/lotus/model/pulls/210","id":39770086,"html_url":"https://github.com/lotus/model/pull/210","diff_url":"https://github.com/lotus/model/pull/210.diff","patch_url":"https://github.com/lotus/model/pull/210.patch","issue_url":"https://api.github.com/repos/lotus/model/issues/210","number":210,"state":"open","locked":false,"title":"Fix db migrate crash if here is no migration files","user":{"login":"g3d","id":859210,"avatar_url":"https://avatars.githubusercontent.com/u/859210?v=3","gravatar_id":"","url":"https://api.github.com/users/g3d","html_url":"https://github.com/g3d","followers_url":"https://api.github.com/users/g3d/followers","following_url":"https://api.github.com/users/g3d/following{/other_user}","gists_url":"https://api.github.com/users/g3d/gists{/gist_id}","starred_url":"https://api.github.com/users/g3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g3d/subscriptions","organizations_url":"https://api.github.com/users/g3d/orgs","repos_url":"https://api.github.com/users/g3d/repos","events_url":"https://api.github.com/users/g3d/events{/privacy}","received_events_url":"https://api.github.com/users/g3d/received_events","type":"User","site_admin":false},"body":"This fix #208.","created_at":"2015-07-12T22:32:43Z","updated_at":"2015-07-14T07:18:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a492479fa956e52256250dd0adc1d420c871b4e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lotus/model/pulls/210/commits","review_comments_url":"https://api.github.com/repos/lotus/model/pulls/210/comments","review_comment_url":"https://api.github.com/repos/lotus/model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lotus/model/issues/210/comments","statuses_url":"https://api.github.com/repos/lotus/model/statuses/38202f7ee84caf876f89e708319f50e253f61338","head":{"label":"g3d:feature/fix_db_migrate_crash","ref":"feature/fix_db_migrate_crash","sha":"38202f7ee84caf876f89e708319f50e253f61338","user":{"login":"g3d","id":859210,"avatar_url":"https://avatars.githubusercontent.com/u/859210?v=3","gravatar_id":"","url":"https://api.github.com/users/g3d","html_url":"https://github.com/g3d","followers_url":"https://api.github.com/users/g3d/followers","following_url":"https://api.github.com/users/g3d/following{/other_user}","gists_url":"https://api.github.com/users/g3d/gists{/gist_id}","starred_url":"https://api.github.com/users/g3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g3d/subscriptions","organizations_url":"https://api.github.com/users/g3d/orgs","repos_url":"https://api.github.com/users/g3d/repos","events_url":"https://api.github.com/users/g3d/events{/privacy}","received_events_url":"https://api.github.com/users/g3d/received_events","type":"User","site_admin":false},"repo":{"id":37220562,"name":"lotus-model","full_name":"g3d/lotus-model","owner":{"login":"g3d","id":859210,"avatar_url":"https://avatars.githubusercontent.com/u/859210?v=3","gravatar_id":"","url":"https://api.github.com/users/g3d","html_url":"https://github.com/g3d","followers_url":"https://api.github.com/users/g3d/followers","following_url":"https://api.github.com/users/g3d/following{/other_user}","gists_url":"https://api.github.com/users/g3d/gists{/gist_id}","starred_url":"https://api.github.com/users/g3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g3d/subscriptions","organizations_url":"https://api.github.com/users/g3d/orgs","repos_url":"https://api.github.com/users/g3d/repos","events_url":"https://api.github.com/users/g3d/events{/privacy}","received_events_url":"https://api.github.com/users/g3d/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/g3d/lotus-model","description":"A persistence framework with entities, repositories, data mapper and query objects","fork":true,"url":"https://api.github.com/repos/g3d/lotus-model","forks_url":"https://api.github.com/repos/g3d/lotus-model/forks","keys_url":"https://api.github.com/repos/g3d/lotus-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/g3d/lotus-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/g3d/lotus-model/teams","hooks_url":"https://api.github.com/repos/g3d/lotus-model/hooks","issue_events_url":"https://api.github.com/repos/g3d/lotus-model/issues/events{/number}","events_url":"https://api.github.com/repos/g3d/lotus-model/events","assignees_url":"https://api.github.com/repos/g3d/lotus-model/assignees{/user}","branches_url":"https://api.github.com/repos/g3d/lotus-model/branches{/branch}","tags_url":"https://api.github.com/repos/g3d/lotus-model/tags","blobs_url":"https://api.github.com/repos/g3d/lotus-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/g3d/lotus-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/g3d/lotus-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/g3d/lotus-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/g3d/lotus-model/statuses/{sha}","languages_url":"https://api.github.com/repos/g3d/lotus-model/languages","stargazers_url":"https://api.github.com/repos/g3d/lotus-model/stargazers","contributors_url":"https://api.github.com/repos/g3d/lotus-model/contributors","subscribers_url":"https://api.github.com/repos/g3d/lotus-model/subscribers","subscription_url":"https://api.github.com/repos/g3d/lotus-model/subscription","commits_url":"https://api.github.com/repos/g3d/lotus-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/g3d/lotus-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/g3d/lotus-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/g3d/lotus-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/g3d/lotus-model/contents/{+path}","compare_url":"https://api.github.com/repos/g3d/lotus-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/g3d/lotus-model/merges","archive_url":"https://api.github.com/repos/g3d/lotus-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/g3d/lotus-model/downloads","issues_url":"https://api.github.com/repos/g3d/lotus-model/issues{/number}","pulls_url":"https://api.github.com/repos/g3d/lotus-model/pulls{/number}","milestones_url":"https://api.github.com/repos/g3d/lotus-model/milestones{/number}","notifications_url":"https://api.github.com/repos/g3d/lotus-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/g3d/lotus-model/labels{/name}","releases_url":"https://api.github.com/repos/g3d/lotus-model/releases{/id}","created_at":"2015-06-10T20:23:05Z","updated_at":"2015-06-10T20:23:41Z","pushed_at":"2015-07-14T05:29:16Z","git_url":"git://github.com/g3d/lotus-model.git","ssh_url":"git@github.com:g3d/lotus-model.git","clone_url":"https://github.com/g3d/lotus-model.git","svn_url":"https://github.com/g3d/lotus-model","homepage":"","size":706,"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":"master"}},"base":{"label":"lotus:master","ref":"master","sha":"c28cb0e877051f3d4a7409a071157cd3d498d1c2","user":{"login":"lotus","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/lotus","html_url":"https://github.com/lotus","followers_url":"https://api.github.com/users/lotus/followers","following_url":"https://api.github.com/users/lotus/following{/other_user}","gists_url":"https://api.github.com/users/lotus/gists{/gist_id}","starred_url":"https://api.github.com/users/lotus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotus/subscriptions","organizations_url":"https://api.github.com/users/lotus/orgs","repos_url":"https://api.github.com/users/lotus/repos","events_url":"https://api.github.com/users/lotus/events{/privacy}","received_events_url":"https://api.github.com/users/lotus/received_events","type":"Organization","site_admin":false},"repo":{"id":16760719,"name":"model","full_name":"lotus/model","owner":{"login":"lotus","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/lotus","html_url":"https://github.com/lotus","followers_url":"https://api.github.com/users/lotus/followers","following_url":"https://api.github.com/users/lotus/following{/other_user}","gists_url":"https://api.github.com/users/lotus/gists{/gist_id}","starred_url":"https://api.github.com/users/lotus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotus/subscriptions","organizations_url":"https://api.github.com/users/lotus/orgs","repos_url":"https://api.github.com/users/lotus/repos","events_url":"https://api.github.com/users/lotus/events{/privacy}","received_events_url":"https://api.github.com/users/lotus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lotus/model","description":"A persistence framework with entities, repositories, data mapper and query objects","fork":false,"url":"https://api.github.com/repos/lotus/model","forks_url":"https://api.github.com/repos/lotus/model/forks","keys_url":"https://api.github.com/repos/lotus/model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lotus/model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lotus/model/teams","hooks_url":"https://api.github.com/repos/lotus/model/hooks","issue_events_url":"https://api.github.com/repos/lotus/model/issues/events{/number}","events_url":"https://api.github.com/repos/lotus/model/events","assignees_url":"https://api.github.com/repos/lotus/model/assignees{/user}","branches_url":"https://api.github.com/repos/lotus/model/branches{/branch}","tags_url":"https://api.github.com/repos/lotus/model/tags","blobs_url":"https://api.github.com/repos/lotus/model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lotus/model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lotus/model/git/refs{/sha}","trees_url":"https://api.github.com/repos/lotus/model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lotus/model/statuses/{sha}","languages_url":"https://api.github.com/repos/lotus/model/languages","stargazers_url":"https://api.github.com/repos/lotus/model/stargazers","contributors_url":"https://api.github.com/repos/lotus/model/contributors","subscribers_url":"https://api.github.com/repos/lotus/model/subscribers","subscription_url":"https://api.github.com/repos/lotus/model/subscription","commits_url":"https://api.github.com/repos/lotus/model/commits{/sha}","git_commits_url":"https://api.github.com/repos/lotus/model/git/commits{/sha}","comments_url":"https://api.github.com/repos/lotus/model/comments{/number}","issue_comment_url":"https://api.github.com/repos/lotus/model/issues/comments{/number}","contents_url":"https://api.github.com/repos/lotus/model/contents/{+path}","compare_url":"https://api.github.com/repos/lotus/model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lotus/model/merges","archive_url":"https://api.github.com/repos/lotus/model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lotus/model/downloads","issues_url":"https://api.github.com/repos/lotus/model/issues{/number}","pulls_url":"https://api.github.com/repos/lotus/model/pulls{/number}","milestones_url":"https://api.github.com/repos/lotus/model/milestones{/number}","notifications_url":"https://api.github.com/repos/lotus/model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lotus/model/labels{/name}","releases_url":"https://api.github.com/repos/lotus/model/releases{/id}","created_at":"2014-02-12T08:25:42Z","updated_at":"2015-07-07T16:26:13Z","pushed_at":"2015-07-14T05:29:16Z","git_url":"git://github.com/lotus/model.git","ssh_url":"git@github.com:lotus/model.git","clone_url":"https://github.com/lotus/model.git","svn_url":"https://github.com/lotus/model","homepage":"","size":2401,"stargazers_count":212,"watchers_count":212,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":16,"forks":82,"open_issues":16,"watchers":212,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lotus/model/pulls/210"},"html":{"href":"https://github.com/lotus/model/pull/210"},"issue":{"href":"https://api.github.com/repos/lotus/model/issues/210"},"comments":{"href":"https://api.github.com/repos/lotus/model/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/lotus/model/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/lotus/model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lotus/model/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/lotus/model/statuses/38202f7ee84caf876f89e708319f50e253f61338"}}}}