{"action":"created","issue":{"url":"https://api.github.com/repos/ruby/rake/issues/84","labels_url":"https://api.github.com/repos/ruby/rake/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ruby/rake/issues/84/comments","events_url":"https://api.github.com/repos/ruby/rake/issues/84/events","html_url":"https://github.com/ruby/rake/issues/84","id":116232939,"number":84,"title":"Strange issue where rake culls some tasks","user":{"login":"krainboltgreene","id":334809,"avatar_url":"https://avatars.githubusercontent.com/u/334809?v=3","gravatar_id":"","url":"https://api.github.com/users/krainboltgreene","html_url":"https://github.com/krainboltgreene","followers_url":"https://api.github.com/users/krainboltgreene/followers","following_url":"https://api.github.com/users/krainboltgreene/following{/other_user}","gists_url":"https://api.github.com/users/krainboltgreene/gists{/gist_id}","starred_url":"https://api.github.com/users/krainboltgreene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krainboltgreene/subscriptions","organizations_url":"https://api.github.com/users/krainboltgreene/orgs","repos_url":"https://api.github.com/users/krainboltgreene/repos","events_url":"https://api.github.com/users/krainboltgreene/events{/privacy}","received_events_url":"https://api.github.com/users/krainboltgreene/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T00:18:33Z","updated_at":"2015-11-12T23:42:37Z","closed_at":"2015-11-12T23:42:37Z","body":"So here's my task:\r\n\r\n``` ruby\r\ntask complete: [:reset, :setup, :restore, 'db:clone:sanitize:complete', :delete, 'db:structure:dump', 'db:migrate']\r\n```\r\n\r\nHere's the task list of `Rake::Application:0x007feac2229ae8`:\r\n\r\n```\r\n   \"db:clone:reset\"=><Rake::Task db:clone:reset => [db:drop, db:create]>,\r\n   \"db:clone:setup\"=><Rake::Task db:clone:setup => [db:warn]>,\r\n   \"db:clone:pull\"=><Rake::Task db:clone:pull => [db:warn]>,\r\n   \"db:clone:restore\"=><Rake::Task db:clone:restore => [pull]>,\r\n   \"db:clone:sanitize:users\"=><Rake::Task db:clone:sanitize:users => [db:warn, environment]>,\r\n   \"db:clone:sanitize:designers\"=><Rake::Task db:clone:sanitize:designers => [db:warn, environment]>,\r\n   \"db:clone:sanitize:admins\"=><Rake::Task db:clone:sanitize:admins => [db:warn, environment]>,\r\n   \"db:clone:sanitize:complete\"=><Rake::Task db:clone:sanitize:complete => [users, designers, admins]>,\r\n   \"db:clone:delete\"=><Rake::Task db:clone:delete => []>,\r\n   \"db:clone:\"=><Rake::Task db:clone: => []>,\r\n   \"db:clone:complete\"=>\r\n    <Rake::Task db:clone:complete => [reset, setup, restore, db:clone:sanitize:complete, delete, db:structure:dump, db:migrate]>,\r\n   \"db:migrations:push_old_residential_budgets_to_other\"=>\r\n```\r\n\r\nNotice `\"db:clone:complete\"`.\r\n\r\nHowever, the output of `bin/rake -T db:clone`:\r\n\r\n```\r\nrake db:clone:delete              # Clean up the database dump directory\r\nrake db:clone:pull                # Pull down the database from some url\r\nrake db:clone:reset               # Rebuild the entire database\r\nrake db:clone:restore             # Restore the database from a dump file\r\nrake db:clone:sanitize:admins     # Sanitize all of the admins privacy fields\r\nrake db:clone:sanitize:designers  # Sanitize all of the designers privacy fields\r\nrake db:clone:sanitize:users      # Sanitize all users privacy fields\r\nrake db:clone:setup               # Create a place for database dumps\r\n```\r\n\r\nThis is not specific to this task, it seem to affect all custom tasks in `lib/task` that are only a set of steps.\r\n\r\nrack: (1.6.4, 1.5.5)\r\nruby: 2.1.5p273\r\nrails: 4.1.9\r\n\r\nIf this isn't a rack bug I'll shop around rails. :/"},"comment":{"url":"https://api.github.com/repos/ruby/rake/issues/comments/156272545","html_url":"https://github.com/ruby/rake/issues/84#issuecomment-156272545","issue_url":"https://api.github.com/repos/ruby/rake/issues/84","id":156272545,"user":{"login":"hsbt","id":12301,"avatar_url":"https://avatars.githubusercontent.com/u/12301?v=3","gravatar_id":"","url":"https://api.github.com/users/hsbt","html_url":"https://github.com/hsbt","followers_url":"https://api.github.com/users/hsbt/followers","following_url":"https://api.github.com/users/hsbt/following{/other_user}","gists_url":"https://api.github.com/users/hsbt/gists{/gist_id}","starred_url":"https://api.github.com/users/hsbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsbt/subscriptions","organizations_url":"https://api.github.com/users/hsbt/orgs","repos_url":"https://api.github.com/users/hsbt/repos","events_url":"https://api.github.com/users/hsbt/events{/privacy}","received_events_url":"https://api.github.com/users/hsbt/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T23:42:37Z","updated_at":"2015-11-12T23:42:37Z","body":"`rake -T` shows only task with `desc` fields like this https://github.com/rails/rails/blob/master/activerecord/lib/active_record/railties/databases.rake#L15"}}