Permalink
Browse files

Fixes to make it work with ST3

  • Loading branch information...
1 parent 37ff8e9 commit 8dd01281c61c717a900ba910d978e368676a7fa3 @ronny ronny committed Jul 4, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 RSpecCreateModule.py
View
@@ -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

0 comments on commit 8dd0128

Please sign in to comment.