dscf-marketplace 0.8.8 → 0.8.9
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/app/controllers/dscf/marketplace/retailers_controller.rb +1 -1
- data/app/controllers/dscf/marketplace/suppliers_controller.rb +1 -1
- data/app/models/dscf/marketplace/agent.rb +1 -0
- data/app/models/dscf/marketplace/retailer.rb +1 -0
- data/db/migrate/20260619210001_add_user_id_to_dscf_marketplace_agents.rb +8 -0
- data/db/migrate/20260619210002_add_user_id_to_dscf_marketplace_retailers.rb +8 -0
- data/lib/dscf/marketplace/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce8356967d3398e0db71eeea4bb7c4c4ab29b7755a6709728b4e221ed66d66b7
|
|
4
|
+
data.tar.gz: 29a36ec8dee0f6b151e204678199122ca6f4876201c3afb0eaaabceb11cd3ca4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d1ee57848f223f11bbe6953b603e639cd4e71972056a36b73c95c8265e742df4872cfc095ef373b1bf11ef1dae3c41f6be9ed64baf4957b7b36d6b119f3b74b
|
|
7
|
+
data.tar.gz: '07086f8b707602c32ebfa535c572642edd0f8d7d12ef39443f1aff18e9670eadc8a01cdaedf20c53dc0ccb115ca86e259edfb5b71e1564077d718885e0ee378c'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
module Dscf::Marketplace
|
|
2
2
|
class Agent < ApplicationRecord
|
|
3
3
|
# Associations
|
|
4
|
+
belongs_to :user, class_name: "Dscf::Core::User", optional: true
|
|
4
5
|
belongs_to :onboarded_by, class_name: "Dscf::Core::Business", optional: true
|
|
5
6
|
has_one_attached :photo
|
|
6
7
|
has_one_attached :national_id
|
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.8.
|
|
4
|
+
version: 0.8.9
|
|
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-19 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|
|
@@ -584,6 +584,8 @@ files:
|
|
|
584
584
|
- db/migrate/20260616000008_add_rejection_and_location_to_dscf_marketplace_agents.rb
|
|
585
585
|
- db/migrate/20260616000009_make_agent_id_nullable_in_dscf_marketplace_retailers.rb
|
|
586
586
|
- db/migrate/20260616000010_add_code_to_dscf_marketplace_categories_and_gender_to_dscf_marketplace_agents.rb
|
|
587
|
+
- db/migrate/20260619210001_add_user_id_to_dscf_marketplace_agents.rb
|
|
588
|
+
- db/migrate/20260619210002_add_user_id_to_dscf_marketplace_retailers.rb
|
|
587
589
|
- db/seeds.rb
|
|
588
590
|
- lib/dscf/marketplace.rb
|
|
589
591
|
- lib/dscf/marketplace/engine.rb
|