mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-05 21:17:49 +00:00
Suppress warnings on old version of Ruby
This commit is contained in:
parent
e1bc4b983e
commit
1c89994c94
2
fzf
2
fzf
@ -830,7 +830,7 @@ class FZF
|
||||
when ''
|
||||
nil
|
||||
when /^\^(.*)\$$/
|
||||
Regexp.new('^' << sanitize(Regexp.escape $1) << '$', rxflag)
|
||||
Regexp.new('^' << sanitize(Regexp.escape($1)) << '$', rxflag)
|
||||
when /^'/
|
||||
w.length > 1 ?
|
||||
Regexp.new(sanitize(Regexp.escape(w[1..-1])), rxflag) : nil
|
||||
|
@ -1,7 +1,7 @@
|
||||
# coding: utf-8
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = 'fzf'
|
||||
spec.version = '0.5.2'
|
||||
spec.version = '0.5.3'
|
||||
spec.authors = ['Junegunn Choi']
|
||||
spec.email = ['junegunn.c@gmail.com']
|
||||
spec.description = %q{Fuzzy finder for your shell}
|
||||
|
Loading…
Reference in New Issue
Block a user