specky/doc/specky.txt
author Mahlon E. Smith <mahlon@martini.nu>
Fri, 24 Dec 2010 20:01:10 -0800
branchvim-stuff
changeset 21 cd1f3381c1ed
parent 19 763cef799c74
child 22 ed72213b1788
permissions -rw-r--r--
Emit file and line for failure source (use gF to jump straight to it!). Show context lines for exception source. Put spec summary run at the top of the screen. Small documentation fixes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     1
*specky.txt* Last change: $Id$
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     3
                VIM REFERENCE MANUAL    by Mahlon E. Smith
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     4
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     5
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     6
                                  specky!
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     7
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     8
A Plugin for testing Ruby code with RSpec -- and more                 *specky*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
     9
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    10
CONTENTS                                                      *SpeckyContents*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    11
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    12
    1) Intro........................................|SpeckyIntro|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    13
    2) Functionality................................|SpeckyFunctionality|
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    14
    3) Enabling Specky..............................|SpeckyInstallation|
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    15
    4) Configuration................................|SpeckyOptions|
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    16
        4.1) Create text banners....................|g:speckyBannerKey|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    17
        4.2) Cycling quote styles...................|g:speckyQuoteSwitcherKey|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    18
        4.3) Display ruby documentation.............|g:speckyRunRdocKey|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    19
        4.4) Toggle editing between spec and code...|g:speckySpecSwitcherKey|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    20
        4.5) Run specs for the current buffer.......|g:speckyRunSpecKey|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    21
        4.6) Modify the default spec command........|g:speckyRunSpecCmd|
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    22
        4.7) Modify the default rdoc command........|g:speckyRunRdocCmd|
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
    23
        4.8) Alter new window behavior..............|g:speckyWindowType|
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    24
        4.9) Running older rspec (1.x) .............|g:speckySpecVersion|
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    25
    5) Author.......................................|SpeckyAuthor|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    26
    6) License......................................|SpeckyLicense|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    27
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    28
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    29
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    30
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    31
1. INTRO                                                         *SpeckyIntro*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    32
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    33
Specky is primarily a small collection of functions to help make behavioral
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    34
testing streamlined and easy when working with ruby and rspec.  Specky
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    35
supports rspec 2.x by default, and is backwards compatible with rspec 1.x.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    36
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    37
Specky secondarily includes a couple of conveniences to make your everyday
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    38
programming tasks smooooth and pleasurable.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    39
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    40
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    41
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    42
2. FUNCTIONALITY                                         *SpeckyFunctionality*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    43
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    44
Okay then, what does it do?
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    45
5
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    46
By default?  Nothing but syntax highlighting unless you are comfortable using
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    47
the menus.  I decided the easiest way to cherry pick the functionality that
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    48
you'd like was to enable them via key bindings.  By doing this, Specky won't
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    49
make assumptions about your current environment, and won't stomp on anything
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    50
you don't want it to.
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    51
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    52
    Specky won't do -anything- with your environment until you enable ~
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    53
    the key bindings!! ~
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    54
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    55
After you've configured your bindings, here are some of the things you can
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    56
now do with a single key stroke:
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    57
>
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    58
    - Switch back and forth from code to testing spec 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    59
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    60
    - Run the spec, with results going to a new, syntax highlighted buffer 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    61
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    62
    - Jump quickly to spec failures and failure detail 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    63
        - 'e' and 'r' to move back and forth on each failed assertion, 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    64
        - 'E' to jump details for it. 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    65
        - '<C-e>' to "forget" the currently selected failed assertion
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    66
        - 'q' to close the spec output buffer. 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    67
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    68
    - View rdoc of the word under the cursor
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    69
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    70
    - Dynamically switch string types for the word under the cursor
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    71
      (double quoted, quoted, symbol)
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    72
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
    73
    - Make lovely and quick comment banners for ruby code.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    74
5
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    75
Specky also includes a "snippets" file that can be used with the Snipmate
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    76
plugin by Michael Sanders <msanders42+vim@gmail.com>. (Minimum version 0.74.)
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    77
3346aa8d5364 Add snippets and rspec syntax highlights.
mahlon
parents: 3
diff changeset
    78
	http://www.vim.org/scripts/script.php?script_id=2540
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    79
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
    80
==============================================================================
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    81
3. ENABLING-SPECKY                                        *SpeckyInstallation*
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    82
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    83
Getting Specky to work should be a fairly trivial process.  Specky now
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    84
uses a custom rspec formatter to function reliably, and it needs to know
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    85
where that lives on your system.
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    86
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    87
If you installed Specky from Vimball, it is likely found at:
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    88
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    89
	~/.vim/ruby/specky_formatter.rb ~
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    90
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    91
Otherwise, you'll need to locate it, and tell rspec to use it in one of two
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    92
ways.
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    93
21
cd1f3381c1ed Emit file and line for failure source (use gF to jump straight to it!).
Mahlon E. Smith <mahlon@martini.nu>
parents: 19
diff changeset
    94
	1) Set the 'g:speckyRunSpecCmd' variable explicitly:
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    95
21
cd1f3381c1ed Emit file and line for failure source (use gF to jump straight to it!).
Mahlon E. Smith <mahlon@martini.nu>
parents: 19
diff changeset
    96
		let g:speckyRunSpecCmd = "rspec -r ~/.vim/ruby/specky_formatter.rb -f SpeckyFormatter" ~
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    97
21
cd1f3381c1ed Emit file and line for failure source (use gF to jump straight to it!).
Mahlon E. Smith <mahlon@martini.nu>
parents: 19
diff changeset
    98
	2) or, leave 'g:speckyRunSpecCmd' at its default value, and instead use
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
    99
	   an '.rspec' settings file in the root directory of the the project
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   100
	   you're working in.  I find this method much more flexible -- the
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   101
	   '.rspec' file can be carried with your project, and customized to
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   102
	   include additional bits like custom $LOAD_PATH injections, etc.
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   103
	   Here's what mine usually looks like: >
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   104
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   105
		-r loadpath
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   106
		-r ~/.vim/bundle/specky/ruby/specky_formatter
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   107
		-f SpeckyFormatter
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   108
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   109
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   110
After that is taken care of, then just set up your keybindings in your
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   111
.vimrc.  Here's what my config looks like. >
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   112
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   113
    let g:speckyBannerKey        = "<C-S>b"
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   114
    let g:speckyQuoteSwitcherKey = "<C-S>'"
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   115
    let g:speckyRunRdocKey       = "<C-S>r"
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   116
    let g:speckySpecSwitcherKey  = "<C-S>x"
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   117
    let g:speckyRunSpecKey       = "<C-S>s"
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   118
    let g:speckyRunRdocCmd       = "fri -L -f plain"
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   119
    let g:speckyWindowType       = 2
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   120
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   121
With these bindings, all Specky commands start with <ctrl-s> ("s" for
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   122
Specky!), followed by a mnemonic function to run:
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   123
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   124
    b ----> Banner creation ~
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   125
    ' ----> Quote cycling ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   126
    r ----> run Rdoc ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   127
    x ----> code and spec eXchange ~
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   128
    s ----> run rSpec ~
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   129
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   130
Of course, <ctrl-s> is a "suspend" signal for most terminals, so these
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   131
bindings are meant for a |gui| environment, such as gvim.  Your mileage (and
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   132
tastes) will doubtlessly vary.  Do what you will.  I won't judge you.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   133
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   134
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   135
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   136
4. CONFIGURATION-OPTIONS                                       *SpeckyOptions*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   137
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   138
Here are all of the available configuration options.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   139
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   140
Please note that you must set binding variables:
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   141
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   142
    |g:speckyBannerKey|
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   143
    |g:speckyQuoteSwitcherKey|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   144
    |g:speckyRunRdocKey|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   145
    |g:speckySpecSwitcherKey|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   146
    |g:speckyRunSpecKey|
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   147
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   148
...in order to enable the respective Specky functionality.  See
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   149
|SpeckyInstallation| for details. Any other options are entirely optional.
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   150
Put these into your |vimrc|, or wherever else you enjoy storing this kind of
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   151
stuff.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   152
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   153
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   154
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   155
4.1                                                        *g:speckyBannerKey*
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   156
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   157
Setting this binding enables comment banner creation.
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   158
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   159
This is purely a convenience routine, and a stylistic one at that.  I prefer
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   160
large advertising of what "area" of code you are in, along with other
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   161
miscellaneous labels for humans to read.  If this isn't how you roll, then by
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   162
all means, don't enable this binding!  :)
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   163
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   164
As an example -- you can just type:
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   165
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   166
	instance methods ~
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   167
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   168
Then hit the keystroke.  It will magically turn into: >
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   169
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   170
  ########################################################################
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   171
  ### I N S T A N C E   M E T H O D S
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   172
  ########################################################################
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   173
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   174
With all those saved extra keystrokes this might provide you per banner over
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   175
the years, your RSI-free hands will thank you.  And the total time savings!!
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   176
Oh man, what are you going to DO with all of that extra free time?
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   177
The possibilities are staggering.
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   178
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   179
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   180
------------------------------------------------------------------------------
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   181
4.2                                                 *g:speckyQuoteSwitcherKey*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   182
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   183
Setting this binding enables quote "style switching".
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   184
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   185
If you aren't in ruby mode, this just changes the word under the cursor
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   186
back and forth from double quoting to single quoting.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   187
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   188
    string -> "string" -> 'string' -> "string" ... ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   189
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   190
In ruby mode, symbols are also put into the rotation.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   191
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   192
    "string" -> 'string' -> :string -> "string" ... ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   193
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   194
Note that quote cycling only works with a |word|.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   195
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   196
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   197
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   198
4.3                                                       *g:speckyRunRdocKey*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   199
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   200
Setting this enables the display of rdoc documentation for the current
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   201
word under the cursor.  For lookups with multiple matches, you can continue
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   202
using this binding to "drill down" to the desired documentation.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   203
         
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   204
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   205
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   206
4.4                                                  *g:speckySpecSwitcherKey*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   207
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   208
Setting this enables spec to code switching, and visa versa.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   209
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   210
Switching uses path searching instead of reliance on directory structure in
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   211
your project.  The idea here is that you'd |:chdir| into your project
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   212
directory.  Spec files just need to end in '_spec.rb', which is a common
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   213
convention.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   214
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   215
    aRubyClass.rb ---> aRubyClass_spec.rb~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   216
 
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   217
Because it leaves respective buffers open, you can essentially think of this
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   218
as a quick toggle between code and tests.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   219
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   220
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   221
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   222
4.5                                                       *g:speckyRunSpecKey*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   223
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   224
Setting this variable runs "rspec" on the current buffer.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   225
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   226
All output is sent to a syntax highlighted scratch buffer. This new window is
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   227
re-used for each spec run.  You can quickly "jump" to assertion failures and
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   228
their associated details with the following keys:
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   229
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   230
        e and r ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   231
            Move forward and backward through the failed assertions.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   232
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   233
        E~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   234
            While on a failure line, jump to the details of the failure.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   235
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   236
        <C-e> ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   237
            "Forget" the last found failed assertion, and start over at the
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   238
            beginning of the list. (ie, the next 'e' keystroke will select
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   239
            error #1.)
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   240
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   241
        q ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   242
            Closes the spec output buffer. 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   243
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   244
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   245
Normally, you'd only want to perform this keystroke while in a spec file
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   246
buffer.  If Specky thinks you are in code, rather than a buffer (as indicated
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   247
by the lack of a "_spec.rb" file naming convention) then it will attempt to
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   248
switch to the spec before running the command.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   249
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   250
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   251
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   252
4.6                                                       *g:speckyRunSpecCmd*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   253
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   254
This is the program, with flags, that the current file is sent to when
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   255
executing the |g:speckyRunSpecKey| keybinding.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   256
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   257
A common addition is to include an "-r" flag for sucking in local libraries
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   258
necessary for testing your project.  In fact, this is required to use the 
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   259
rspec formatter supplied by Specky.  See |SpeckyInstallation| for more info.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   260
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   261
    Default: ~
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   262
        rspec
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   263
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   264
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   265
------------------------------------------------------------------------------
3
db3e3abfc647 * Add colorschemes directory.
mahlon
parents: 2
diff changeset
   266
4.7                                                       *g:speckyRunRdocCmd*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   267
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   268
If you prefer an rdoc display program other than "ri", you can set it
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   269
with this variable.  "fri -L -f plain" is always a nice choice, for example.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   270
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   271
    Default: ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   272
        ri
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   273
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   274
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   275
------------------------------------------------------------------------------
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   276
4.8                                                       *g:speckyWindowType*
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   277
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   278
For both spec and rdoc commands, this variable controls the behavior of the
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   279
newly generated window.
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   280
6
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   281
	Default: ~
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   282
		0
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   283
		
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   284
	0 ~
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   285
		Create a new tabbed window
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   286
	1 ~
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   287
		Split the current window horizontally
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   288
	2 ~
31d00503e038 * Small documentation updates
mahlon
parents: 5
diff changeset
   289
		Split the current window vertically
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   290
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   291
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   292
------------------------------------------------------------------------------
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   293
4.9                                                      *g:speckySpecVersion*
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   294
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   295
Specky should work out of the box with rspec 2.x.  If you'd like to use rspec
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   296
1.x instead, you can do so with the following Vim settings: >
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   297
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   298
    let g:speckySpecVersion = 1
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   299
	let g:speckyRunRdocCmd  = "spec -fs" 
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   300
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   301
If you have both rspec 1.x and 2.x installed at the same time, you need to 
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   302
be explicit with what version you are executing: >
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   303
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   304
	let g:speckyRunRdocCmd  = "spec _1.3.0_ -fs" 
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   305
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   306
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   307
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   308
5. AUTHOR                                                       *SpeckyAuthor*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   309
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   310
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   311
Specky was written by Mahlon E. Smith.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   312
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   313
    mahlon@martini.nu ~
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   314
    http://www.martini.nu/ 
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   315
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   316
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   317
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   318
==============================================================================
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   319
6. LICENSE                                                     *SpeckyLicense*
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   320
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   321
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   322
Specky is distributed under the BSD license.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   323
    http://www.opensource.org/licenses/bsd-license.php
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   324
>
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   325
    Copyright (c) 2008-2010, Mahlon E. Smith <mahlon@martini.nu>
2
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   326
    All rights reserved.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   327
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   328
    Redistribution and use in source and binary forms, with or without
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   329
    modification, are permitted provided that the following conditions are
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   330
    met:
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   331
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   332
        * Redistributions of source code must retain the above copyright
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   333
          notice, this list of conditions and the following disclaimer.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   334
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   335
        * Redistributions in binary form must reproduce the above copyright
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   336
          notice, this list of conditions and the following disclaimer in the
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   337
          documentation and/or other materials provided with the distribution.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   338
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   339
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   340
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   341
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   342
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   343
    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   344
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   345
    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   346
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   347
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   348
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   349
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   350
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   351
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   352
6b33188f1694 Moving Specky into a Vim subfolder.
mahlon
parents:
diff changeset
   353
vim: set noet nosta sw=4 ts=4 ft=help :
19
763cef799c74 Specky: support rspec 2.x by default.
Mahlon E. Smith <mahlon@martini.nu>
parents: 10
diff changeset
   354