collab 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/collab/has_collaborative_document.rb +1 -1
- data/lib/collab/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c6f4ca46b51f7fd05bacdea192bbd5ec7979b6c44f7528665beda336fb6d43
|
4
|
+
data.tar.gz: e2a0748fe7e1686a36a7ace934153433b1a499c18f8a0c930ed689564f9eb90e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36feda3ab2009c1a954434893a1ca89eed1f9492b08a20af7872d720abceaf4351398b16a9c6ba63cccf76f318ba387b3be29c85cf0616aba52a20f8fed7f71c
|
7
|
+
data.tar.gz: bd79ab6de7c2c24185f581031d4b25f673d5ef037f2f3794d4b06cb2b2906c772227d8ad9aa3ec4b63b28d82f0a48f2fdd3a54f6835db919b67b628b0c83fdb0
|
@@ -8,7 +8,7 @@ module Collab
|
|
8
8
|
|
9
9
|
define_method attach_as do
|
10
10
|
super() || begin
|
11
|
-
document = self.__send__("build_#{attach_as}", schema_name: schema,
|
11
|
+
document = self.__send__("build_#{attach_as}", schema_name: schema, content: blank_document.dup)
|
12
12
|
document.save!
|
13
13
|
document
|
14
14
|
end
|
data/lib/collab/version.rb
CHANGED