acts_as_archive 0.2.4 → 0.2.5

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.
@@ -6,8 +6,10 @@ module ActsAsArchive
6
6
  base.send :extend, ClassMethods
7
7
  base.class_eval do
8
8
  class <<self
9
- alias_method :method_missing_without_archive, :method_missing
10
- alias_method :method_missing, :method_missing_with_archive
9
+ unless method_defined?(:method_missing_without_archive)
10
+ alias_method :method_missing_without_archive, :method_missing
11
+ alias_method :method_missing, :method_missing_with_archive
12
+ end
11
13
  end
12
14
  end
13
15
  end
data/require.rb CHANGED
@@ -17,7 +17,7 @@ Require do
17
17
  name 'acts_as_archive'
18
18
  homepage "http://github.com/winton/#{name}"
19
19
  summary "Don't delete your records, move them to a different table"
20
- version '0.2.4'
20
+ version '0.2.5'
21
21
  end
22
22
 
23
23
  lib do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-17 00:00:00 -07:00
12
+ date: 2010-05-07 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency