lib/travis/client/session.rb in travis-1.5.4 vs lib/travis/client/session.rb in travis-1.5.5
- old
+ new
@@ -120,10 +120,10 @@
entity.update_attributes(result.attributes) if result.attributes != entity.attributes
result
end
def config
- @config ||= get_raw('/config')['config']
+ @config ||= get_raw('/config')['config'] || {}
end
def load(data)
result = {}
(data || {}).each_pair do |key, value|