dscf-marketplace 0.9.5 → 0.9.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 888e597416339864fb9f310837a1624135b615dbf8ec21d875594a05bab42632
|
|
4
|
+
data.tar.gz: a0476fcb98220d993ce5cc5b63c0f497b2d887c54a9397e19399750c2fc57a33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5c7d51bdf7f4d9923416be26301bb9c52dc15620634aa9cbf7c752607a5a31bb54264f73cf1df4f021da6ed5a403a23a93e64d581c82cc7c0718df767517726
|
|
7
|
+
data.tar.gz: 0f16faf59dbf7676fa2ef70ae16a04d8e37a57eb359011e381a67038be06cee41cf1ed234561410869e8f03c6d76497e9d4307aee9bab24e656464ab137c7f1f
|
|
@@ -18,6 +18,14 @@ module Dscf
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
def self.validate_item(item)
|
|
21
|
+
# Don't re-flag an item the aggregator has already resolved. Re-running
|
|
22
|
+
# validation would otherwise compare the live listing price against the
|
|
23
|
+
# untouched order unit_price and reopen the same issue forever.
|
|
24
|
+
# A resolved item is "validated" but RETAINS its validation_note; an item
|
|
25
|
+
# that was never flagged is "validated" with a nil note (set in the else
|
|
26
|
+
# branch below), so the retained note cleanly distinguishes the two.
|
|
27
|
+
return item if item.validation_status == "validated" && item.validation_note.present?
|
|
28
|
+
|
|
21
29
|
current_listing = find_current_active_listing(item)
|
|
22
30
|
return mark_no_longer_listed(item) unless current_listing
|
|
23
31
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dscf-marketplace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Asrat
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-06-
|
|
10
|
+
date: 2026-06-29 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|