spree_cm_commissioner 2.5.13.pre.pre4 → 2.5.13.pre.pre5
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/Gemfile.lock +1 -1
- data/app/serializers/spree/api/v2/platform/create_guest_adjustment_serializer.rb +10 -0
- data/app/serializers/spree/api/v2/platform/create_line_item_adjustment_serializer.rb +10 -0
- data/app/serializers/spree/api/v2/platform/create_route_adjustment_serializer.rb +10 -0
- data/app/serializers/spree/api/v2/platform/pricing_action_serializer.rb +15 -0
- data/app/serializers/spree_cm_commissioner/v2/storefront/pricing_action_serializer.rb +13 -0
- data/lib/spree_cm_commissioner/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64aaca941d5dd71d9b9c774bf87bf43b8f78aee063d56f840a5d4d5868818e6b
|
|
4
|
+
data.tar.gz: 43ca065560aaae8c4639a4b3d3cf81d7965bee83272a2e13102def34aee73e45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 970c0bb7672cd66ac95b7ac32b6246c9b4407483f70168f1869d6499dbaea2fa5a780653e0e1cbc01ca3e04020dd6daf7926388b49759e11fa7cef04aeea2d5a
|
|
7
|
+
data.tar.gz: ce4761d8d8ecfb1dc0c292de8c5b5d03b93b73bb41536a61438d0d6cea74be0247b24b5700d5b73061107e990ec8f4fba73ba74a7401ea9159810f353016ab15
|
data/Gemfile.lock
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Spree
|
|
2
|
+
module Api
|
|
3
|
+
module V2
|
|
4
|
+
module Platform
|
|
5
|
+
class PricingActionSerializer < BaseSerializer
|
|
6
|
+
attribute :type_name do |action|
|
|
7
|
+
action.class.name.underscore
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
has_one :calculator, if: proc { |action| action.respond_to?(:calculator) }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module SpreeCmCommissioner
|
|
2
|
+
module V2
|
|
3
|
+
module Storefront
|
|
4
|
+
class PricingActionSerializer < BaseSerializer
|
|
5
|
+
attribute :type_name do |action|
|
|
6
|
+
action.class.name.underscore
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
has_one :calculator, if: proc { |action| action.respond_to?(:calculator) }
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_cm_commissioner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.13.pre.
|
|
4
|
+
version: 2.5.13.pre.pre5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- You
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: spree
|
|
@@ -1819,6 +1819,10 @@ files:
|
|
|
1819
1819
|
- app/serializers/.gitkeep
|
|
1820
1820
|
- app/serializers/concerns/spree_cm_commissioner/api/v2/resource_serializer_concern_decorator.rb
|
|
1821
1821
|
- app/serializers/spree/api/v2/platform/create_date_specific_item_adjustment_serializer.rb
|
|
1822
|
+
- app/serializers/spree/api/v2/platform/create_guest_adjustment_serializer.rb
|
|
1823
|
+
- app/serializers/spree/api/v2/platform/create_line_item_adjustment_serializer.rb
|
|
1824
|
+
- app/serializers/spree/api/v2/platform/create_route_adjustment_serializer.rb
|
|
1825
|
+
- app/serializers/spree/api/v2/platform/pricing_action_serializer.rb
|
|
1822
1826
|
- app/serializers/spree/v2/organizer/asset_serializer.rb
|
|
1823
1827
|
- app/serializers/spree/v2/organizer/base_serializer.rb
|
|
1824
1828
|
- app/serializers/spree/v2/organizer/image_serializer.rb
|
|
@@ -1959,6 +1963,7 @@ files:
|
|
|
1959
1963
|
- app/serializers/spree_cm_commissioner/v2/storefront/menu_item_serializer_decorator.rb
|
|
1960
1964
|
- app/serializers/spree_cm_commissioner/v2/storefront/payment_method_group_serializer.rb
|
|
1961
1965
|
- app/serializers/spree_cm_commissioner/v2/storefront/pin_code_serializer.rb
|
|
1966
|
+
- app/serializers/spree_cm_commissioner/v2/storefront/pricing_action_serializer.rb
|
|
1962
1967
|
- app/serializers/spree_cm_commissioner/v2/storefront/product_dynamic_field_serializer.rb
|
|
1963
1968
|
- app/serializers/spree_cm_commissioner/v2/storefront/product_place_serializer.rb
|
|
1964
1969
|
- app/serializers/spree_cm_commissioner/v2/storefront/promotion_action_serializer.rb
|