lib/datapimp/sync.rb in datapimp-1.2.0 vs lib/datapimp/sync.rb in datapimp-1.2.1
- old
+ new
@@ -12,10 +12,10 @@
type = options[:type]
result = case type
when "github"
Datapimp::Sources::GithubRepository.new(source, options)
- when "google" || "google-spreadsheet"
+ when "google", "google-spreadsheet"
require 'google_drive'
Datapimp::Sources::GoogleSpreadsheet.new(nil, key: source)
when "pivotal" then
Datapimp::Sources::Pivotal.new(args, options)
when "keen" then