From f57b08aa16a47cecbe2b47b9b6023531704db131 Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Wed, 27 Feb 2013 20:34:09 +0000 Subject: [PATCH 1/4] Updated so that works with TM2 path for bundle support and also TM_SUPPORT_PATH can be set from users ENV. --- support/spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/spec/spec_helper.rb b/support/spec/spec_helper.rb index a0064e2..dc7ce09 100644 --- a/support/spec/spec_helper.rb +++ b/support/spec/spec_helper.rb @@ -1,7 +1,7 @@ require 'rubygems' require 'rspec/core' -ENV['TM_SUPPORT_PATH'] = '/Applications/TextMate.app/Contents/SharedSupport/Support' +ENV['TM_SUPPORT_PATH'] = '~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared' unless ENV.has_key?('TM_BUNDLE_SUPPORT') RSpec.configure do |c| c.include(Module.new do From 4618e3f2fcc6a128d7c1789e5595c242a9f4644c Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Thu, 28 Feb 2013 20:18:00 +0000 Subject: [PATCH 2/4] Updated installation instructions for TM2. --- README.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 6886823..8ec6af8 100644 --- a/README.markdown +++ b/README.markdown @@ -3,10 +3,11 @@ Textmate Bundle for Cucumber This is the official TextMate bundle for Cucumber. Installation: - mkdir -p ~/Library/Application\ Support/TextMate/Bundles/ - cd ~/Library/Application\ Support/TextMate/Bundles + mkdir -p ~/Library/Application\ Support/Avian/Bundles/ + cd ~/Library/Application\ Support/Avian/Bundles git clone git://github.com/cucumber/cucumber-tmbundle.git Cucumber.tmbundle - osascript -e 'tell app "TextMate" to reload bundles' + +To activate the bundle simply restart TextMate. To install the color themes for the syntax highlighting, install them as follows: From f85e4c2860b4b8dd2b2afe230cb14c424f9f6f5b Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Thu, 28 Feb 2013 20:23:51 +0000 Subject: [PATCH 3/4] Added myself to credits :) --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index 8ec6af8..4e60350 100644 --- a/README.markdown +++ b/README.markdown @@ -58,6 +58,7 @@ The Cucumber TM Bundle is currently maintained by Andrew Premdas. * **Ashley Moran** - Improved Align Table Cells command * **Jari Bakken** - Syntax Highlighting improvements, include support for @tags. * **Chris Hoffman** - Improved Step Definition grammar to handle string interpolation when calling other steps. +* **Rick Jones** - Updated to work with TextMate 2. TODO ==== From ea43bdc0a535c90b0e11ad5903711feaceda864f Mon Sep 17 00:00:00 2001 From: Rick Jones Date: Thu, 28 Feb 2013 23:22:07 +0000 Subject: [PATCH 4/4] Spoke to Allan Odgaard and apparently TM2 watches the folder so no need to restart to activate bundle. --- README.markdown | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.markdown b/README.markdown index 4e60350..727327f 100644 --- a/README.markdown +++ b/README.markdown @@ -7,8 +7,6 @@ This is the official TextMate bundle for Cucumber. Installation: cd ~/Library/Application\ Support/Avian/Bundles git clone git://github.com/cucumber/cucumber-tmbundle.git Cucumber.tmbundle -To activate the bundle simply restart TextMate. - To install the color themes for the syntax highlighting, install them as follows: open Cucumber.tmbundle/color_themes/Cobalt.tmTheme