mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-10 10:16:20 +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 ''
|
when ''
|
||||||
nil
|
nil
|
||||||
when /^\^(.*)\$$/
|
when /^\^(.*)\$$/
|
||||||
Regexp.new('^' << sanitize(Regexp.escape $1) << '$', rxflag)
|
Regexp.new('^' << sanitize(Regexp.escape($1)) << '$', rxflag)
|
||||||
when /^'/
|
when /^'/
|
||||||
w.length > 1 ?
|
w.length > 1 ?
|
||||||
Regexp.new(sanitize(Regexp.escape(w[1..-1])), rxflag) : nil
|
Regexp.new(sanitize(Regexp.escape(w[1..-1])), rxflag) : nil
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = 'fzf'
|
spec.name = 'fzf'
|
||||||
spec.version = '0.5.2'
|
spec.version = '0.5.3'
|
||||||
spec.authors = ['Junegunn Choi']
|
spec.authors = ['Junegunn Choi']
|
||||||
spec.email = ['junegunn.c@gmail.com']
|
spec.email = ['junegunn.c@gmail.com']
|
||||||
spec.description = %q{Fuzzy finder for your shell}
|
spec.description = %q{Fuzzy finder for your shell}
|
||||||
|
Loading…
Reference in New Issue
Block a user