branch: elpa/inf-ruby
commit 57b3419be3dd494b16a4c55c3cc6cc2c6b0d1147
Author: Mark Stuart <[email protected]>
Commit: Mark Stuart <[email protected]>
Allow single quoted gemspec name
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index deb57692f5..089afe31eb 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -709,7 +709,7 @@ Gemfile, it should use the `gemspec' instruction."
"bundle exec irb -I lib")
"irb -I lib"))
(name (inf-ruby-file-contents-match
- gemspec "\\.name[ \t]*=[ \t]*\"\\([^\"]+\\)\"" 1))
+ gemspec "\\.name[ \t]*=[ \t]*[\'\"]\\([^\"\n]+\\)[\'\"]" 1))
args files)
(unless (file-exists-p "lib")
(error "The directory must contain a 'lib' subdirectory"))