lib/dpl/provider.rb in dpl-1.5.1.travis.174.2 vs lib/dpl/provider.rb in dpl-1.5.1.travis.180.2

- old
+ new

@@ -19,10 +19,10 @@ def self.new(context, options) return super if self < Provider context.fold("Installing deploy dependencies") do - name = super.option(:provider).to_s.downcase.gsub(/[^a-z]/, '') + name = super.option(:provider).to_s.downcase.gsub(/[^a-z0-9]/, '') raise Error, 'could not find provider %p' % options[:provider] unless name = constants.detect { |c| c.to_s.downcase == name } const_get(name).new(context, options) end end