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 +4 -4
- data/README.md +12 -12
- data/lib/active_storage/active_storage.rb +7 -2
- data/lib/carrierwave/carrierwave.rb +5 -1
- data/lib/imagekitio/sdk/version.rb +1 -1
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7426d823c34ead157150f2413efda3f1f8fd12b0d53a400cd530f4b7f5f9819
|
4
|
+
data.tar.gz: 646a956c5bbf90bc438b4ca594644f76004fa5363a2cd955947ad7e5547789ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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](#
|
17
|
-
* [Initialization](#
|
18
|
-
- [CarrierWave](#
|
19
|
-
- [ActiveStorage](#
|
20
|
-
* [URL Generation](#
|
21
|
-
* [File Upload](#
|
22
|
-
* [File Management](#
|
23
|
-
* [Utility Functions](#
|
24
|
-
* [Sample applications](#
|
25
|
-
* [Upgrade to 2.x](#upgrade-to-
|
26
|
-
* [Support](#
|
27
|
-
* [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
|
-
|
2
|
-
|
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'
|
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.
|
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:
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
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.
|
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.
|
26
|
+
version: '2.8'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
28
|
+
name: multipart-post
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
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:
|
50
|
-
- - "~>"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2.1'
|
40
|
+
version: 2.1.0
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
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.
|
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.
|
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: :
|
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:
|
76
|
+
name: carrierwave
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
84
78
|
requirements:
|
85
79
|
- - ">="
|
86
80
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
88
|
-
|
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:
|
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
|