{"action":"created","issue":{"url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/11","repository_url":"https://api.github.com/repos/chloeandisabel/active_fulfillment","labels_url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/11/comments","events_url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/11/events","html_url":"https://github.com/chloeandisabel/active_fulfillment/pull/11","id":187671503,"number":11,"title":"Removed rubysl-resolv dependency and explicit require","user":{"login":"kgorin","id":1277559,"avatar_url":"https://avatars.githubusercontent.com/u/1277559?v=3","gravatar_id":"","url":"https://api.github.com/users/kgorin","html_url":"https://github.com/kgorin","followers_url":"https://api.github.com/users/kgorin/followers","following_url":"https://api.github.com/users/kgorin/following{/other_user}","gists_url":"https://api.github.com/users/kgorin/gists{/gist_id}","starred_url":"https://api.github.com/users/kgorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgorin/subscriptions","organizations_url":"https://api.github.com/users/kgorin/orgs","repos_url":"https://api.github.com/users/kgorin/repos","events_url":"https://api.github.com/users/kgorin/events{/privacy}","received_events_url":"https://api.github.com/users/kgorin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-07T10:12:53Z","updated_at":"2016-11-09T21:51:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/pulls/11","html_url":"https://github.com/chloeandisabel/active_fulfillment/pull/11","diff_url":"https://github.com/chloeandisabel/active_fulfillment/pull/11.diff","patch_url":"https://github.com/chloeandisabel/active_fulfillment/pull/11.patch"},"body":"@jimm I am trying to improve start-up time for our dev environment and at some point I got a lot of `already initialized constant` warnings:\r\n\r\n```\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:172: warning: already initialized constant Resolv::Hosts::DefaultFileName\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:175: warning: previous definition of DefaultFileName was here\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:285: warning: already initialized constant Resolv::DNS::Port\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:288: warning: previous definition of Port was here\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:290: warning: already initialized constant Resolv::DNS::UDPSize\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:293: warning: previous definition of UDPSize was here\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:624: warning: already initialized constant Resolv::DNS::RequestID\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:627: warning: previous definition of RequestID was here\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:625: warning: already initialized constant Resolv::DNS::RequestIDMutex\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:628: warning: previous definition of RequestIDMutex was here\r\n/Users/kgorin/.rvm/gems/ruby-2.3.1@Candi/gems/rubysl-resolv-2.1.2/lib/rubysl/resolv/resolv.rb:1077: warning: already initialized constant Resolv::DNS::Config::InitialTimeout\r\n/Users/kgorin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb:1084: warning: previous definition of InitialTimeout was here\r\n```\r\n\r\nI noticed that we have `rubysl-resolv` in gem dependencies and explicitly require it in `shopify_api.rb`, but looks like it is available in ruby 2.3 by default. Can we safely remove this dependency?"},"comment":{"url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/comments/259536846","html_url":"https://github.com/chloeandisabel/active_fulfillment/pull/11#issuecomment-259536846","issue_url":"https://api.github.com/repos/chloeandisabel/active_fulfillment/issues/11","id":259536846,"user":{"login":"kgorin","id":1277559,"avatar_url":"https://avatars.githubusercontent.com/u/1277559?v=3","gravatar_id":"","url":"https://api.github.com/users/kgorin","html_url":"https://github.com/kgorin","followers_url":"https://api.github.com/users/kgorin/followers","following_url":"https://api.github.com/users/kgorin/following{/other_user}","gists_url":"https://api.github.com/users/kgorin/gists{/gist_id}","starred_url":"https://api.github.com/users/kgorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgorin/subscriptions","organizations_url":"https://api.github.com/users/kgorin/orgs","repos_url":"https://api.github.com/users/kgorin/repos","events_url":"https://api.github.com/users/kgorin/events{/privacy}","received_events_url":"https://api.github.com/users/kgorin/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T21:51:50Z","updated_at":"2016-11-09T21:51:50Z","body":"@jimm good call, looking into that\r\n@davidguthu apparently expanding relative paths to absolute takes quite some time in general and we have lots of gems. So this work addresses just that."}}
{"actor":{"display_login":"kgorin"}}