{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/735","labels_url":"https://api.github.com/repos/rubygems/rubygems/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems/issues/735/comments","events_url":"https://api.github.com/repos/rubygems/rubygems/issues/735/events","html_url":"https://github.com/rubygems/rubygems/issues/735","id":23934241,"number":735,"title":"Rubygems should not install test files","user":{"login":"anatol","id":7032,"avatar_url":"https://avatars.githubusercontent.com/u/7032?v=3","gravatar_id":"","url":"https://api.github.com/users/anatol","html_url":"https://github.com/anatol","followers_url":"https://api.github.com/users/anatol/followers","following_url":"https://api.github.com/users/anatol/following{/other_user}","gists_url":"https://api.github.com/users/anatol/gists{/gist_id}","starred_url":"https://api.github.com/users/anatol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatol/subscriptions","organizations_url":"https://api.github.com/users/anatol/orgs","repos_url":"https://api.github.com/users/anatol/repos","events_url":"https://api.github.com/users/anatol/events{/privacy}","received_events_url":"https://api.github.com/users/anatol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubygems/rubygems/labels/category%20-%20install","name":"category - install","color":"0b02e1"},{"url":"https://api.github.com/repos/rubygems/rubygems/labels/status%20-%20accepted","name":"status - accepted","color":"02d7e1"},{"url":"https://api.github.com/repos/rubygems/rubygems/labels/type%20-%20feature","name":"type - feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rubygems/rubygems/milestones/1","html_url":"https://github.com/rubygems/rubygems/milestones/Future","labels_url":"https://api.github.com/repos/rubygems/rubygems/milestones/1/labels","id":220002,"number":1,"title":"Future","description":"","creator":{"login":"drbrain","id":9831,"avatar_url":"https://avatars.githubusercontent.com/u/9831?v=3","gravatar_id":"","url":"https://api.github.com/users/drbrain","html_url":"https://github.com/drbrain","followers_url":"https://api.github.com/users/drbrain/followers","following_url":"https://api.github.com/users/drbrain/following{/other_user}","gists_url":"https://api.github.com/users/drbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/drbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drbrain/subscriptions","organizations_url":"https://api.github.com/users/drbrain/orgs","repos_url":"https://api.github.com/users/drbrain/repos","events_url":"https://api.github.com/users/drbrain/events{/privacy}","received_events_url":"https://api.github.com/users/drbrain/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":19,"state":"open","created_at":"2012-11-28T00:26:52Z","updated_at":"2015-10-05T21:59:26Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2013-12-08T23:45:58Z","updated_at":"2015-10-19T19:50:50Z","closed_at":null,"body":"I see that gemspec has test_files and many gemfiles include tests. I believe it is artifact from ``gem test`` times. I think tests in gemfiles are OK (e.g. in case if you decide to reintroduce ``gem test`` back #730). But ``gem install`` should not install these files, gem tests are useless for users (unless I missed something).\r\n\r\nBottomline: ``gem install`` should not install files from test_files."},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/comments/149326966","html_url":"https://github.com/rubygems/rubygems/issues/735#issuecomment-149326966","issue_url":"https://api.github.com/repos/rubygems/rubygems/issues/735","id":149326966,"user":{"login":"e2","id":150197,"avatar_url":"https://avatars.githubusercontent.com/u/150197?v=3","gravatar_id":"","url":"https://api.github.com/users/e2","html_url":"https://github.com/e2","followers_url":"https://api.github.com/users/e2/followers","following_url":"https://api.github.com/users/e2/following{/other_user}","gists_url":"https://api.github.com/users/e2/gists{/gist_id}","starred_url":"https://api.github.com/users/e2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e2/subscriptions","organizations_url":"https://api.github.com/users/e2/orgs","repos_url":"https://api.github.com/users/e2/repos","events_url":"https://api.github.com/users/e2/events{/privacy}","received_events_url":"https://api.github.com/users/e2/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:50:50Z","updated_at":"2015-10-19T19:50:50Z","body":"@davexunit, @mzv - check out https://github.com/rubygems/rubygems/issues/1364 for an potential solution/alternative.\r\n"}}