Sha256: bb833ed9ff73fdeba126b1e5bc3cb1965e3f1044607a3b520489b5676a445674
Contents?: true
Size: 968 Bytes
Versions: 9
Compression:
Stored size: 968 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 << self def account=(value) @account = value resources.each do |resource| update_site(resource) end end end 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
9 entries across 9 versions & 2 rubygems