sindex 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -231,11 +231,11 @@ module Sindex
231
231
  # Returns the seriesname in index or nil if it does not exist
232
232
  def series_name_in_index(name)
233
233
 
234
- matching_series = @series_data.keys.grep(/#{name}/i).first
234
+ matching_series = @series_data.keys.grep(/^#{name}$/i).first
235
235
  return matching_series if matching_series
236
236
 
237
237
  @series_aliases.each do |key, val|
238
- if key.match(/#{name}/i)
238
+ if key.match(/^#{name}$/i)
239
239
  return val
240
240
  end
241
241
  end
@@ -1,3 +1,3 @@
1
1
  module Sindex
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sindex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: -1112075699874427594
136
+ hash: 915591941571066382
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: -1112075699874427594
145
+ hash: 915591941571066382
146
146
  requirements: []
147
147
  rubyforge_project:
148
148
  rubygems_version: 1.8.24