{"action":"created","issue":{"url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/62","repository_url":"https://api.github.com/repos/mime-types/ruby-mime-types","labels_url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/62/comments","events_url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/62/events","html_url":"https://github.com/mime-types/ruby-mime-types/issues/62","id":30938809,"number":62,"title":"Make RUBY_MIME_TYPES_LAZY_LOAD the default","user":{"login":"halostatue","id":11361,"avatar_url":"https://avatars.githubusercontent.com/u/11361?v=3","gravatar_id":"","url":"https://api.github.com/users/halostatue","html_url":"https://github.com/halostatue","followers_url":"https://api.github.com/users/halostatue/followers","following_url":"https://api.github.com/users/halostatue/following{/other_user}","gists_url":"https://api.github.com/users/halostatue/gists{/gist_id}","starred_url":"https://api.github.com/users/halostatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halostatue/subscriptions","organizations_url":"https://api.github.com/users/halostatue/orgs","repos_url":"https://api.github.com/users/halostatue/repos","events_url":"https://api.github.com/users/halostatue/events{/privacy}","received_events_url":"https://api.github.com/users/halostatue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mime-types/ruby-mime-types/labels/Feature","name":"Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mime-types/ruby-mime-types/milestones/9","html_url":"https://github.com/mime-types/ruby-mime-types/milestones/Future","labels_url":"https://api.github.com/repos/mime-types/ruby-mime-types/milestones/9/labels","id":1422898,"number":9,"title":"Future","description":"Functionality I don’t have an acceptable API for yet.","creator":{"login":"halostatue","id":11361,"avatar_url":"https://avatars.githubusercontent.com/u/11361?v=3","gravatar_id":"","url":"https://api.github.com/users/halostatue","html_url":"https://github.com/halostatue","followers_url":"https://api.github.com/users/halostatue/followers","following_url":"https://api.github.com/users/halostatue/following{/other_user}","gists_url":"https://api.github.com/users/halostatue/gists{/gist_id}","starred_url":"https://api.github.com/users/halostatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halostatue/subscriptions","organizations_url":"https://api.github.com/users/halostatue/orgs","repos_url":"https://api.github.com/users/halostatue/repos","events_url":"https://api.github.com/users/halostatue/events{/privacy}","received_events_url":"https://api.github.com/users/halostatue/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-11-21T04:17:39Z","updated_at":"2015-11-21T15:58:35Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2014-04-06T14:45:38Z","updated_at":"2016-05-13T06:17:45Z","closed_at":null,"body":"Although loading the MIME type registry is fairly fast, do not force people to pay that cost up front. Implement `ENV['RUBY_MIME_TYPES_LAZY_LOAD']` as the default behaviour and provide a new variable (`ENV['RUBY_MIME_TYPES_IMMEDIATE_LOAD']`) to fall back to the old behaviour."},"comment":{"url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/comments/218960859","html_url":"https://github.com/mime-types/ruby-mime-types/issues/62#issuecomment-218960859","issue_url":"https://api.github.com/repos/mime-types/ruby-mime-types/issues/62","id":218960859,"user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T06:17:45Z","updated_at":"2016-05-13T06:17:45Z","body":"that would be awesome :)\n\nOn Thu, May 12, 2016 at 10:19 PM, Austin Ziegler <notifications@github.com>\nwrote:\n\n> You should also look at using require: 'mime/types/columnar' in your\n> Gemfile since you appear to be stuck on 2.99.x, which will do a\n> *different* form of lazy loading (columnar, so you get fast lookups for\n> minimal data). The other advantage on this is that it will drop the memory\n> of use MIME::Types by about 1/3. I am trying to get rest-client to loosen\n> the MIME::Types version they require so that MIME::Types 3 can be used (it\n> allows for independent updating of the data file), and the zendesk_api\n> should probably do the same.\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mime-types/ruby-mime-types/issues/62#issuecomment-218954168>\n>\n"}}