spree_loyalty 0.1.0 → 0.1.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/CHANGELOG.md +19 -0
- data/config/locales/en.yml +4 -3
- data/lib/spree_loyalty/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: 73725b3df01ba9e30c196f8ecee4d44383d320b50266d7c3d4e65d912d6ff796
|
|
4
|
+
data.tar.gz: 5306c1845895991e8ba1e160f87257fbcf5db071b23afb3e047ba7757165ecba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15318d47afcda633707070edbe79e4f3c30aef0f0ca16a89575d0f6aed8eda5262754ccc82c67cc90c6ed018784af54a869b1574330df8181733065d4e417e7b
|
|
7
|
+
data.tar.gz: a37bdf89afbe0fe922d01a01a483d25cdc773f1c22561ead3fda7d954c5ddf48aea4e2e13fbef5fc924fbd80c987b565783cef3a9b0716edeb86864ad43b19ee
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.1.1
|
|
6
|
+
|
|
7
|
+
Test/docs-only release — no `app/`/`lib/` runtime code changed. Generating this gem's dummy app for
|
|
8
|
+
the first time on a real Postgres surfaced two real bugs its specs had never actually caught:
|
|
9
|
+
|
|
10
|
+
- Fixed a real test-isolation bug: `accrual_spec.rb` and `order_completed_subscriber_spec.rb` both
|
|
11
|
+
created a line item directly via factory, then expected `order.item_total` to reflect it — but
|
|
12
|
+
Spree only recalculates that column through its real order-update pipeline, which a direct
|
|
13
|
+
factory create bypasses entirely (the normal checkout flow triggers it; this test fixture never
|
|
14
|
+
did). Calling that pipeline alone was intermittently insufficient too — `order` could already
|
|
15
|
+
have a stale, memoized empty `line_items` association loaded from earlier in its own
|
|
16
|
+
creation/validation, and `update_totals` summed that instead of querying fresh. An explicit
|
|
17
|
+
`order.reload` immediately before recalculating fixes it — verified stable across 5+ repeated
|
|
18
|
+
full-suite runs (was flaky before, depending on run/example order).
|
|
19
|
+
- Normalized `config/locales/en.yml` via `i18n-tasks normalize` (pre-existing, unrelated gap).
|
|
20
|
+
|
|
21
|
+
Full suite: 32 examples, 0 failures (was flaky, up to 6 failures depending on run order).
|
|
22
|
+
Coverage: 75.00% (63/84 lines). Brakeman clean.
|
|
23
|
+
|
|
5
24
|
## 0.1.0
|
|
6
25
|
|
|
7
26
|
- First release: points-based loyalty program for Spree Commerce, POS-agnostic by design.
|
data/config/locales/en.yml
CHANGED