acts_as_stampable 0.0.2 → 0.0.3

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.
@@ -21,11 +21,11 @@ module ActsAsStampable
21
21
  end
22
22
 
23
23
  def set_creator_attribute
24
- self.created_by = User.the_user.login
24
+ self.created_by = User.the_user.login if User.the_user
25
25
  end
26
26
 
27
27
  def set_updater_attribute
28
- self.updated_by = User.the_user.login
28
+ self.updated_by = User.the_user.login if User.the_user
29
29
  end
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsStampable
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: