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

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

[nongnu] elpa/inf-ruby df014b0717 177/265: Merge pull request #90 from c


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby df014b0717 177/265: Merge pull request #90 from codeasone/support-single-quoted-gemspec-name
Date: Sat, 9 Jul 2022 21:59:24 -0400 (EDT)

branch: elpa/inf-ruby
commit df014b0717d5b35b54587fcfcda6f753d3e1091e
Merge: 4d82095424 227a80fc52
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>

    Merge pull request #90 from codeasone/support-single-quoted-gemspec-name
    
    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..340c96d6d2 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]*['\"]\\([^'\"]+\\)['\"]" 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]