lib/cli/install.rb in gistribute-0.3 vs lib/cli/install.rb in gistribute-0.3.1

- old
+ new

@@ -24,9 +24,10 @@ # Regular expression word wrap to keep lines less than 80 characters. Then # check to see if it's empty- if not, put newlines on each side so that it # will be padded when displayed in the output. gist_description = gist.description.gsub(/(.{1,79})(\s+|\Z)/, "\\1\n").strip + .sub(/^\[gistribut(e|ion)\] ?/, "") gist_description = "\n#{gist_description}\n" unless gist_description.empty? # Process files files = gist.files.map do |filename, data| metadata = filename.to_s.split("||").map(&:strip)