Sha256: 7dac6ae084a136171fa426534f28e39fe45b44e194ae493a1f534aa0bd12767e

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

require 'rubygems'

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  = 1

    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.1 lib/bundle_mate.rb