Skip to content

Commit

Permalink
Removed HEROKUTANK env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Perez committed Dec 17, 2010
1 parent d6b6fcf commit f282218
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/indextank_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def initialize(code, message)

class HerokuClient < ApiClient
def initialize()
super(ENV['HEROKUTANK_API_URL'])
super(ENV['INDEXTANK_API_URL'])
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/thinkingtank/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize
return unless File.exists?(path)

conf = YAML::load(ERB.new(IO.read(path)).result)[environment]
api_url = ENV['HEROKUTANK_API_URL'] || conf['api_url']
api_url = ENV['INDEXTANK_API_URL'] || conf['api_url']
self.client = IndexTank::ApiClient.new(api_url).get_index(conf['index_name'])
end
def environment
Expand Down
Binary file added thinkingtank-0.0.4.gem
Binary file not shown.

0 comments on commit f282218

Please sign in to comment.