Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #31 from ronny/fix-create-module-st3

Fix to make RSpecCreateModule work in ST3
  • Loading branch information...
commit 83363d91994e2d7c28979b808b51778d1084d030 2 parents 37ff8e9 + 8dd0128
Greg Williams authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 RSpecCreateModule.py
View
6 RSpecCreateModule.py
@@ -1,11 +1,11 @@
import sublime, sublime_plugin, time
import re
-import shared
+from RSpec import shared
_patterns = dict((k, re.compile('_*' + v)) for (k, v)
in dict(allcamel=r'(?:[A-Z]+[a-z0-9]*)+$',
trailingcamel=r'[a-z]+(?:[A-Z0-9]*[a-z0-9]*)+$',
- underscores=r'(?:[a-z]+_*)+[a-z0-9]+$').iteritems())
+ underscores=r'(?:[a-z]+_*)+[a-z0-9]+$').items())
_caseTransition = re.compile('([A-Z][a-z]+)')
@@ -66,4 +66,4 @@ class " + text + "\n\
# try:
# except ValueError:
- # pass
+ # pass
Please sign in to comment.
Something went wrong with that request. Please try again.