Suppress warnings on old version of Ruby

This commit is contained in:
Junegunn Choi 2013-12-11 01:03:47 +09:00
parent e1bc4b983e
commit 1c89994c94
2 changed files with 2 additions and 2 deletions

2
fzf
View File

@ -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

View File

@ -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}