acts_as_data_owner 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,8 @@ module ActsAsDataOwner
37
37
  include InstanceMethods
38
38
  end
39
39
 
40
+ alias_method :data_owner, :acts_as_data_owner
41
+
40
42
  module InstanceMethods
41
43
  private
42
44
 
@@ -1,6 +1,6 @@
1
1
  module ActiveRecord
2
- class Migration
3
2
 
3
+ class Migration
4
4
  def acts_as_data_owner_for(table_name, *args)
5
5
  options = args.extract_options!
6
6
  fields = [:creator, :owner, :updater]
@@ -20,5 +20,7 @@ module ActiveRecord
20
20
  end
21
21
  end
22
22
 
23
+ alias_method :data_owner, :acts_as_data_owner_for
24
+
23
25
  end
24
26
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module ActsAsDataOwner
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_data_owner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-08 00:00:00.000000000Z
12
+ date: 2012-05-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails