zendesk_apps_support 4.44.0.alpha.3 → 4.44.0.alpha.4
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/lib/zendesk_apps_support/package.rb +8 -8
- data/lib/zendesk_apps_support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4e4c5b527f55ef2196a4ca7ae93ea4f7936f4e675a95fa09cb2a041dca32440
|
4
|
+
data.tar.gz: 4c3fedc8899ce36e76033fbe3b1c5fd3c50065e2b04f8b3c4ce547fbadff0f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51ad85fa9da996911de164bf7571499af15fe9040f162814bd3d6ac4d8b173b7e7773f0bdda8662afa9e30c4a58db96600a5aea1c921d83f740642745a9e0152
|
7
|
+
data.tar.gz: ffca3dbb9cffd56bc6bbdc9655add3c04a8a583c399eeaea34d9ced8d7e953862840928919ecc1c561b43b120f0a4bc62d8d06a2c140ac02e5a6b6bf78b0ce3b
|
@@ -31,8 +31,12 @@ module ZendeskAppsSupport
|
|
31
31
|
@warnings = []
|
32
32
|
end
|
33
33
|
|
34
|
-
def validate(
|
35
|
-
|
34
|
+
def validate(options = {})
|
35
|
+
marketplace = options.fetch(:marketplace, true)
|
36
|
+
skip_marketplace_translations = options.fetch(:skip_marketplace_translations, false)
|
37
|
+
error_on_password_parameter = options.fetch(:error_on_password_parameter, false)
|
38
|
+
validate_custom_objects_v2 = options.fetch(:validate_custom_objects_v2, false)
|
39
|
+
|
36
40
|
errors = []
|
37
41
|
errors << Validations::Manifest.call(self, error_on_password_parameter: error_on_password_parameter)
|
38
42
|
|
@@ -62,12 +66,8 @@ module ZendeskAppsSupport
|
|
62
66
|
errors.flatten.compact
|
63
67
|
end
|
64
68
|
|
65
|
-
def validate!(
|
66
|
-
|
67
|
-
errors = validate(marketplace: marketplace,
|
68
|
-
skip_marketplace_translations: skip_marketplace_translations,
|
69
|
-
error_on_password_parameter: error_on_password_parameter,
|
70
|
-
validate_custom_objects_v2:)
|
69
|
+
def validate!(opts = {})
|
70
|
+
errors = validate(opts)
|
71
71
|
raise errors.first if errors.any?
|
72
72
|
|
73
73
|
true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk_apps_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.44.0.alpha.
|
4
|
+
version: 4.44.0.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James A. Rosen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2025-10-
|
14
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: i18n
|