Sha256: 121a26a37433990bf449a61f77c79198047e2ae9638ff2feacf3c372e5a29801

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

module BundleMate
  MACROMATES_REPOSITORY = 'http://macromates.com/svn/Bundles/trunk/Bundles/'
  
  def self.reload_textmate_bundles!
    system("osascript -e 'tell app \"TextMate\" to reload bundles'")
  end
  
  module VERSION #:nodoc:
    MAJOR = 0
    MINOR = 1
    TINY  = 0

    STRING = [MAJOR, MINOR, TINY].join('.')
  end
end

class String
  def sanitize_html
    gsub(/<\/?[^>]*>/, "")
  end
end

%w( bundle_mate/bundle
    bundle_mate/application ).each { |lib|
  
  require File.join(File.dirname(__FILE__), lib) 
}

BundleMate::Bundle.local_bundle_path = File.expand_path("~/Library/Application Support/TextMate/Bundles")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundlemate-0.1.0 lib/bundle_mate.rb