zendesk_apps_support 4.38.3 → 4.39.0
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: bb4bfc5050c085b678ea4aa2040854acf165de0886d536c368ee61dce3a96ca2
|
4
|
+
data.tar.gz: 1490016492df188f9eb148985ad5e12c1419b2ba259df76cb1ee3348ba29a602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc8be303618e28ccbab5fbe8a76d88a04c04d4bd60ac28062cb03cb9ff004c93dde8447bff300b709a10b0e8fb55db3f3ec2b5574d28ccafbcf62b1972037ab6
|
7
|
+
data.tar.gz: 4333a128ecaf12cb3cdab6b9fe77f1b90598628b689673385e140e09cf5547d0def6e2e587e6573c7359b4e9e4bd7bf079a09b9a452770ba279ea40b2a3151d5
|
@@ -18,7 +18,7 @@ module ZendeskAppsSupport
|
|
18
18
|
|
19
19
|
# if the error contains the word `_legacy` in the second sentence, let's
|
20
20
|
# only use the first one.
|
21
|
-
if [original, attempted].any? { |val| val =~ /_legacy/ }
|
21
|
+
if [original, attempted].any? { |val| val.is_a?(String) && val =~ /_legacy/ }
|
22
22
|
return translated_error
|
23
23
|
end
|
24
24
|
translated_detail_key = 'txt.apps.admin.error.app_build.duplicate_reference_values'
|
@@ -434,7 +434,8 @@ module ZendeskAppsSupport
|
|
434
434
|
|
435
435
|
def valid_url?(value)
|
436
436
|
uri = URI.parse(value)
|
437
|
-
uri.
|
437
|
+
host_empty = uri.host.nil? || uri.host == ''
|
438
|
+
uri.is_a?(URI::HTTP) && !host_empty
|
438
439
|
rescue URI::InvalidURIError
|
439
440
|
false
|
440
441
|
end
|
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.
|
4
|
+
version: 4.39.0
|
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: 2023-
|
14
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: i18n
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 1.7.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.7.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: sassc
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,16 +177,16 @@ dependencies:
|
|
177
177
|
name: rspec
|
178
178
|
requirement: !ruby/object:Gem::Requirement
|
179
179
|
requirements:
|
180
|
-
- - "
|
180
|
+
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
182
|
+
version: '0'
|
183
183
|
type: :development
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
|
-
- - "
|
187
|
+
- - ">="
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
189
|
+
version: '0'
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: bump
|
192
192
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,16 +205,16 @@ dependencies:
|
|
205
205
|
name: faker
|
206
206
|
requirement: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- - "
|
208
|
+
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
210
|
+
version: '0'
|
211
211
|
type: :development
|
212
212
|
prerelease: false
|
213
213
|
version_requirements: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- - "
|
215
|
+
- - ">="
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
version:
|
217
|
+
version: '0'
|
218
218
|
- !ruby/object:Gem::Dependency
|
219
219
|
name: rubocop
|
220
220
|
requirement: !ruby/object:Gem::Requirement
|
@@ -346,10 +346,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
346
346
|
requirements:
|
347
347
|
- - ">="
|
348
348
|
- !ruby/object:Gem::Version
|
349
|
-
version: '2.
|
350
|
-
- - "<"
|
351
|
-
- !ruby/object:Gem::Version
|
352
|
-
version: '3.1'
|
349
|
+
version: '2.7'
|
353
350
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
354
351
|
requirements:
|
355
352
|
- - ">="
|