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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/README.md +0 -0
  4. data/Rakefile +0 -0
  5. data/app/controllers/concerns/common.rb +0 -0
  6. data/app/controllers/concerns/pagination.rb +0 -0
  7. data/app/controllers/snf_core/application_controller.rb +0 -0
  8. data/app/jobs/snf_core/application_job.rb +0 -0
  9. data/app/mailers/snf_core/application_mailer.rb +0 -0
  10. data/app/models/snf_core/address.rb +0 -0
  11. data/app/models/snf_core/application_record.rb +0 -0
  12. data/app/models/snf_core/business.rb +0 -0
  13. data/app/models/snf_core/business_document.rb +4 -1
  14. data/app/models/snf_core/category.rb +0 -0
  15. data/app/models/snf_core/customer_group.rb +0 -0
  16. data/app/models/snf_core/group.rb +0 -0
  17. data/app/models/snf_core/product.rb +0 -0
  18. data/app/models/snf_core/store.rb +0 -0
  19. data/app/models/snf_core/store_inventory.rb +0 -0
  20. data/app/models/snf_core/user.rb +0 -0
  21. data/app/models/snf_core/wallet.rb +0 -0
  22. data/config/routes.rb +0 -0
  23. data/db/migrate/20250226042622_create_snf_core_users.rb +0 -0
  24. data/db/migrate/20250226064444_create_snf_core_categories.rb +0 -0
  25. data/db/migrate/20250226080323_create_snf_core_businesses.rb +0 -0
  26. data/db/migrate/20250226102931_create_snf_core_business_documents.rb +0 -0
  27. data/db/migrate/20250226110217_create_snf_core_addresses.rb +0 -0
  28. data/db/migrate/20250226115215_create_snf_core_stores.rb +0 -0
  29. data/db/migrate/20250226181007_create_snf_core_products.rb +0 -0
  30. data/db/migrate/20250226190000_create_snf_core_store_inventories.rb +0 -0
  31. data/db/migrate/20250226192104_create_snf_core_groups.rb +0 -0
  32. data/db/migrate/20250226193938_create_snf_core_customer_groups.rb +0 -0
  33. data/db/migrate/20250227075048_create_snf_core_wallets.rb +0 -0
  34. data/db/migrate/20250227102833_modify_store_inventories.rb +0 -0
  35. data/lib/snf_core/engine.rb +1 -1
  36. data/lib/snf_core/version.rb +1 -1
  37. data/lib/snf_core.rb +0 -0
  38. data/lib/tasks/snf_core_tasks.rake +0 -0
  39. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2eeac26dcc719aad515cfd8e73c269f3e5c79ddbb4ac2c7fc7519fdd04dc6dfd
4
- data.tar.gz: bb22dd7fa292abb192000251ba0224fd21cafd7d814b0fa007ede0fbbe009fca
3
+ metadata.gz: 5df58d60cebf78089d6900341276ae197b4f0114827b43b7cc9bc70496bb0b22
4
+ data.tar.gz: 5550e5b8978e489cef20d80b036ef680f06e96b71f25a0ea85eaa5aa68e44384
5
5
  SHA512:
6
- metadata.gz: 2411b24a4e5dd3f6bcf9261918eacba2028e2d28bb27f592b025d29a02188807eec28b34ae7b47d6cede9281956a5bef97ef53f4bcfa0aa7eca6666c5a1616ab
7
- data.tar.gz: 0470da1273b487d024d855f301f9f69a010f3b3b2080638a3d1f1135cd90465dd4f35c2534de5b7ae1d1edd19f65c87005dfb08ac3f30807c76fa153501a8911
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 :document_type, { business_license: 0, representative_id: 1 }
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
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
@@ -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("../../spec/factories", dir) if defined?(FactoryBot)
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|
@@ -1,3 +1,3 @@
1
1
  module SnfCore
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.6"
3
3
  end
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
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-27 00:00:00.000000000 Z
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.2
341
+ rubygems_version: 3.6.4
342
342
  specification_version: 4
343
343
  summary: An Engine for Supply Chain Financing
344
344
  test_files: []