restforce-db 1.0.0 → 1.0.1
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/restforce/db/version.rb +1 -1
- data/lib/restforce/db/worker.rb +2 -2
- 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: 81c4cb301a49871350431ca49beeabb1aa388e58
|
4
|
+
data.tar.gz: afcc1186f6b9457c2e785d667d2316409d29053d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb11a7a5ed95525c9fe1f38328ac1da76078e46923159f7c199364b31614f6e14fef9edd0e46a85705f946a63b620f0fee9a1661ac0bb3bcfe8fab36dca2fb14
|
7
|
+
data.tar.gz: 024cdabd2ad379edb8426bdbd3cf04f7d9d9d06511fc0964510ed82fa2f21a6ab96c914d47892300158aa30ae4c150283719fb1d54cbb1f331691b341261b7bb
|
data/lib/restforce/db/version.rb
CHANGED
data/lib/restforce/db/worker.rb
CHANGED
@@ -75,14 +75,14 @@ module Restforce
|
|
75
75
|
runner.tick!
|
76
76
|
@changes = Hash.new { |h, k| h[k] = Accumulator.new }
|
77
77
|
|
78
|
-
Restforce::DB::
|
78
|
+
Restforce::DB::Registry.each do |mapping|
|
79
79
|
task("PROPAGATING RECORDS", mapping) { propagate mapping }
|
80
80
|
task("COLLECTING CHANGES", mapping) { collect mapping }
|
81
81
|
end
|
82
82
|
|
83
83
|
# NOTE: We can only perform the synchronization after all record
|
84
84
|
# changes have been aggregated, so this second loop is necessary.
|
85
|
-
Restforce::DB::
|
85
|
+
Restforce::DB::Registry.each do |mapping|
|
86
86
|
task("APPLYING CHANGES", mapping) { synchronize mapping }
|
87
87
|
end
|
88
88
|
end
|