snf_core 0.2.4 → 0.2.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 +4 -4
- data/MIT-LICENSE +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/controllers/concerns/common.rb +0 -0
- data/app/controllers/concerns/pagination.rb +0 -0
- data/app/controllers/snf_core/application_controller.rb +0 -0
- data/app/jobs/snf_core/application_job.rb +0 -0
- data/app/mailers/snf_core/application_mailer.rb +0 -0
- data/app/models/snf_core/address.rb +0 -0
- data/app/models/snf_core/application_record.rb +0 -0
- data/app/models/snf_core/business.rb +0 -0
- data/app/models/snf_core/business_document.rb +4 -1
- data/app/models/snf_core/category.rb +0 -0
- data/app/models/snf_core/customer_group.rb +0 -0
- data/app/models/snf_core/group.rb +0 -0
- data/app/models/snf_core/product.rb +0 -0
- data/app/models/snf_core/store.rb +0 -0
- data/app/models/snf_core/store_inventory.rb +0 -0
- data/app/models/snf_core/user.rb +0 -0
- data/app/models/snf_core/wallet.rb +0 -0
- data/config/routes.rb +0 -0
- data/db/migrate/20250226042622_create_snf_core_users.rb +0 -0
- data/db/migrate/20250226064444_create_snf_core_categories.rb +0 -0
- data/db/migrate/20250226080323_create_snf_core_businesses.rb +0 -0
- data/db/migrate/20250226102931_create_snf_core_business_documents.rb +0 -0
- data/db/migrate/20250226110217_create_snf_core_addresses.rb +0 -0
- data/db/migrate/20250226115215_create_snf_core_stores.rb +0 -0
- data/db/migrate/20250226181007_create_snf_core_products.rb +0 -0
- data/db/migrate/20250226190000_create_snf_core_store_inventories.rb +0 -0
- data/db/migrate/20250226192104_create_snf_core_groups.rb +0 -0
- data/db/migrate/20250226193938_create_snf_core_customer_groups.rb +0 -0
- data/db/migrate/20250227075048_create_snf_core_wallets.rb +0 -0
- data/db/migrate/20250227102833_modify_store_inventories.rb +0 -0
- data/lib/snf_core/engine.rb +1 -1
- data/lib/snf_core/version.rb +1 -1
- data/lib/snf_core.rb +0 -0
- data/lib/tasks/snf_core_tasks.rake +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5df58d60cebf78089d6900341276ae197b4f0114827b43b7cc9bc70496bb0b22
|
4
|
+
data.tar.gz: 5550e5b8978e489cef20d80b036ef680f06e96b71f25a0ea85eaa5aa68e44384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adefb05a9a1b3c751472efd2af71255163cd695e847b810356aabea51c571a759afac62e4cd07b82c178f69ed5fe6b9b8d4617d449d664af056373d9de323160
|
7
|
+
data.tar.gz: ba0f66d26aa614b8d3bc9d435a71fe5631c7c4d034b04a1317177ae16c60ad90619eef93f1aee8a84038b448e11941fd5ad826b835cda6d796e85d54246ba9ae
|
data/MIT-LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,7 +3,10 @@ module SnfCore
|
|
3
3
|
belongs_to :business
|
4
4
|
belongs_to :verified_by, class_name: "SnfCore::User", optional: true
|
5
5
|
|
6
|
-
enum :
|
6
|
+
enum document_type: {
|
7
|
+
business_license_doc: 0,
|
8
|
+
representative_id_doc: 1
|
9
|
+
}, _prefix: :document
|
7
10
|
|
8
11
|
has_one_attached :document
|
9
12
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/models/snf_core/user.rb
CHANGED
File without changes
|
File without changes
|
data/config/routes.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/snf_core/engine.rb
CHANGED
@@ -10,7 +10,7 @@ module SnfCore
|
|
10
10
|
end
|
11
11
|
|
12
12
|
initializer "snf_core.factories", after: "factory_bot.set_factory_paths" do
|
13
|
-
FactoryBot.definition_file_paths << File.expand_path("
|
13
|
+
FactoryBot.definition_file_paths << File.expand_path("../../../spec/factories", __dir__) if defined?(FactoryBot)
|
14
14
|
end
|
15
15
|
|
16
16
|
initializer :append_migrations do |app|
|
data/lib/snf_core/version.rb
CHANGED
data/lib/snf_core.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Asrat
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-02-
|
10
|
+
date: 2025-02-28 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: active_model_serializers
|
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
338
338
|
- !ruby/object:Gem::Version
|
339
339
|
version: '0'
|
340
340
|
requirements: []
|
341
|
-
rubygems_version: 3.6.
|
341
|
+
rubygems_version: 3.6.4
|
342
342
|
specification_version: 4
|
343
343
|
summary: An Engine for Supply Chain Financing
|
344
344
|
test_files: []
|