impl 1.1 → 1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/impl.rb +2 -2
  2. metadata +3 -3
@@ -10,7 +10,7 @@ module Enumerable
10
10
  end
11
11
 
12
12
  module Impl
13
- VERSION = '1.1'
13
+ VERSION = '1.2'
14
14
 
15
15
  def generate(ctags, dir)
16
16
  memo = []
@@ -66,7 +66,7 @@ module Impl
66
66
 
67
67
  x = File.read(base + 'tags').
68
68
  each_line.
69
- select {|l| /^#{name}\t/ =~ l }.
69
+ select {|l| /^#{Regexp.escape name}\t/ =~ l }.
70
70
  map {|l| l.split("\t") }.
71
71
  first
72
72
  r = Regexp.new(x[2][1..-4].gsub(/[\(\*\)]/) {|x| '\\' << x })
metadata CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 1
8
- version: "1.1"
7
+ - 2
8
+ version: "1.2"
9
9
  platform: ruby
10
10
  authors:
11
11
  - ujihisa
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-03-11 00:00:00 -08:00
16
+ date: 2011-03-13 00:00:00 -08:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency