spree_cm_commissioner 2.5.13.pre.pre9 → 2.5.13.pre.pre10
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cda202d57559f846b4a179b772356c746e5e8f5ab7a6660a429da04cf13d324e
|
|
4
|
+
data.tar.gz: 8f78501c10668445dc160c8994e745e37b349e7e0982b69a9cad8ff87ae404b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d22ef4b41780c0d156e42b4d8b03a906b82d9144075f05f3d0719534003f0925b85a6c0894ad2ef6083eb355ff8e5c4e88d7f0fa925c6910544aed824beb313e
|
|
7
|
+
data.tar.gz: d38bb6e89ff4f5e46f940cc68759c7ee88596e9a369f5c221e2d9ac1e0f974bab8dd9ea4955317efa9fd4efb84e62628ac308157b086e8ac590e2071a3732bc6
|
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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.pre10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- You
|
|
@@ -1822,6 +1822,7 @@ files:
|
|
|
1822
1822
|
- app/serializers/spree/api/v2/platform/create_guest_adjustment_serializer.rb
|
|
1823
1823
|
- app/serializers/spree/api/v2/platform/create_line_item_adjustment_serializer.rb
|
|
1824
1824
|
- app/serializers/spree/api/v2/platform/create_route_adjustment_serializer.rb
|
|
1825
|
+
- app/serializers/spree/api/v2/platform/pricing_action_serializer.rb
|
|
1825
1826
|
- app/serializers/spree/v2/organizer/asset_serializer.rb
|
|
1826
1827
|
- app/serializers/spree/v2/organizer/base_serializer.rb
|
|
1827
1828
|
- app/serializers/spree/v2/organizer/image_serializer.rb
|
|
@@ -1962,7 +1963,6 @@ files:
|
|
|
1962
1963
|
- app/serializers/spree_cm_commissioner/v2/storefront/menu_item_serializer_decorator.rb
|
|
1963
1964
|
- app/serializers/spree_cm_commissioner/v2/storefront/payment_method_group_serializer.rb
|
|
1964
1965
|
- app/serializers/spree_cm_commissioner/v2/storefront/pin_code_serializer.rb
|
|
1965
|
-
- app/serializers/spree_cm_commissioner/v2/storefront/pricing_action_serializer.rb
|
|
1966
1966
|
- app/serializers/spree_cm_commissioner/v2/storefront/product_dynamic_field_serializer.rb
|
|
1967
1967
|
- app/serializers/spree_cm_commissioner/v2/storefront/product_place_serializer.rb
|
|
1968
1968
|
- app/serializers/spree_cm_commissioner/v2/storefront/promotion_action_serializer.rb
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|