property_sets 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/property_sets/property_set_model.rb +0 -6
- data/property_sets.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
@@ -51,16 +51,10 @@ module PropertySets
|
|
51
51
|
owner_class_instance.update_attribute(:updated_at, Time.now)
|
52
52
|
end
|
53
53
|
end
|
54
|
-
|
55
|
-
def reset_owner_association
|
56
|
-
owner_class_instance.send(self.class.owner_assoc).reload
|
57
|
-
end
|
58
54
|
end
|
59
55
|
|
60
56
|
module ClassMethods
|
61
57
|
def self.extended(base)
|
62
|
-
base.after_create :reset_owner_association
|
63
|
-
base.after_destroy :reset_owner_association
|
64
58
|
base.validate :validate_format_of_name
|
65
59
|
base.before_create :coerce_value
|
66
60
|
end
|
data/property_sets.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: property_sets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Morten Primdahl
|