imagekitio 4.5.1 → 4.7.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.
@@ -23,7 +23,8 @@ module Imagekitio
23
23
  type: :S3,
24
24
  base_url_for_canonical_header: String,
25
25
  include_canonical_header: bool,
26
- prefix: String
26
+ prefix: String,
27
+ use_iam_role: bool
27
28
  }
28
29
 
29
30
  class S3 < Imagekitio::Internal::Type::BaseModel
@@ -49,6 +50,10 @@ module Imagekitio
49
50
 
50
51
  def prefix=: (String) -> String
51
52
 
53
+ attr_reader use_iam_role: bool?
54
+
55
+ def use_iam_role=: (bool) -> bool
56
+
52
57
  def initialize: (
53
58
  access_key: String,
54
59
  bucket: String,
@@ -57,6 +62,7 @@ module Imagekitio
57
62
  ?base_url_for_canonical_header: String,
58
63
  ?include_canonical_header: bool,
59
64
  ?prefix: String,
65
+ ?use_iam_role: bool,
60
66
  ?type: :S3
61
67
  ) -> void
62
68
 
@@ -68,7 +74,8 @@ module Imagekitio
68
74
  type: :S3,
69
75
  base_url_for_canonical_header: String,
70
76
  include_canonical_header: bool,
71
- prefix: String
77
+ prefix: String,
78
+ use_iam_role: bool
72
79
  }
73
80
  end
74
81
 
@@ -151,7 +158,8 @@ module Imagekitio
151
158
  type: :CLOUDINARY_BACKUP,
152
159
  base_url_for_canonical_header: String,
153
160
  include_canonical_header: bool,
154
- prefix: String
161
+ prefix: String,
162
+ use_iam_role: bool
155
163
  }
156
164
 
157
165
  class CloudinaryBackup < Imagekitio::Internal::Type::BaseModel
@@ -177,6 +185,10 @@ module Imagekitio
177
185
 
178
186
  def prefix=: (String) -> String
179
187
 
188
+ attr_reader use_iam_role: bool?
189
+
190
+ def use_iam_role=: (bool) -> bool
191
+
180
192
  def initialize: (
181
193
  access_key: String,
182
194
  bucket: String,
@@ -185,6 +197,7 @@ module Imagekitio
185
197
  ?base_url_for_canonical_header: String,
186
198
  ?include_canonical_header: bool,
187
199
  ?prefix: String,
200
+ ?use_iam_role: bool,
188
201
  ?type: :CLOUDINARY_BACKUP
189
202
  ) -> void
190
203
 
@@ -196,7 +209,8 @@ module Imagekitio
196
209
  type: :CLOUDINARY_BACKUP,
197
210
  base_url_for_canonical_header: String,
198
211
  include_canonical_header: bool,
199
- prefix: String
212
+ prefix: String,
213
+ use_iam_role: bool
200
214
  }
201
215
  end
202
216
 
@@ -22,7 +22,8 @@ module Imagekitio
22
22
  name: String,
23
23
  prefix: String,
24
24
  type: :S3,
25
- base_url_for_canonical_header: String
25
+ base_url_for_canonical_header: String,
26
+ use_iam_role: bool
26
27
  }
27
28
 
28
29
  class S3 < Imagekitio::Internal::Type::BaseModel
@@ -40,6 +41,10 @@ module Imagekitio
40
41
 
41
42
  def base_url_for_canonical_header=: (String) -> String
42
43
 
44
+ attr_reader use_iam_role: bool?
45
+
46
+ def use_iam_role=: (bool) -> bool
47
+
43
48
  attr_accessor id: String
44
49
 
45
50
  def initialize: (
@@ -49,6 +54,7 @@ module Imagekitio
49
54
  name: String,
50
55
  prefix: String,
51
56
  ?base_url_for_canonical_header: String,
57
+ ?use_iam_role: bool,
52
58
  ?type: :S3
53
59
  ) -> void
54
60
 
@@ -59,7 +65,8 @@ module Imagekitio
59
65
  name: String,
60
66
  prefix: String,
61
67
  type: :S3,
62
- base_url_for_canonical_header: String
68
+ base_url_for_canonical_header: String,
69
+ use_iam_role: bool
63
70
  }
64
71
  end
65
72
 
@@ -130,7 +137,8 @@ module Imagekitio
130
137
  name: String,
131
138
  prefix: String,
132
139
  type: :CLOUDINARY_BACKUP,
133
- base_url_for_canonical_header: String
140
+ base_url_for_canonical_header: String,
141
+ use_iam_role: bool
134
142
  }
135
143
 
136
144
  class CloudinaryBackup < Imagekitio::Internal::Type::BaseModel
@@ -148,6 +156,10 @@ module Imagekitio
148
156
 
149
157
  def base_url_for_canonical_header=: (String) -> String
150
158
 
159
+ attr_reader use_iam_role: bool?
160
+
161
+ def use_iam_role=: (bool) -> bool
162
+
151
163
  attr_accessor id: String
152
164
 
153
165
  def initialize: (
@@ -157,6 +169,7 @@ module Imagekitio
157
169
  name: String,
158
170
  prefix: String,
159
171
  ?base_url_for_canonical_header: String,
172
+ ?use_iam_role: bool,
160
173
  ?type: :CLOUDINARY_BACKUP
161
174
  ) -> void
162
175
 
@@ -167,7 +180,8 @@ module Imagekitio
167
180
  name: String,
168
181
  prefix: String,
169
182
  type: :CLOUDINARY_BACKUP,
170
- base_url_for_canonical_header: String
183
+ base_url_for_canonical_header: String,
184
+ use_iam_role: bool
171
185
  }
172
186
  end
173
187
 
@@ -175,6 +175,7 @@ module Imagekitio
175
175
  type exif =
176
176
  {
177
177
  aperture_value: Float,
178
+ brightness_value: Float,
178
179
  color_space: Integer,
179
180
  create_date: String,
180
181
  custom_rendered: Integer,
@@ -189,16 +190,23 @@ module Imagekitio
189
190
  flash: Integer,
190
191
  flashpix_version: String,
191
192
  f_number: Float,
192
- focal_length: Integer,
193
+ focal_length: Float,
194
+ :focal_length_in35mm_format => Integer,
193
195
  focal_plane_resolution_unit: Integer,
194
196
  focal_plane_x_resolution: Float,
195
197
  focal_plane_y_resolution: Float,
196
198
  interop_offset: Integer,
197
199
  iso: Integer,
200
+ lens_model: String,
201
+ light_source: Integer,
202
+ max_aperture_value: Float,
198
203
  metering_mode: Integer,
199
204
  scene_capture_type: Integer,
205
+ scene_type: String,
206
+ sensing_method: Integer,
200
207
  shutter_speed_value: Float,
201
208
  sub_sec_time: String,
209
+ user_comment: String,
202
210
  white_balance: Integer
203
211
  }
204
212
 
@@ -207,6 +215,10 @@ module Imagekitio
207
215
 
208
216
  def aperture_value=: (Float) -> Float
209
217
 
218
+ attr_reader brightness_value: Float?
219
+
220
+ def brightness_value=: (Float) -> Float
221
+
210
222
  attr_reader color_space: Integer?
211
223
 
212
224
  def color_space=: (Integer) -> Integer
@@ -263,9 +275,13 @@ module Imagekitio
263
275
 
264
276
  def f_number=: (Float) -> Float
265
277
 
266
- attr_reader focal_length: Integer?
278
+ attr_reader focal_length: Float?
279
+
280
+ def focal_length=: (Float) -> Float
267
281
 
268
- def focal_length=: (Integer) -> Integer
282
+ attr_reader focal_length_in35mm_format: Integer?
283
+
284
+ def focal_length_in35mm_format=: (Integer) -> Integer
269
285
 
270
286
  attr_reader focal_plane_resolution_unit: Integer?
271
287
 
@@ -287,6 +303,18 @@ module Imagekitio
287
303
 
288
304
  def iso=: (Integer) -> Integer
289
305
 
306
+ attr_reader lens_model: String?
307
+
308
+ def lens_model=: (String) -> String
309
+
310
+ attr_reader light_source: Integer?
311
+
312
+ def light_source=: (Integer) -> Integer
313
+
314
+ attr_reader max_aperture_value: Float?
315
+
316
+ def max_aperture_value=: (Float) -> Float
317
+
290
318
  attr_reader metering_mode: Integer?
291
319
 
292
320
  def metering_mode=: (Integer) -> Integer
@@ -295,6 +323,14 @@ module Imagekitio
295
323
 
296
324
  def scene_capture_type=: (Integer) -> Integer
297
325
 
326
+ attr_reader scene_type: String?
327
+
328
+ def scene_type=: (String) -> String
329
+
330
+ attr_reader sensing_method: Integer?
331
+
332
+ def sensing_method=: (Integer) -> Integer
333
+
298
334
  attr_reader shutter_speed_value: Float?
299
335
 
300
336
  def shutter_speed_value=: (Float) -> Float
@@ -303,12 +339,17 @@ module Imagekitio
303
339
 
304
340
  def sub_sec_time=: (String) -> String
305
341
 
342
+ attr_reader user_comment: String?
343
+
344
+ def user_comment=: (String) -> String
345
+
306
346
  attr_reader white_balance: Integer?
307
347
 
308
348
  def white_balance=: (Integer) -> Integer
309
349
 
310
350
  def initialize: (
311
351
  ?aperture_value: Float,
352
+ ?brightness_value: Float,
312
353
  ?color_space: Integer,
313
354
  ?create_date: String,
314
355
  ?custom_rendered: Integer,
@@ -323,21 +364,29 @@ module Imagekitio
323
364
  ?flash: Integer,
324
365
  ?flashpix_version: String,
325
366
  ?f_number: Float,
326
- ?focal_length: Integer,
367
+ ?focal_length: Float,
368
+ ?focal_length_in35mm_format: Integer,
327
369
  ?focal_plane_resolution_unit: Integer,
328
370
  ?focal_plane_x_resolution: Float,
329
371
  ?focal_plane_y_resolution: Float,
330
372
  ?interop_offset: Integer,
331
373
  ?iso: Integer,
374
+ ?lens_model: String,
375
+ ?light_source: Integer,
376
+ ?max_aperture_value: Float,
332
377
  ?metering_mode: Integer,
333
378
  ?scene_capture_type: Integer,
379
+ ?scene_type: String,
380
+ ?sensing_method: Integer,
334
381
  ?shutter_speed_value: Float,
335
382
  ?sub_sec_time: String,
383
+ ?user_comment: String,
336
384
  ?white_balance: Integer
337
385
  ) -> void
338
386
 
339
387
  def to_hash: -> {
340
388
  aperture_value: Float,
389
+ brightness_value: Float,
341
390
  color_space: Integer,
342
391
  create_date: String,
343
392
  custom_rendered: Integer,
@@ -352,48 +401,143 @@ module Imagekitio
352
401
  flash: Integer,
353
402
  flashpix_version: String,
354
403
  f_number: Float,
355
- focal_length: Integer,
404
+ focal_length: Float,
405
+ :focal_length_in35mm_format => Integer,
356
406
  focal_plane_resolution_unit: Integer,
357
407
  focal_plane_x_resolution: Float,
358
408
  focal_plane_y_resolution: Float,
359
409
  interop_offset: Integer,
360
410
  iso: Integer,
411
+ lens_model: String,
412
+ light_source: Integer,
413
+ max_aperture_value: Float,
361
414
  metering_mode: Integer,
362
415
  scene_capture_type: Integer,
416
+ scene_type: String,
417
+ sensing_method: Integer,
363
418
  shutter_speed_value: Float,
364
419
  sub_sec_time: String,
420
+ user_comment: String,
365
421
  white_balance: Integer
366
422
  }
367
423
  end
368
424
 
369
- type gps = { gps_version_id: ::Array[Integer] }
425
+ type gps =
426
+ {
427
+ gps_altitude: Float,
428
+ gps_altitude_ref: Integer,
429
+ gps_date_stamp: String,
430
+ gps_img_direction: Float,
431
+ gps_img_direction_ref: String,
432
+ gps_latitude: ::Array[Float],
433
+ gps_latitude_ref: String,
434
+ gps_longitude: ::Array[Float],
435
+ gps_longitude_ref: String,
436
+ gps_time_stamp: ::Array[Float],
437
+ gps_version_id: ::Array[Integer]
438
+ }
370
439
 
371
440
  class Gps < Imagekitio::Internal::Type::BaseModel
441
+ attr_reader gps_altitude: Float?
442
+
443
+ def gps_altitude=: (Float) -> Float
444
+
445
+ attr_reader gps_altitude_ref: Integer?
446
+
447
+ def gps_altitude_ref=: (Integer) -> Integer
448
+
449
+ attr_reader gps_date_stamp: String?
450
+
451
+ def gps_date_stamp=: (String) -> String
452
+
453
+ attr_reader gps_img_direction: Float?
454
+
455
+ def gps_img_direction=: (Float) -> Float
456
+
457
+ attr_reader gps_img_direction_ref: String?
458
+
459
+ def gps_img_direction_ref=: (String) -> String
460
+
461
+ attr_reader gps_latitude: ::Array[Float]?
462
+
463
+ def gps_latitude=: (::Array[Float]) -> ::Array[Float]
464
+
465
+ attr_reader gps_latitude_ref: String?
466
+
467
+ def gps_latitude_ref=: (String) -> String
468
+
469
+ attr_reader gps_longitude: ::Array[Float]?
470
+
471
+ def gps_longitude=: (::Array[Float]) -> ::Array[Float]
472
+
473
+ attr_reader gps_longitude_ref: String?
474
+
475
+ def gps_longitude_ref=: (String) -> String
476
+
477
+ attr_reader gps_time_stamp: ::Array[Float]?
478
+
479
+ def gps_time_stamp=: (::Array[Float]) -> ::Array[Float]
480
+
372
481
  attr_reader gps_version_id: ::Array[Integer]?
373
482
 
374
483
  def gps_version_id=: (::Array[Integer]) -> ::Array[Integer]
375
484
 
376
- def initialize: (?gps_version_id: ::Array[Integer]) -> void
485
+ def initialize: (
486
+ ?gps_altitude: Float,
487
+ ?gps_altitude_ref: Integer,
488
+ ?gps_date_stamp: String,
489
+ ?gps_img_direction: Float,
490
+ ?gps_img_direction_ref: String,
491
+ ?gps_latitude: ::Array[Float],
492
+ ?gps_latitude_ref: String,
493
+ ?gps_longitude: ::Array[Float],
494
+ ?gps_longitude_ref: String,
495
+ ?gps_time_stamp: ::Array[Float],
496
+ ?gps_version_id: ::Array[Integer]
497
+ ) -> void
377
498
 
378
- def to_hash: -> { gps_version_id: ::Array[Integer] }
499
+ def to_hash: -> {
500
+ gps_altitude: Float,
501
+ gps_altitude_ref: Integer,
502
+ gps_date_stamp: String,
503
+ gps_img_direction: Float,
504
+ gps_img_direction_ref: String,
505
+ gps_latitude: ::Array[Float],
506
+ gps_latitude_ref: String,
507
+ gps_longitude: ::Array[Float],
508
+ gps_longitude_ref: String,
509
+ gps_time_stamp: ::Array[Float],
510
+ gps_version_id: ::Array[Integer]
511
+ }
379
512
  end
380
513
 
381
514
  type image =
382
515
  {
516
+ artist: String,
517
+ copyright: String,
383
518
  exif_offset: Integer,
384
519
  gps_info: Integer,
520
+ image_description: String,
385
521
  make: String,
386
522
  model: String,
387
523
  modify_date: String,
388
524
  orientation: Integer,
389
525
  resolution_unit: Integer,
390
526
  software: String,
391
- x_resolution: Integer,
527
+ x_resolution: Float,
392
528
  y_cb_cr_positioning: Integer,
393
- y_resolution: Integer
529
+ y_resolution: Float
394
530
  }
395
531
 
396
532
  class Image < Imagekitio::Internal::Type::BaseModel
533
+ attr_reader artist: String?
534
+
535
+ def artist=: (String) -> String
536
+
537
+ attr_reader copyright: String?
538
+
539
+ def copyright=: (String) -> String
540
+
397
541
  attr_reader exif_offset: Integer?
398
542
 
399
543
  def exif_offset=: (Integer) -> Integer
@@ -402,6 +546,10 @@ module Imagekitio
402
546
 
403
547
  def gps_info=: (Integer) -> Integer
404
548
 
549
+ attr_reader image_description: String?
550
+
551
+ def image_description=: (String) -> String
552
+
405
553
  attr_reader make: String?
406
554
 
407
555
  def make=: (String) -> String
@@ -426,44 +574,50 @@ module Imagekitio
426
574
 
427
575
  def software=: (String) -> String
428
576
 
429
- attr_reader x_resolution: Integer?
577
+ attr_reader x_resolution: Float?
430
578
 
431
- def x_resolution=: (Integer) -> Integer
579
+ def x_resolution=: (Float) -> Float
432
580
 
433
581
  attr_reader y_cb_cr_positioning: Integer?
434
582
 
435
583
  def y_cb_cr_positioning=: (Integer) -> Integer
436
584
 
437
- attr_reader y_resolution: Integer?
585
+ attr_reader y_resolution: Float?
438
586
 
439
- def y_resolution=: (Integer) -> Integer
587
+ def y_resolution=: (Float) -> Float
440
588
 
441
589
  def initialize: (
590
+ ?artist: String,
591
+ ?copyright: String,
442
592
  ?exif_offset: Integer,
443
593
  ?gps_info: Integer,
594
+ ?image_description: String,
444
595
  ?make: String,
445
596
  ?model: String,
446
597
  ?modify_date: String,
447
598
  ?orientation: Integer,
448
599
  ?resolution_unit: Integer,
449
600
  ?software: String,
450
- ?x_resolution: Integer,
601
+ ?x_resolution: Float,
451
602
  ?y_cb_cr_positioning: Integer,
452
- ?y_resolution: Integer
603
+ ?y_resolution: Float
453
604
  ) -> void
454
605
 
455
606
  def to_hash: -> {
607
+ artist: String,
608
+ copyright: String,
456
609
  exif_offset: Integer,
457
610
  gps_info: Integer,
611
+ image_description: String,
458
612
  make: String,
459
613
  model: String,
460
614
  modify_date: String,
461
615
  orientation: Integer,
462
616
  resolution_unit: Integer,
463
617
  software: String,
464
- x_resolution: Integer,
618
+ x_resolution: Float,
465
619
  y_cb_cr_positioning: Integer,
466
- y_resolution: Integer
620
+ y_resolution: Float
467
621
  }
468
622
  end
469
623
 
@@ -493,8 +647,8 @@ module Imagekitio
493
647
  resolution_unit: Integer,
494
648
  thumbnail_length: Integer,
495
649
  thumbnail_offset: Integer,
496
- x_resolution: Integer,
497
- y_resolution: Integer
650
+ x_resolution: Float,
651
+ y_resolution: Float
498
652
  }
499
653
 
500
654
  class Thumbnail < Imagekitio::Internal::Type::BaseModel
@@ -514,21 +668,21 @@ module Imagekitio
514
668
 
515
669
  def thumbnail_offset=: (Integer) -> Integer
516
670
 
517
- attr_reader x_resolution: Integer?
671
+ attr_reader x_resolution: Float?
518
672
 
519
- def x_resolution=: (Integer) -> Integer
673
+ def x_resolution=: (Float) -> Float
520
674
 
521
- attr_reader y_resolution: Integer?
675
+ attr_reader y_resolution: Float?
522
676
 
523
- def y_resolution=: (Integer) -> Integer
677
+ def y_resolution=: (Float) -> Float
524
678
 
525
679
  def initialize: (
526
680
  ?compression: Integer,
527
681
  ?resolution_unit: Integer,
528
682
  ?thumbnail_length: Integer,
529
683
  ?thumbnail_offset: Integer,
530
- ?x_resolution: Integer,
531
- ?y_resolution: Integer
684
+ ?x_resolution: Float,
685
+ ?y_resolution: Float
532
686
  ) -> void
533
687
 
534
688
  def to_hash: -> {
@@ -536,8 +690,8 @@ module Imagekitio
536
690
  resolution_unit: Integer,
537
691
  thumbnail_length: Integer,
538
692
  thumbnail_offset: Integer,
539
- x_resolution: Integer,
540
- y_resolution: Integer
693
+ x_resolution: Float,
694
+ y_resolution: Float
541
695
  }
542
696
  end
543
697
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagekitio
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ImageKit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-17 00:00:00.000000000 Z
11
+ date: 2026-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi