shipeasy-sdk 4.1.0 → 4.2.0
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: 95ceaf83b490b3ead4d906afc230f980c1d0a19a922a1de60a1aadcbf711ba2d
|
|
4
|
+
data.tar.gz: 04dd01e38421b5b765efd00778c3a9277ad4b5ee1969d991146d191311a27518
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ae769272370dccfbe8e8a154bf79c6007e89ab909312d8ba86f8f9a3138b757978c475a1902e85a09edcdc71c186e2371953e2f20db7a2dda1fa13df486a462
|
|
7
|
+
data.tar.gz: 167338e87bc545cf110b7f234c8b19576568e2125ccf87f71f89b203f11099c27a5b08562a96b059c30574e248baf5b07e556383e6f5c736a2d14209a3814368
|
data/lib/shipeasy/sdk/version.rb
CHANGED
|
@@ -40,7 +40,7 @@ module Shipeasy::Admin::Generated
|
|
|
40
40
|
# Emails of teammates to subscribe to this item's Slack pings at creation.
|
|
41
41
|
attr_accessor :subscribers
|
|
42
42
|
|
|
43
|
-
# Tag names to
|
|
43
|
+
# Tag names to label the item with, e.g. `[\"ios\", \"checkout\"]`. Each name is matched case-insensitively against the project's existing tags and reuses that tag (keeping its stored casing) when one matches; a name with no match creates a new project tag. Here the tags only label the ticket: the project's tag rules (owner/status/agent routing) are not applied to a public report while it awaits approval.
|
|
44
44
|
attr_accessor :tags
|
|
45
45
|
|
|
46
46
|
# Email of the reporter, or `null`.
|
|
@@ -283,6 +283,10 @@ module Shipeasy::Admin::Generated
|
|
|
283
283
|
invalid_properties.push('invalid value for "expected_result", the character length must be smaller than or equal to 8000.')
|
|
284
284
|
end
|
|
285
285
|
|
|
286
|
+
if !@tags.nil? && @tags.length > 50
|
|
287
|
+
invalid_properties.push('invalid value for "tags", number of items must be less than or equal to 50.')
|
|
288
|
+
end
|
|
289
|
+
|
|
286
290
|
if !@user_agent.nil? && @user_agent.to_s.length > 500
|
|
287
291
|
invalid_properties.push('invalid value for "user_agent", the character length must be smaller than or equal to 500.')
|
|
288
292
|
end
|
|
@@ -309,6 +313,7 @@ module Shipeasy::Admin::Generated
|
|
|
309
313
|
return false if !@steps_to_reproduce.nil? && @steps_to_reproduce.to_s.length > 8000
|
|
310
314
|
return false if !@actual_result.nil? && @actual_result.to_s.length > 8000
|
|
311
315
|
return false if !@expected_result.nil? && @expected_result.to_s.length > 8000
|
|
316
|
+
return false if !@tags.nil? && @tags.length > 50
|
|
312
317
|
return false if !@user_agent.nil? && @user_agent.to_s.length > 500
|
|
313
318
|
return false if !@viewport.nil? && @viewport.to_s.length > 40
|
|
314
319
|
return false if !@dedup_key.nil? && @dedup_key.to_s.length > 200
|
|
@@ -380,6 +385,20 @@ module Shipeasy::Admin::Generated
|
|
|
380
385
|
@expected_result = expected_result
|
|
381
386
|
end
|
|
382
387
|
|
|
388
|
+
# Custom attribute writer method with validation
|
|
389
|
+
# @param [Object] tags Value to be assigned
|
|
390
|
+
def tags=(tags)
|
|
391
|
+
if tags.nil?
|
|
392
|
+
fail ArgumentError, 'tags cannot be nil'
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
if tags.length > 50
|
|
396
|
+
fail ArgumentError, 'invalid value for "tags", number of items must be less than or equal to 50.'
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
@tags = tags
|
|
400
|
+
end
|
|
401
|
+
|
|
383
402
|
# Custom attribute writer method with validation
|
|
384
403
|
# @param [Object] user_agent Value to be assigned
|
|
385
404
|
def user_agent=(user_agent)
|
|
@@ -37,7 +37,7 @@ module Shipeasy::Admin::Generated
|
|
|
37
37
|
# Emails of teammates to subscribe to this item's Slack pings at creation.
|
|
38
38
|
attr_accessor :subscribers
|
|
39
39
|
|
|
40
|
-
# Tag names to
|
|
40
|
+
# Tag names to label the item with, e.g. `[\"ios\", \"checkout\"]`. Each name is matched case-insensitively against the project's existing tags and reuses that tag (keeping its stored casing) when one matches; a name with no match creates a new project tag. Here the tags only label the ticket: the project's tag rules (owner/status/agent routing) are not applied to a public report while it awaits approval.
|
|
41
41
|
attr_accessor :tags
|
|
42
42
|
|
|
43
43
|
# Email of the reporter, or `null`.
|
|
@@ -258,6 +258,10 @@ module Shipeasy::Admin::Generated
|
|
|
258
258
|
invalid_properties.push('invalid value for "use_case", the character length must be smaller than or equal to 8000.')
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
+
if !@tags.nil? && @tags.length > 50
|
|
262
|
+
invalid_properties.push('invalid value for "tags", number of items must be less than or equal to 50.')
|
|
263
|
+
end
|
|
264
|
+
|
|
261
265
|
if !@user_agent.nil? && @user_agent.to_s.length > 500
|
|
262
266
|
invalid_properties.push('invalid value for "user_agent", the character length must be smaller than or equal to 500.')
|
|
263
267
|
end
|
|
@@ -279,6 +283,7 @@ module Shipeasy::Admin::Generated
|
|
|
279
283
|
return false if @title !~ Regexp.new(/^\S(.*\S)?$/)
|
|
280
284
|
return false if !@description.nil? && @description.to_s.length > 8000
|
|
281
285
|
return false if !@use_case.nil? && @use_case.to_s.length > 8000
|
|
286
|
+
return false if !@tags.nil? && @tags.length > 50
|
|
282
287
|
return false if !@user_agent.nil? && @user_agent.to_s.length > 500
|
|
283
288
|
return false if !@dedup_key.nil? && @dedup_key.to_s.length > 200
|
|
284
289
|
true
|
|
@@ -335,6 +340,20 @@ module Shipeasy::Admin::Generated
|
|
|
335
340
|
@use_case = use_case
|
|
336
341
|
end
|
|
337
342
|
|
|
343
|
+
# Custom attribute writer method with validation
|
|
344
|
+
# @param [Object] tags Value to be assigned
|
|
345
|
+
def tags=(tags)
|
|
346
|
+
if tags.nil?
|
|
347
|
+
fail ArgumentError, 'tags cannot be nil'
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if tags.length > 50
|
|
351
|
+
fail ArgumentError, 'invalid value for "tags", number of items must be less than or equal to 50.'
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
@tags = tags
|
|
355
|
+
end
|
|
356
|
+
|
|
338
357
|
# Custom attribute writer method with validation
|
|
339
358
|
# @param [Object] user_agent Value to be assigned
|
|
340
359
|
def user_agent=(user_agent)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shipeasy-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shipeasy, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|