kinetic_sdk 5.0.27 → 5.0.28

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.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +24 -0
  4. data/gems/mime-types-3.6.0/Code-of-Conduct.md +128 -0
  5. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/History.md +18 -0
  6. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/README.rdoc +2 -1
  7. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Rakefile +1 -0
  8. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/type.rb +68 -43
  9. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/container.rb +2 -2
  10. data/gems/mime-types-3.6.0/lib/mime/types/deprecations.rb +56 -0
  11. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/loader.rb +1 -1
  12. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/registry.rb +6 -4
  13. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_type.rb +37 -33
  14. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types.rb +11 -16
  15. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_class.rb +3 -3
  16. data/gems/{mime-types-data-3.2024.0305/History.md → mime-types-data-3.2025.0107/CHANGELOG.md} +242 -180
  17. data/gems/mime-types-data-3.2025.0107/CODE_OF_CONDUCT.md +128 -0
  18. data/gems/{mime-types-data-3.2024.0305/Contributing.md → mime-types-data-3.2025.0107/CONTRIBUTING.md} +39 -133
  19. data/gems/mime-types-data-3.2025.0107/CONTRIBUTORS.md +52 -0
  20. data/gems/{mime-types-data-3.2024.0305/Licence.md → mime-types-data-3.2025.0107/LICENCE.md} +1 -1
  21. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/Manifest.txt +6 -17
  22. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/README.md +30 -30
  23. data/gems/mime-types-data-3.2025.0107/Rakefile +88 -0
  24. data/gems/mime-types-data-3.2025.0107/SECURITY.md +7 -0
  25. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/content_type_mime.db +4 -3
  26. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/ext_mime.db +4 -3
  27. data/gems/mime-types-data-3.2025.0107/data/mime-types.json +1 -0
  28. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.content_type.column +71 -5
  29. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.docs.column +66 -0
  30. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.encoding.column +66 -0
  31. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.flags.column +70 -4
  32. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.friendly.column +66 -0
  33. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.pext.column +66 -0
  34. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.use_instead.column +69 -3
  35. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.xrefs.column +132 -66
  36. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/lib/mime/types/data.rb +1 -1
  37. data/lib/kinetic_sdk/core/lib/jwt.rb +1 -1
  38. data/lib/kinetic_sdk/core/lib/space.rb +17 -8
  39. data/lib/kinetic_sdk/integrator/integrator-sdk.rb +140 -0
  40. data/lib/kinetic_sdk/integrator/lib/connections.rb +62 -0
  41. data/lib/kinetic_sdk/integrator/lib/executions.rb +38 -0
  42. data/lib/kinetic_sdk/integrator/lib/metadata.rb +31 -0
  43. data/lib/kinetic_sdk/integrator/lib/operations.rb +69 -0
  44. data/lib/kinetic_sdk/utils/kinetic-http.rb +20 -20
  45. data/lib/kinetic_sdk/version.rb +1 -1
  46. data/lib/kinetic_sdk.rb +3 -2
  47. metadata +60 -66
  48. data/gems/mime-types-3.5.2/Code-of-Conduct.md +0 -73
  49. data/gems/mime-types-3.5.2/lib/mime/types/deprecations.rb +0 -36
  50. data/gems/mime-types-data-3.2024.0305/Code-of-Conduct.md +0 -75
  51. data/gems/mime-types-data-3.2024.0305/Rakefile +0 -170
  52. data/gems/mime-types-data-3.2024.0305/data/mime-types.json +0 -1
  53. data/gems/mime-types-data-3.2024.0305/types/application.yaml +0 -18611
  54. data/gems/mime-types-data-3.2024.0305/types/audio.yaml +0 -1740
  55. data/gems/mime-types-data-3.2024.0305/types/chemical.yaml +0 -71
  56. data/gems/mime-types-data-3.2024.0305/types/conference.yaml +0 -9
  57. data/gems/mime-types-data-3.2024.0305/types/drawing.yaml +0 -15
  58. data/gems/mime-types-data-3.2024.0305/types/font.yaml +0 -65
  59. data/gems/mime-types-data-3.2024.0305/types/image.yaml +0 -1316
  60. data/gems/mime-types-data-3.2024.0305/types/message.yaml +0 -241
  61. data/gems/mime-types-data-3.2024.0305/types/model.yaml +0 -450
  62. data/gems/mime-types-data-3.2024.0305/types/multipart.yaml +0 -179
  63. data/gems/mime-types-data-3.2024.0305/types/text.yaml +0 -1257
  64. data/gems/mime-types-data-3.2024.0305/types/video.yaml +0 -1156
  65. data/gems/mime-types-data-3.2024.0305/types/world.yaml +0 -8
  66. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Contributing.md +0 -0
  67. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Licence.md +0 -0
  68. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Manifest.txt +0 -0
  69. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/type/columnar.rb +0 -0
  70. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/_columnar.rb +0 -0
  71. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/cache.rb +0 -0
  72. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/columnar.rb +0 -0
  73. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/full.rb +0 -0
  74. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/logger.rb +0 -0
  75. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types.rb +0 -0
  76. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime-types.rb +0 -0
  77. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/bad-fixtures/malformed +0 -0
  78. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/json.json +0 -0
  79. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/old-data +0 -0
  80. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/yaml.yaml +0 -0
  81. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/minitest_helper.rb +0 -0
  82. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_cache.rb +0 -0
  83. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_lazy.rb +0 -0
  84. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_loader.rb +0 -0
  85. /data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/lib/mime-types-data.rb +0 -0
@@ -9,13 +9,13 @@ describe MIME::Type do
9
9
  end
10
10
 
11
11
  let(:x_appl_x_zip) {
12
- mime_type("x-appl/x-zip") { |t| t.extensions = %w[zip zp] }
12
+ mime_type("content-type" => "x-appl/x-zip") { |t| t.extensions = %w[zip zp] }
13
13
  }
14
- let(:text_plain) { mime_type("text/plain") }
15
- let(:text_html) { mime_type("text/html") }
16
- let(:image_jpeg) { mime_type("image/jpeg") }
14
+ let(:text_plain) { mime_type("content-type" => "text/plain") }
15
+ let(:text_html) { mime_type("content-type" => "text/html") }
16
+ let(:image_jpeg) { mime_type("content-type" => "image/jpeg") }
17
17
  let(:application_javascript) {
18
- mime_type("application/javascript") do |js|
18
+ mime_type("content-type" => "application/javascript") do |js|
19
19
  js.friendly("en" => "JavaScript")
20
20
  js.xrefs = {
21
21
  "rfc" => %w[rfc4239 rfc4239],
@@ -27,7 +27,7 @@ describe MIME::Type do
27
27
  end
28
28
  }
29
29
  let(:text_x_yaml) {
30
- mime_type("text/x-yaml") do |yaml|
30
+ mime_type("content-type" => "text/x-yaml") do |yaml|
31
31
  yaml.extensions = %w[yaml yml]
32
32
  yaml.encoding = "8bit"
33
33
  yaml.friendly("en" => "YAML Structured Document")
@@ -88,20 +88,22 @@ describe MIME::Type do
88
88
  describe ".new" do
89
89
  it "fails if an invalid content type is provided" do
90
90
  exception = assert_raises MIME::Type::InvalidContentType do
91
- MIME::Type.new("apps")
91
+ MIME::Type.new("content-type" => "apps")
92
92
  end
93
93
  assert_equal 'Invalid Content-Type "apps"', exception.to_s
94
94
  end
95
95
 
96
96
  it "creates a valid content type just from a string" do
97
- type = MIME::Type.new("text/x-yaml")
97
+ assert_output "", /MIME::Type.new when called with a String is deprecated\./ do
98
+ type = MIME::Type.new("text/x-yaml")
98
99
 
99
- assert_instance_of MIME::Type, type
100
- assert_equal "text/x-yaml", type.content_type
100
+ assert_instance_of MIME::Type, type
101
+ assert_equal "text/x-yaml", type.content_type
102
+ end
101
103
  end
102
104
 
103
105
  it "yields the content type in a block" do
104
- MIME::Type.new("text/x-yaml") do |type|
106
+ MIME::Type.new("content-type" => "text/x-yaml") do |type|
105
107
  assert_instance_of MIME::Type, type
106
108
  assert_equal "text/x-yaml", type.content_type
107
109
  end
@@ -118,10 +120,12 @@ describe MIME::Type do
118
120
  end
119
121
 
120
122
  it "creates a valid content type from an array" do
121
- type = MIME::Type.new(%w[text/x-yaml yaml yml yz])
122
- assert_instance_of MIME::Type, type
123
- assert_equal "text/x-yaml", type.content_type
124
- assert_equal %w[yaml yml yz], type.extensions
123
+ assert_output "", /MIME::Type.new when called with an Array is deprecated\./ do
124
+ type = MIME::Type.new(%w[text/x-yaml yaml yml yz])
125
+ assert_instance_of MIME::Type, type
126
+ assert_equal "text/x-yaml", type.content_type
127
+ assert_equal %w[yaml yml yz], type.extensions
128
+ end
125
129
  end
126
130
  end
127
131
 
@@ -143,7 +147,7 @@ describe MIME::Type do
143
147
  end
144
148
 
145
149
  it "correctly compares equivalent types" do
146
- right = mime_type("text/Plain")
150
+ right = mime_type("content-type" => "text/Plain")
147
151
  refute_same text_plain, right
148
152
  assert_equal text_plain, right
149
153
  end
@@ -204,14 +208,14 @@ describe MIME::Type do
204
208
  end
205
209
 
206
210
  it "is false when there are no extensions" do
207
- refute mime_type("text/plain").complete?
211
+ refute mime_type("content-type" => "text/plain").complete?
208
212
  end
209
213
  end
210
214
 
211
215
  describe "#content_type" do
212
216
  it "preserves the original case" do
213
217
  assert_equal "text/plain", text_plain.content_type
214
- assert_equal "text/vCard", mime_type("text/vCard").content_type
218
+ assert_equal "text/vCard", mime_type("content-type" => "text/vCard").content_type
215
219
  end
216
220
 
217
221
  it "does not remove x- prefixes" do
@@ -266,27 +270,27 @@ describe MIME::Type do
266
270
  end
267
271
 
268
272
  it "is true for an equivalent MIME::Type" do
269
- assert text_plain.eql?(mime_type("text/Plain"))
273
+ assert text_plain.eql?(mime_type("content-type" => "text/Plain"))
270
274
  end
271
275
 
272
276
  it "is true for an equivalent subclass of MIME::Type" do
273
277
  subclass = Class.new(MIME::Type)
274
- assert text_plain.eql?(subclass.new("text/plain"))
278
+ assert text_plain.eql?(subclass.new("content-type" => "text/plain"))
275
279
  end
276
280
  end
277
281
 
278
282
  describe "#hash" do
279
283
  it "is the same between #eql? MIME::Type instances" do
280
- assert_equal text_plain.hash, mime_type("text/plain").hash
284
+ assert_equal text_plain.hash, mime_type("content-type" => "text/plain").hash
281
285
  end
282
286
 
283
287
  it "is the same between #eql? MIME::Type instances of different classes" do
284
288
  subclass = Class.new(MIME::Type)
285
- assert_equal text_plain.hash, subclass.new("text/plain").hash
289
+ assert_equal text_plain.hash, subclass.new("content-type" => "text/plain").hash
286
290
  end
287
291
 
288
292
  it "uses the #simplified value" do
289
- assert_equal text_plain.hash, mime_type("text/Plain").hash
293
+ assert_equal text_plain.hash, mime_type("content-type" => "text/Plain").hash
290
294
  end
291
295
  end
292
296
 
@@ -340,9 +344,9 @@ describe MIME::Type do
340
344
  assert_priority_more right, left
341
345
  end
342
346
 
343
- let(:text_1) { mime_type("text/1") }
344
- let(:text_1p) { mime_type("text/1") }
345
- let(:text_2) { mime_type("text/2") }
347
+ let(:text_1) { mime_type("content-type" => "text/1") }
348
+ let(:text_1p) { mime_type("content-type" => "text/1") }
349
+ let(:text_2) { mime_type("content-type" => "text/2") }
346
350
 
347
351
  it "sorts (1) based on the simplified type" do
348
352
  assert_priority text_1, text_1p, text_2
@@ -395,7 +399,7 @@ describe MIME::Type do
395
399
 
396
400
  describe "#raw_media_type" do
397
401
  it "extracts the media type as case-preserved" do
398
- assert_equal "Text", mime_type("Text/plain").raw_media_type
402
+ assert_equal "Text", mime_type("content-type" => "Text/plain").raw_media_type
399
403
  end
400
404
 
401
405
  it "does not remove x- prefixes" do
@@ -415,7 +419,7 @@ describe MIME::Type do
415
419
 
416
420
  describe "#raw_media_type" do
417
421
  it "extracts the media type as case-preserved" do
418
- assert_equal "Text", mime_type("Text/plain").raw_media_type
422
+ assert_equal "Text", mime_type("content-type" => "Text/plain").raw_media_type
419
423
  end
420
424
 
421
425
  it "does not remove x- prefixes" do
@@ -435,7 +439,7 @@ describe MIME::Type do
435
439
 
436
440
  describe "#raw_sub_type" do
437
441
  it "extracts the sub type as case-preserved" do
438
- assert_equal "Plain", mime_type("text/Plain").raw_sub_type
442
+ assert_equal "Plain", mime_type("content-type" => "text/Plain").raw_sub_type
439
443
  end
440
444
 
441
445
  it "does not remove x- prefixes" do
@@ -444,7 +448,7 @@ describe MIME::Type do
444
448
  end
445
449
 
446
450
  describe "#to_h" do
447
- let(:t) { mime_type("a/b") }
451
+ let(:t) { mime_type("content-type" => "a/b") }
448
452
 
449
453
  def assert_has_keys(wanted_keys, actual, msg = nil)
450
454
  wanted_keys = Array(wanted_keys).uniq.sort
@@ -505,11 +509,11 @@ describe MIME::Type do
505
509
  }
506
510
 
507
511
  it "converts to JSON when requested" do
508
- assert_equal expected_1, mime_type("a/b").to_json
512
+ assert_equal expected_1, mime_type("content-type" => "a/b").to_json
509
513
  end
510
514
 
511
515
  it "converts to JSON with provisional when requested" do
512
- type = mime_type("a/b") do |t|
516
+ type = mime_type("content-type" => "a/b") do |t|
513
517
  t.registered = true
514
518
  t.provisional = true
515
519
  end
@@ -559,7 +563,7 @@ describe MIME::Type do
559
563
  }
560
564
 
561
565
  let(:type) {
562
- mime_type("a/b").tap do |t|
566
+ mime_type("content-type" => "a/b").tap do |t|
563
567
  t.xrefs = {
564
568
  "draft" => ["RFC1"],
565
569
  "template" => ["a/b"],
@@ -6,19 +6,14 @@ require "minitest_helper"
6
6
  describe MIME::Types do
7
7
  def mime_types
8
8
  @mime_types ||= MIME::Types.new.tap { |mt|
9
- mt.add MIME::Type.new(["text/plain", %w[txt]]),
10
- MIME::Type.new(["image/jpeg", %w[jpg jpeg]]),
11
- MIME::Type.new("application/x-wordperfect6.1"),
12
- MIME::Type.new(
13
- "content-type" => "application/x-www-form-urlencoded",
14
- "registered" => true
15
- ),
16
- MIME::Type.new(["application/x-gzip", %w[gz]]),
17
- MIME::Type.new(
18
- "content-type" => "application/gzip",
19
- "extensions" => "gz",
20
- "registered" => true
21
- )
9
+ mt.add(
10
+ MIME::Type.new("content-type" => "text/plain", "extensions" => %w[txt]),
11
+ MIME::Type.new("content-type" => "image/jpeg", "extensions" => %w[jpg jpeg]),
12
+ MIME::Type.new("content-type" => "application/x-wordperfect6.1"),
13
+ MIME::Type.new("content-type" => "application/x-www-form-urlencoded", "registered" => true),
14
+ MIME::Type.new("content-type" => "application/x-gzip", "extensions" => %w[gz]),
15
+ MIME::Type.new("content-type" => "application/gzip", "extensions" => "gz", "registered" => true)
16
+ )
22
17
  }
23
18
  end
24
19
 
@@ -45,7 +40,7 @@ describe MIME::Types do
45
40
 
46
41
  describe "#[]" do
47
42
  it "can be searched with a MIME::Type" do
48
- text_plain = MIME::Type.new("text/plain")
43
+ text_plain = MIME::Type.new("content-type" => "text/plain")
49
44
  assert_includes mime_types[text_plain], "text/plain"
50
45
  assert_equal 1, mime_types[text_plain].size
51
46
  end
@@ -92,8 +87,8 @@ describe MIME::Types do
92
87
  end
93
88
 
94
89
  describe "#add" do
95
- let(:eruby) { MIME::Type.new("application/x-eruby") }
96
- let(:jinja) { MIME::Type.new("application/jinja2") }
90
+ let(:eruby) { MIME::Type.new("content-type" => "application/x-eruby") }
91
+ let(:jinja) { MIME::Type.new("content-type" => "application/jinja2") }
97
92
 
98
93
  it "successfully adds a new type" do
99
94
  mime_types.add(eruby)
@@ -31,7 +31,7 @@ describe MIME::Types, "registry" do
31
31
 
32
32
  describe ".[]" do
33
33
  it "can be searched with a MIME::Type" do
34
- text_plain = MIME::Type.new("text/plain")
34
+ text_plain = MIME::Type.new("content-type" => "text/plain")
35
35
  assert_includes MIME::Types[text_plain], "text/plain"
36
36
  assert_equal 1, MIME::Types[text_plain].size
37
37
  end
@@ -119,8 +119,8 @@ describe MIME::Types, "registry" do
119
119
  MIME::Types.send(:load_default_mime_types)
120
120
  end
121
121
 
122
- let(:eruby) { MIME::Type.new("application/x-eruby") }
123
- let(:jinja) { MIME::Type.new("application/jinja2") }
122
+ let(:eruby) { MIME::Type.new("content-type" => "application/x-eruby") }
123
+ let(:jinja) { MIME::Type.new("content-type" => "application/jinja2") }
124
124
 
125
125
  it "successfully adds a new type" do
126
126
  MIME::Types.add(eruby)