backframe 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backframe/models/activity.rb +1 -1
- data/lib/backframe/models/story.rb +6 -2
- data/lib/backframe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75a2e871f31e35e4c0a1f5a53dfe51939f6332c
|
4
|
+
data.tar.gz: 316e27dfbe78f1f6cac8fd252f1ddbee73c90ae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 782ca0a11064a9687d6df2e1c234c0516c53d4a34092b613d30e75dc351c5bc5fe7094991cd184c28382a310e296571587c5233694aae536ca483a4b661a8667
|
7
|
+
data.tar.gz: 5da3de8ae2f0d5d34c0a579081f905737cf5166e9c1c597505f9404d91c42e28c63f3a794bbe23f960dd7c628f82102c4a3f309ce3ad95f91d256c4fdde3679b
|
@@ -13,7 +13,7 @@ module Backframe
|
|
13
13
|
default_scope -> { includes(:subject,:object1,:object2,:story).order(:created_at => :desc) }
|
14
14
|
|
15
15
|
def text=(text)
|
16
|
-
self.story =
|
16
|
+
self.story = Story.find_or_initialize_by(:text => text)
|
17
17
|
end
|
18
18
|
|
19
19
|
def subject=(object)
|
data/lib/backframe/version.rb
CHANGED