lib/gitignore.rb in gitignore-cli-0.10.0 vs lib/gitignore.rb in gitignore-cli-0.10.1
- old
+ new
@@ -6,10 +6,10 @@
module Gitignore
class Error < StandardError; end
class << self
- GITIGNORE_HOST = ENV['GITIGNORE_HOST'] || 'https://www.gitignore.io'
+ GITIGNORE_HOST = ENV['GITIGNORE_HOST'] || 'https://www.toptal.com/developers/gitignore'
def list
response = HTTP.get("#{GITIGNORE_HOST}/api/list")
response.body.to_s.gsub(/\n/, ',').split(',')
end