imagekitio 2.2.3 → 2.3.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: 8b11807377c3909f25552429752e246802286d39fabdba3266d2c87ea4a20e34
4
- data.tar.gz: 6ddc2caf77e26179f811df74ac0535ae7080eff27bce07da51f2a67f1bb8905b
3
+ metadata.gz: b7426d823c34ead157150f2413efda3f1f8fd12b0d53a400cd530f4b7f5f9819
4
+ data.tar.gz: 646a956c5bbf90bc438b4ca594644f76004fa5363a2cd955947ad7e5547789ab
5
5
  SHA512:
6
- metadata.gz: d05e3723adad5bd9154357abc1e3f132d9d97aade707efb8288e345414063bbce74f1d1950979279801510c067fcb170f4639cd6be8df9f52571980d46ac5200
7
- data.tar.gz: 893f04dd788c84d31aad94c114ebd60045b2c00bf96f34c90a453e21e9439ee3a20ad62ce064c7446f615e4aaf1dbb20864dee318b6b3b4b1904e4136aa590b4
6
+ metadata.gz: 73453ebcb67186cecc40163a8c8033f2823fe001c550785ee806913d4ef7cda9e2258a22f3af24f6655276604f4509c55b9f5ec627acadb8f899138be5835735
7
+ data.tar.gz: d59c94eca505d2b44cb02846e46a9a866ce2acfa475599b95bc54ab3a51bcc762bd3c35222b2b8c33928a363e6f78db44fd70e8f82406d5884c93647d2b3d475
data/README.md CHANGED
@@ -13,18 +13,18 @@ Ruby on Rails gem for [ImageKit](https://imagekit.io/) implements the new APIs a
13
13
  ImageKit is complete media storage, optimization, and transformation solution that comes with an [image and video CDN](https://imagekit.io/features/imagekit-infrastructure). It can be integrated with your existing infrastructure - storage like AWS S3, web servers, your CDN, and custom domain names, allowing you to deliver optimized images in minutes with minimal code changes.
14
14
 
15
15
  Table of contents -
16
- * [Installation](#Installation)
17
- * [Initialization](#Initialization)
18
- - [CarrierWave](#Carrierwave)
19
- - [ActiveStorage](#activeStorage)
20
- * [URL Generation](#URL-generation)
21
- * [File Upload](#File-Upload)
22
- * [File Management](#File-Management)
23
- * [Utility Functions](#Utility-functions)
24
- * [Sample applications](#Sample-Application)
25
- * [Upgrade to 2.x](#upgrade-to-2.x)
26
- * [Support](#Support)
27
- * [Links](#Links)
16
+ * [Installation](#installation)
17
+ * [Initialization](#initialization)
18
+ - [CarrierWave](#carrierwave)
19
+ - [ActiveStorage](#activestorage)
20
+ * [URL Generation](#url-generation)
21
+ * [File Upload](#file-upload)
22
+ * [File Management](#file-management)
23
+ * [Utility Functions](#utility-functions)
24
+ * [Sample applications](#sample-application)
25
+ * [Upgrade to 2.x](#upgrade-to-2x)
26
+ * [Support](#support)
27
+ * [Links](#links)
28
28
 
29
29
 
30
30
  # Quick start guide
@@ -1,2 +1,7 @@
1
- require_relative './service/ik_file'
2
- require_relative './service/image_kit_io_service'
1
+ begin
2
+ require 'active_storage'
3
+ rescue LoadError
4
+ puts "Add gem 'activestorage' to use this service"
5
+ end
6
+ require_relative './service/ik_file'
7
+ require_relative './service/image_kit_io_service'
@@ -1,4 +1,8 @@
1
- require 'carrierwave'
1
+ begin
2
+ require 'carrierwave'
3
+ rescue LoadError
4
+ puts "Add gem 'carrierwave' to use this service"
5
+ end
2
6
  require_relative './storage/imagekit_store'
3
7
  require_relative './storage/ik_file'
4
8
  require_relative './support/uri_filename'
@@ -1,5 +1,5 @@
1
1
  module ImageKitIo
2
2
  module Sdk
3
- VERSION = '2.2.3'
3
+ VERSION = '2.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,69 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagekitio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ImageKit.io team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: carrierwave
14
+ name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0.7'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '2.2'
19
+ version: '2.8'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '0.7'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '2.2'
26
+ version: '2.8'
33
27
  - !ruby/object:Gem::Dependency
34
- name: rest-client
28
+ name: multipart-post
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: '2.1'
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '2.1'
33
+ version: 2.1.0
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - ">="
48
39
  - !ruby/object:Gem::Version
49
- version: '2.1'
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '2.1'
40
+ version: 2.1.0
53
41
  - !ruby/object:Gem::Dependency
54
- name: addressable
42
+ name: rest-client
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
57
48
  - - "~>"
58
49
  - !ruby/object:Gem::Version
59
- version: '2.8'
50
+ version: '2.1'
60
51
  type: :runtime
61
52
  prerelease: false
62
53
  version_requirements: !ruby/object:Gem::Requirement
63
54
  requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '2.1'
64
58
  - - "~>"
65
59
  - !ruby/object:Gem::Version
66
- version: '2.8'
60
+ version: '2.1'
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: activestorage
69
63
  requirement: !ruby/object:Gem::Requirement
@@ -71,7 +65,7 @@ dependencies:
71
65
  - - ">="
72
66
  - !ruby/object:Gem::Version
73
67
  version: 5.2.0
74
- type: :runtime
68
+ type: :development
75
69
  prerelease: false
76
70
  version_requirements: !ruby/object:Gem::Requirement
77
71
  requirements:
@@ -79,19 +73,25 @@ dependencies:
79
73
  - !ruby/object:Gem::Version
80
74
  version: 5.2.0
81
75
  - !ruby/object:Gem::Dependency
82
- name: multipart-post
76
+ name: carrierwave
83
77
  requirement: !ruby/object:Gem::Requirement
84
78
  requirements:
85
79
  - - ">="
86
80
  - !ruby/object:Gem::Version
87
- version: 2.1.0
88
- type: :runtime
81
+ version: '0.7'
82
+ - - "<="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.2.1
85
+ type: :development
89
86
  prerelease: false
90
87
  version_requirements: !ruby/object:Gem::Requirement
91
88
  requirements:
92
89
  - - ">="
93
90
  - !ruby/object:Gem::Version
94
- version: 2.1.0
91
+ version: '0.7'
92
+ - - "<="
93
+ - !ruby/object:Gem::Version
94
+ version: 2.2.1
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: rails
97
97
  requirement: !ruby/object:Gem::Requirement