lib/hanzo/modules/installers/labs.rb in hanzo-0.6.2 vs lib/hanzo/modules/installers/labs.rb in hanzo-1.0.0
- old
+ new
@@ -2,10 +2,10 @@
module Installers
module Labs
def install_labs
Hanzo.title('Activating Heroku Labs')
- Hanzo::Heroku.available_labs.each do |name, _|
+ Hanzo::Heroku.available_labs.each_key do |name|
next unless Hanzo.agree("Add #{name}?")
Hanzo::Installers::Remotes.environments.each_pair do |env, _|
Hanzo::Installers::Labs.enable(env, name)
end