sindex 0.1.3 → 0.1.4
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.
- data/lib/sindex/series_index.rb +2 -2
- data/lib/sindex/version.rb +1 -1
- metadata +3 -3
data/lib/sindex/series_index.rb
CHANGED
@@ -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(
|
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(
|
238
|
+
if key.match(/^#{name}$/i)
|
239
239
|
return val
|
240
240
|
end
|
241
241
|
end
|
data/lib/sindex/version.rb
CHANGED
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.
|
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:
|
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:
|
145
|
+
hash: 915591941571066382
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
148
|
rubygems_version: 1.8.24
|