{"action":"created","issue":{"url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/14","labels_url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/14/comments","events_url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/14/events","html_url":"https://github.com/mokevnin/ipgeobase/issues/14","id":33958327,"number":14,"title":"Косяк с IPGeoBase uninitialized constant Ipgeobase::IpMetaData::Iconv","user":{"login":"asiniy","id":1296472,"avatar_url":"https://avatars.githubusercontent.com/u/1296472?v=3","gravatar_id":"","url":"https://api.github.com/users/asiniy","html_url":"https://github.com/asiniy","followers_url":"https://api.github.com/users/asiniy/followers","following_url":"https://api.github.com/users/asiniy/following{/other_user}","gists_url":"https://api.github.com/users/asiniy/gists{/gist_id}","starred_url":"https://api.github.com/users/asiniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asiniy/subscriptions","organizations_url":"https://api.github.com/users/asiniy/orgs","repos_url":"https://api.github.com/users/asiniy/repos","events_url":"https://api.github.com/users/asiniy/events{/privacy}","received_events_url":"https://api.github.com/users/asiniy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-21T07:36:33Z","updated_at":"2015-01-13T04:16:44Z","closed_at":null,"body":"В RSpec'ах запускаю вот такую канитель:\r\n\r\n``` ruby\r\nrequire 'spec_helper'\r\n\r\ndescribe City do\r\n  before(:each) do\r\n    load \"#{Rails.root}/db/seeds/00_cities.rb\"\r\n    WebMock.allow_net_connect!\r\n  end\r\n\r\n  after(:each) { WebMock.disable_net_connect! }\r\n\r\n  it 'should choose city if right IP' do\r\n    RIGHT_IPS.each do |city|\r\n      city[:ips].each do |ip|\r\n        City.choose(Ipgeobase.lookup(ip).city).name.should == city[:name]\r\n      end\r\n    end\r\n  end\r\n\r\n  RIGHT_IPS = [\r\n    { name: 'Санкт-Петербург', ips: %w(87.249.56.7 217.170.80.4) },\r\n    { name: 'Москва', ips: %w(46.174.48.38 195.34.27.6 195.46.169.93 212.248.6.1) }\r\n  ]\r\nend\r\n```\r\nВыдаёт `uninitialized constant Ipgeobase::IpMetaData::Iconv`. \r\n\r\nПробовал с версиями 0.1.0 и 0.1.1. ruby 2.1, rails 4.0"},"comment":{"url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/comments/69693277","html_url":"https://github.com/mokevnin/ipgeobase/issues/14#issuecomment-69693277","issue_url":"https://api.github.com/repos/mokevnin/ipgeobase/issues/14","id":69693277,"user":{"login":"asiniy","id":1296472,"avatar_url":"https://avatars.githubusercontent.com/u/1296472?v=3","gravatar_id":"","url":"https://api.github.com/users/asiniy","html_url":"https://github.com/asiniy","followers_url":"https://api.github.com/users/asiniy/followers","following_url":"https://api.github.com/users/asiniy/following{/other_user}","gists_url":"https://api.github.com/users/asiniy/gists{/gist_id}","starred_url":"https://api.github.com/users/asiniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asiniy/subscriptions","organizations_url":"https://api.github.com/users/asiniy/orgs","repos_url":"https://api.github.com/users/asiniy/repos","events_url":"https://api.github.com/users/asiniy/events{/privacy}","received_events_url":"https://api.github.com/users/asiniy/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T04:16:44Z","updated_at":"2015-01-13T04:16:44Z","body":"@forsaken1 спасибо, буду знать"}}