has_moderated 0.0.5 → 0.0.6

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 HasModerated
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/has_moderated.rb CHANGED
@@ -160,7 +160,6 @@ module HasModerated
160
160
  moderations = []
161
161
  self.changes.each_pair do |att_name, values|
162
162
  att_name = att_name.to_s
163
- next if values[1].blank?
164
163
  if self.class.moderated_attributes.include?(att_name)
165
164
  moderations.push(Moderation.create!({
166
165
  :moderatable_type => self.class.to_s,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_moderated
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jan Berdajs