sideshowbandana-acts_as_archive 0.2.6 → 0.2.7

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
@@ -17,6 +17,8 @@ module ActsAsArchive
17
17
  #{Array(options[:indexes]).collect(&:to_s).inspect}
18
18
  end
19
19
 
20
+ alias_method :archive, :destroy
21
+
20
22
  class Archive < ActiveRecord::Base
21
23
  self.record_timestamps = false
22
24
  self.table_name = "archived_#{self.table_name}"
@@ -2,5 +2,5 @@ test:
2
2
  adapter: mysql
3
3
  database: acts_as_archive
4
4
  username: root
5
- password: Seeyal8r
5
+ password:
6
6
  host: localhost
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sideshowbandana-acts_as_archive
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 7
10
+ version: 0.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kyle Barton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-04 00:00:00 -07:00
18
+ date: 2010-08-06 00:00:00 -07:00
19
19
  default_executable: acts_as_archive
20
20
  dependencies: []
21
21