dexiecable 0.1.4 → 0.1.5
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 +4 -4
- data/lib/dexiecable/active_record_ext.rb +1 -1
- data/lib/dexiecable/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: 76cb95257adff7eb0842268e1034b6343bfb70c31c7e81412d30e3d583334cd0
|
|
4
|
+
data.tar.gz: fb2d20f1315c684dcfd04f62cfa46133cecfbbcc02947e6ddbdb1414a78cb57b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e99fae42a46168becf374343b07b7ebc5b71f2a2a188dd418cb0508d84d999c8f1ce09b53a63750988070bbddfea1e8830baf7be901d27ec10764cb79cc80c08
|
|
7
|
+
data.tar.gz: fe163d958cecaf308992c904e03170a93ce84da201a431566d371fb8da4ad55f12114305f09c00e02275054a8a8b61f79c5385af0262993f913b68da88806fb9
|
|
@@ -34,7 +34,7 @@ module DexieCable
|
|
|
34
34
|
# returns truthy (evaluated in the record's context).
|
|
35
35
|
# @param unless [Symbol, Proc] Skip sync if the given method or proc
|
|
36
36
|
# returns truthy (evaluated in the record's context).
|
|
37
|
-
def
|
|
37
|
+
def syncs_to_dexie(via:, subject: nil, table: nil, only: nil, **options)
|
|
38
38
|
events = Array(only || %i[create update destroy])
|
|
39
39
|
conditions = options.slice(:if, :unless)
|
|
40
40
|
|
data/lib/dexiecable/version.rb
CHANGED