wolf_core 0.1.88 → 0.1.89
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 690f4bc94dfdee6a9f42a74af9ed0432bd5e155f77d4b803c7b5c56f55c7e3a1
|
4
|
+
data.tar.gz: b5199946dbc987fe9bceb6df744eba393fff351181ac076b539a3b5c57650945
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab25e0389cae18a747e0146c46797d61ab2f2a73a7d770409dfcc42f4c08e1f3df5b58ff58d5ddf72dc007625c1a4e5d8d1cb41e9e7bca48a2a89e71fafb987e
|
7
|
+
data.tar.gz: ab6b4a53790070d05181feab31489ba9571811ed7ec0a2db4ce3f1a975f1a53b347ed87f95ecf81e3d03f70747ae8821d0cb0bfa6ce46aa6638e2e5c237f6792
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module WolfCore
|
2
|
+
module Integrations
|
3
|
+
module ChangeDetection
|
4
|
+
def get_changed_custom_requirement_ids(payload)
|
5
|
+
changed_custom_requirement_ids = []
|
6
|
+
if payload['changes'].any?
|
7
|
+
changed_custom_values = payload.dig('changes', 'custom_values')
|
8
|
+
changed_custom_requirement_ids = if changed_custom_values.present?
|
9
|
+
changed_custom_values.map do |changed_custom_value|
|
10
|
+
changed_custom_value['custom_requirement_id'].to_s
|
11
|
+
end
|
12
|
+
else
|
13
|
+
[payload.dig('attributes', 'custom_requirement_id').to_s]
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.89
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/wolf_core/application/barton/parsing.rb
|
94
94
|
- lib/wolf_core/application/barton/routing.rb
|
95
95
|
- lib/wolf_core/application/exception_operations.rb
|
96
|
+
- lib/wolf_core/application/integrations/change_detection.rb
|
96
97
|
- lib/wolf_core/application/salesforce_oauth_service.rb
|
97
98
|
- lib/wolf_core/application/service_exception.rb
|
98
99
|
- lib/wolf_core/infrastructure/fkm_operations.rb
|