Permalink
Commits on Oct 23, 2014
  1. Merge pull request #95 from elia/x-f-prefixes-syntax

    Add/improve some keywords and snippets.
    noniq committed Oct 23, 2014
  2. Add missing capybara snippets

    - background (back⇥)
    - given (given⇥)
    - given! (given!⇥)
    elia committed Oct 23, 2014
  3. Add the missing `let!` snippet

    elia committed Oct 23, 2014
  4. Add choices to the `before` snippet

    elia committed Oct 23, 2014
  5. Add capybara’s ‘background’ keyword

    `background` is an alias for `before`.
    elia committed Oct 23, 2014
  6. fix for rspec 3

    railsme committed Oct 23, 2014
Commits on Oct 22, 2014
  1. Merge branch 'old-master'

    'old-master' was our fork's master branch, it is not needed any more (but kept in the commit history for historical reasons :-)
    noniq committed Oct 22, 2014
Commits on Oct 6, 2014
  1. Fix error when creating a new spec.

    `SwitchCommand#snippet` failed when the bundle was installed via TextMate’s bundle preferences because the snippet files then use binary property list format (see #92 (comment) for details).
    
    However, the method's return value was discarded anyway :-/ (In b48e860 `#write_and_open` was changed to ignore the `content` parameter.)
    
    This commit removes all the unused code (at least I hope so).
    noniq committed Oct 6, 2014
Commits on Aug 19, 2014
  1. Merge pull request #90 from rspec/run-again-command

    Implement “Run Again” command.
    noniq committed Aug 19, 2014
  2. Update changes.

    noniq committed Aug 19, 2014
  3. Update readme.

    noniq committed Aug 19, 2014
Commits on Aug 12, 2014
  1. Use attr.test.rspec scope for some commands.

    This scope available since TextMate 2.0-alpha.9557. It is automatically active in projects having a `.rspec` file. So the shortcuts for “Run Again” and “Run Examples in selected …” can now be used even from non-RSpec files in such projects.
    noniq committed Aug 12, 2014
  2. Move ⌥⌘R shortcut to “Run Again”.

    “Run Again” is “Run Last Examples file” on steroids, so the shortcut belongs there.
    noniq committed Aug 12, 2014
  3. Change “Run Examples in selected …” shortcut to ⌥⇧⌘R

    So we have a distinct shortcut here (⌥⌘R was shared with “Run Last Example”).
    noniq committed Aug 12, 2014
  4. Use constant instead of method.

    noniq committed with noniq Aug 8, 2014
  5. Fix TextMateFormatter for Ruby <= 2.1.

    `CGI.h` isn’t available before Ruby 2.1.0.
    noniq committed Aug 12, 2014
Commits on Aug 9, 2014
  1. Merge branch 'elia-switch-command-fix' into master

    This is basically #88, but I reordered and squashed some commits.
    noniq committed Aug 9, 2014
  2. Extract the “described” builder and add specs

    And thanks to @noniq for forcing me to write specs and fix a couple of bugs (it was only working with rails projects).
    elia committed with noniq Aug 8, 2014
  3. Use #system instead of #`

    elia committed with noniq Aug 8, 2014
  4. Fix the switch command

    - add a default describe with type subject
    elia committed with noniq Mar 31, 2014
  5. Disable random sorting of specs

    Makes runner specs go forever with certain seeds (e.g. --seed 6871),
    disabled until the runner will run specs in a subshell. Ref:
    elia@92bd792#commitcomment-7325726
    elia committed with noniq Aug 9, 2014
  6. Add standard RSpec configuration

    elia committed with noniq Aug 8, 2014
  7. Add the default .rspec

    elia committed with noniq Aug 8, 2014
  8. Whitespace fixes.

    elia committed with noniq Aug 9, 2014
Commits on Aug 8, 2014
  1. “Run examples in selected…” now runs all examples if nothing is selec…

    …ted.
    
    All examples in `spec/`, to be exact.
    noniq committed Aug 8, 2014
  2. Use `Shellwords.join` in spec.

    Or, for trivial cases like in line 89, just a plain string.
    noniq committed Aug 8, 2014
  3. Revert "Use ruby18 shim (w/ shebang) for remember file cmd"

    This reverts commit 09fe0a3.
    
    Commands using `RSpec::Mate::Runner` must not use the ruby18 shim (for now, at least).
    
    Fixes “LoadError: cannot load such file -- bundler” when running this command in a project where a Gemfile exists.
    noniq committed Aug 8, 2014