lib/commands/abstract_command.rb in gemcutter-0.0.8 vs lib/commands/abstract_command.rb in gemcutter-0.0.9

- old
+ new

@@ -6,14 +6,10 @@ def api_key Gem.configuration[:gemcutter_key] end def gemcutter_url - if ENV['test'] - "http://gemcutter.local" - else - "https://gemcutter.heroku.com" - end + ENV['GEMCUTTER_URL'] || 'https://gemcutter.heroku.com' end def setup use_proxy! if http_proxy sign_in unless api_key