collab 0.1.7 → 0.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a566794428295f9b9ff7c624b1c6f936804bc071756766f340df9637e16938
4
- data.tar.gz: 0ccfbe46ff5f6273bfc14aac4d9e22e21a7d20e0a23b4acdfa63ef8968ea0ee7
3
+ metadata.gz: eb2ee35163aa059b11156c14d30c0366c5f69b79475e0c7d7ee5a97fbcf9ade9
4
+ data.tar.gz: ded15f9d6aebc4fcd40adf92cb8105caeddd94b9894e596fe05fea1943518fa0
5
5
  SHA512:
6
- metadata.gz: cd20428b6337a7f7609825d01369b3ac0374c17e72eafb81d3ed6239f01ca7e8061ca4f620e7e0278f279ca2ffbe0608a8fc3612f77de2e733470f09456a3e0c
7
- data.tar.gz: cc80222ba503f5b2605f77e81615397527fea9865d4b599657bd95226b4eda8bca1979347c2ddbdd6ddbe0ffcea098613b12fddd00c2b745755fc2f23f0e7ab5
6
+ metadata.gz: fe270eefabd2bc3753bef65a2892a359da7b9c16a6d4d2dff3d94006645a767744aad493268a795d6f339cf0e13259b6d0d6a383656da2b811c0aae4262fcf03
7
+ data.tar.gz: 40da589d2a889569e10bbc6541892388ee6f061f0a6bca73fee2c8b470498a9211fd546c738da7dd184aa936ed56b2f5939136a82e0435195a0c85454b799961
@@ -40,7 +40,7 @@ module Collab
40
40
  end
41
41
 
42
42
  def apply_transaction(document, transaction, schema_name:)
43
- call("applyTransaction", {doc: document, data: transaction}, schema_name: schemaName)
43
+ call("applyTransaction", {doc: document, data: transaction}, schema_name: schema_name)
44
44
  end
45
45
 
46
46
  def html_to_document(html, schema_name:)
@@ -29,8 +29,6 @@ module Collab
29
29
  end
30
30
 
31
31
  def from_html(html)
32
- raise "cannot override a persisted document" if self.persisted?
33
-
34
32
  self.document = ::Collab::Bridge.current.html_to_document(html, schema_name: schema_name)
35
33
  end
36
34
 
@@ -1,3 +1,3 @@
1
1
  module Collab
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Aubin