Sha256: 19fcb979aa0ec739dafc6f55701ea1db602b43288e2023ee45eaa6b8fa3814e9
Contents?: true
Size: 814 Bytes
Versions: 6
Compression:
Stored size: 814 Bytes
Contents
require 'lighthouse-api' # Monkey Patch - remove when the lighthouse gem gets updated. # texel's changes got merged, but looks like a new gem didn't get released. ugh! module Lighthouse class Ticket protected def cleanup_tags(tags) tags.tap do |tag| tag.collect! do |t| unless tag.blank? t = Tag.new(t,prefix_options[:project_id]) t.downcase! t.gsub! /(^')|('$)/, '' t.gsub! /[^a-z0-9 \-_@\!']/, '' t.strip! t.prefix_options = prefix_options t end end tag.compact! tag.uniq! end end end end %w{ lighthouse ticket project comment }.each do |f| require File.dirname(__FILE__) + '/provider/' + f + '.rb'; end
Version data entries
6 entries across 6 versions & 1 rubygems