acts_as_stampable 0.0.1 → 0.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module ActsAsStampable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -9,9 +9,6 @@ module ActsAsStampable
9
9
  super
10
10
 
11
11
  base.extend(ClassMethods)
12
- base.class_eval do
13
- include InstanceMethods
14
- end
15
12
  end
16
13
 
17
14
  module ClassMethods
@@ -23,7 +20,6 @@ module ActsAsStampable
23
20
  end
24
21
  end
25
22
 
26
- module InstanceMethods
27
23
  def set_creator_attribute
28
24
  self.created_by = User.the_user.login
29
25
  end
@@ -31,7 +27,6 @@ module ActsAsStampable
31
27
  def set_updater_attribute
32
28
  self.updated_by = User.the_user.login
33
29
  end
34
- end
35
30
  end
36
31
 
37
32
  ActiveRecord::Base.send :include, ActsAsStampable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_stampable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: