lib/weather-api/response.rb in weather-api-1.2.0 vs lib/weather-api/response.rb in weather-api-1.3.0
- old
+ new
@@ -72,10 +72,10 @@
@forecasts << Forecast.new(forecast)
end
@latitude = doc[:item][:lat].to_f
@longitude = doc[:item][:long].to_f
- @title = doc[:item][:title]
- @description = doc[:item][:description]
+ @title = doc[:item][:title].strip
+ @description = doc[:item][:description].strip
end
end
end