Skip to content
This repository
Browse code

make roundsman work on 1.8.7 again

  • Loading branch information...
commit 9ae1a01d963207bc904a3f306a3ffc924b753f94 1 parent fcb118c
Arie Arie authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/roundsman/capistrano.rb
4 lib/roundsman/capistrano.rb
@@ -52,7 +52,7 @@ def run(*args)
52 52
53 53 desc "Lists configuration"
54 54 task :configuration do
55   - @_defaults.sort.each do |name|
  55 + @_defaults.sort_by {|sym| sym.to_s}.each do |name|
56 56 display_name = ":#{name},".ljust(30)
57 57 if variables[name].is_a?(Proc)
58 58 value = "<block>"
@@ -241,7 +241,7 @@ def generate_attributes
241 241 def remove_procs_from_hash(hash)
242 242 new_hash = {}
243 243 hash.each do |key, value|
244   - next if fetch(:filter_sensitive_settings).find { |regex| regex.match(key) }
  244 + next if fetch(:filter_sensitive_settings).find { |regex| regex.match(key.to_s) }
245 245 real_value = if value.respond_to?(:call)
246 246 begin
247 247 value.call

0 comments on commit 9ae1a01

Please sign in to comment.
Something went wrong with that request. Please try again.