case 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/case.rb +1 -1
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake/rdoctask'
4
4
  require 'rake/gempackagetask'
5
5
  require 'rake/clean'
6
6
 
7
- GEM_VERSION = "0.2.1"
7
+ GEM_VERSION = "0.2.2"
8
8
 
9
9
  Rake::RDocTask.new do |task|
10
10
  task.rdoc_files.add [ 'lib/**/*.rb' ]
data/lib/case.rb CHANGED
@@ -35,7 +35,7 @@ class Any
35
35
  end
36
36
  end
37
37
 
38
- if defined ::Tuple
38
+ if defined? ::Tuple
39
39
  class Tuple < ::Tuple
40
40
  def ===(other)
41
41
  return false unless ::Tuple === other and size == other.size
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: case
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.1
6
+ version: 0.2.2
7
7
  date: 2008-01-17 00:00:00 -05:00
8
8
  summary: Pattern matching for Ruby
9
9
  require_paths: