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 2017.09.21.23.14.09
    2 2013.10.17.22.03.58
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 5K
  • Win 453
  • OS X 3K
  • Linux 1K
Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11
Windows 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 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
OS X 0 1 1 0 3 0 2 2 4 0 0 0 0 3 3 1 0 0 2 2 2 2 2 0 0 0 0 0 2 0 0 0 0 0 0 2 2 0 0 3 2 1 1 2 1 0
Linux 0 0 0 1 0 1 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0 1 0 2 0 0 0 0 0 0 1 1 3 0 0 0 0 1

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.