lib/table_setter/table.rb in table_setter-0.2.10 vs lib/table_setter/table.rb in table_setter-0.2.11
- old
+ new
@@ -47,10 +47,10 @@
end
# Returns a usable uri based on what sort of input we have.
def uri
case
- when google_key then "https://spreadsheets.google.com/pub?key=#{google_key}&output=csv"
+ when google_key then "https://docs.google.com/spreadsheet/pub?key=#{google_key}&output=csv&single=true&gid=0"
when url then url
when file then File.expand_path("#{TableSetter.table_path}#{file}")
end
end