spree_api 4.4.0.rc2 → 4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/spree/webhooks/has_webhooks.rb +3 -1
- data/lib/spree/api/engine.rb +0 -7
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db18ec57434be88149ce2ec6d1c139ab32cdbbf4a494b3a6ccb32185705201ec
|
4
|
+
data.tar.gz: 9206637747a6f60b0ce14106e5266cbd4ed943945e010e7b8fe73d6a1d05e035
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3126d0027ac32c8ab4a111f740ba16b6a3ffadf6c401de8c0fa95222ac3280012580c1aa5afb8c44538cdb35126925228e73335e413d1888e959cdae9371b57
|
7
|
+
data.tar.gz: 7666b434e4c11bb62dbb9f6f8f936d8ab8201cb6515e871ecc99516c1e6f81a61db95db1027016735f9efadc79551cedc09ad0009447579f5f356aa83064abfb
|
@@ -9,8 +9,10 @@ module Spree
|
|
9
9
|
after_update_commit(proc { queue_webhooks_requests!(inferred_event_name(:update)) })
|
10
10
|
|
11
11
|
def queue_webhooks_requests!(event_name)
|
12
|
-
return if disable_spree_webhooks?
|
12
|
+
return if disable_spree_webhooks?
|
13
|
+
return if Spree::Webhooks::Subscriber.active.with_urls_for(event_name).none?
|
13
14
|
return if update_event?(event_name) && updating_only_timestamps?
|
15
|
+
return if webhook_payload_body.blank?
|
14
16
|
|
15
17
|
Spree::Webhooks::Subscribers::QueueRequests.call(event_name: event_name, webhook_payload_body: webhook_payload_body)
|
16
18
|
end
|
data/lib/spree/api/engine.rb
CHANGED
@@ -15,13 +15,6 @@ module Spree
|
|
15
15
|
Migrations.new(config, engine_name).check
|
16
16
|
end
|
17
17
|
|
18
|
-
initializer 'spree.api.checking_deprecated_preferences' do
|
19
|
-
Spree::Api::Config.deprecated_preferences.each do |pref|
|
20
|
-
# FIXME: we should only notify about deprecated preferences that are in use, not all of them
|
21
|
-
# warn "[DEPRECATION] Spree::Api::Config[:#{pref[:name]}] is deprecated. #{pref[:message]}"
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
18
|
def self.activate
|
26
19
|
[
|
27
20
|
Spree::Address, Spree::Asset, Spree::CmsPage, Spree::CreditCard, Spree::CustomerReturn,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bigg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n-tasks
|
@@ -148,14 +148,14 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - '='
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 4.4.
|
151
|
+
version: 4.4.1
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - '='
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: 4.4.
|
158
|
+
version: 4.4.1
|
159
159
|
description: Spree's API
|
160
160
|
email:
|
161
161
|
- ryan@spreecommerce.com
|
@@ -559,9 +559,9 @@ licenses:
|
|
559
559
|
- BSD-3-Clause
|
560
560
|
metadata:
|
561
561
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
562
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v4.4.
|
562
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.4.1
|
563
563
|
documentation_uri: https://dev-docs.spreecommerce.org/
|
564
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.4.
|
564
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.4.1
|
565
565
|
post_install_message:
|
566
566
|
rdoc_options: []
|
567
567
|
require_paths:
|
@@ -573,11 +573,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
573
573
|
version: '2.5'
|
574
574
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
575
575
|
requirements:
|
576
|
-
- - "
|
576
|
+
- - ">="
|
577
577
|
- !ruby/object:Gem::Version
|
578
|
-
version:
|
578
|
+
version: '0'
|
579
579
|
requirements: []
|
580
|
-
rubygems_version: 3.
|
580
|
+
rubygems_version: 3.5.3
|
581
581
|
signing_key:
|
582
582
|
specification_version: 4
|
583
583
|
summary: Spree's API
|