emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 57b3419be3 175/265: Allow single quoted gemspec n


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 57b3419be3 175/265: Allow single quoted gemspec name
Date: Sat, 9 Jul 2022 21:59:24 -0400 (EDT)

branch: elpa/inf-ruby
commit 57b3419be3dd494b16a4c55c3cc6cc2c6b0d1147
Author: Mark Stuart <codeasone@gmail.com>
Commit: Mark Stuart <codeasone@gmail.com>

    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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]