ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rails​Go​To​Spec

by sporto ST2/ST3

Sublime Text 3 plug-in for going to Rails spec file

Details

  • 3 2019.10.20.21.31.21
    2 2013.10.17.22.03.58
  • github.​com
  • github.​com
  • 2 months ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 5K
  • Win 468
  • OS X 3K
  • Linux 1K
Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26
Windows 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
OS X 0 1 0 1 0 0 1 1 1 0 0 1 1 2 1 1 0 0 2 0 3 0 1 0 0 2 0 0 3 3 0 0 1 1 2 1 0 0 0 1 0 0 2 1 0 1
Linux 0 0 0 0 0 0 0 3 1 0 1 0 0 0 0 0 0 0 3 2 1 0 0 0 1 0 0 1 1 1 0 3 1 0 0 0 1 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Rails Go to Spec

A Sublime Text 3 plug-in. From a .rb file this plug-in will open the relevant spec. If the spec doesn't exist it asks if it should be created.

Only supports _spec.rb files at the moment.

Installation

Using Sublime Package Control http://wbond.net/sublime_packages/package_control

Install rails_go_to_spec

By default, specs are assumed to live in “/spec”, but if you have a nonstandard location, you can override with the “go_to_spec_directory” setting in your preferences.

Usage

  • Run from menu > Goto > Rails Go to Spec
  • Default key binding is command + shift + y
  • Or run from command palette 'Rails Go to Spec'

Dev

git clone git@github.com:sporto/rails_go_to_spec.git RailsGoToSpec

Testing

python resolver_test.py

Acknowledgements

Thanks to reInteractive for providing the time to work on this.