lib/compass/commands/write_configuration.rb in compass-edge-0.9.3 vs lib/compass/commands/write_configuration.rb in compass-edge-0.9.4

- old
+ new

@@ -39,20 +39,28 @@ Compass.add_project_configuration end def perform if options[:debug] + puts "Configuration sources:" + c = Compass.configuration + while c + print c.name + c = c.inherited_data + print ", " if c + end + print "\n" Compass.configuration.debug.each do |prop, values| if options[:debug].is_a?(Symbol) next unless prop == options[:debug] end puts "***** #{prop} = #{values.first[:resolved].inspect} *****" [:default, :value, :raw, :resolved].each do |kind| puts "#{kind}: " + values.inject([]){|m, v| m << v[kind]}.map{|v| v.nil? ? '-' : v.inspect}.join(", ") end end else - directory projectize(File.dirname(options[:configuration_file])) + directory File.dirname(options[:configuration_file]) installer.write_configuration_files(options[:configuration_file]) end end def installer_args