lib/agig/session.rb in agig-0.0.3 vs lib/agig/session.rb in agig-0.0.4

- old
+ new

@@ -62,10 +62,10 @@ @retrieve_thread = Thread.start do loop do begin @log.info 'retrieveing feed...' - atom = open("https://github.com/#{@real}.private.atom?token=#{@pass}").read + atom = open("https://github.com/#{@nick}.private.atom?token=#{@pass}").read ns = {'a' => 'http://www.w3.org/2005/Atom'} entries = Nokogiri::XML(atom).xpath('/a:feed/a:entry', ns).map do |entry| { :datetime => Time.parse(entry.xpath('string(a:published)', ns)), :id => entry.xpath('string(a:id)', ns),