lafcadio 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/lafcadio.rb CHANGED
@@ -16,7 +16,7 @@
16
16
  # http://lafcadio.rubyforge.org/tutorial.html.
17
17
 
18
18
  module Lafcadio
19
- Version = "0.6.5"
19
+ Version = "0.6.6"
20
20
 
21
21
  require 'lafcadio/dateTime'
22
22
  require 'lafcadio/depend'
data/lib/lafcadio.rb~ CHANGED
@@ -16,7 +16,7 @@
16
16
  # http://lafcadio.rubyforge.org/tutorial.html.
17
17
 
18
18
  module Lafcadio
19
- Version = "0.6.4"
19
+ Version = "0.6.5"
20
20
 
21
21
  require 'lafcadio/dateTime'
22
22
  require 'lafcadio/depend'
@@ -415,11 +415,11 @@ module Lafcadio
415
415
 
416
416
  def get_regexp
417
417
  if @matchType == PRE_AND_POST
418
- Regexp.new(@searchTerm)
418
+ Regexp.new( @searchTerm, Regexp::IGNORECASE )
419
419
  elsif @matchType == PRE_ONLY
420
- Regexp.new(@searchTerm.to_s + "$")
420
+ Regexp.new( @searchTerm.to_s + "$", Regexp::IGNORECASE )
421
421
  elsif @matchType == POST_ONLY
422
- Regexp.new("^" + @searchTerm)
422
+ Regexp.new( "^" + @searchTerm, Regexp::IGNORECASE )
423
423
  end
424
424
  end
425
425
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.6
3
3
  specification_version: 1
4
4
  name: lafcadio
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.5
7
- date: 2005-07-17
6
+ version: 0.6.6
7
+ date: 2005-08-14
8
8
  summary: Lafcadio is an object-relational mapping layer
9
9
  require_paths:
10
10
  - lib