activestorage-scaleway-service 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -14
- data/lib/active_storage/service/scaleway_service.rb +0 -12
- data/lib/activestorage/scaleway/service/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cc0b1c0a2dd02c1ffeb3c8d980a262ae546ecf9c79631919d6deab071f17ac3
|
4
|
+
data.tar.gz: e35ee84aca6d44229c529c908ff83908d03708ca091f16edb02694be9fa97737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02506efc36f90289d52386ef7318d6e70949c6420831a9ade5ff439efd81d95509e69ed182070e9f8fef5519497e70b433ed7c8530face28731148ceb7b07022
|
7
|
+
data.tar.gz: 9e7e77c786dda0541e01924f83fd1094d9c70e56583358f71f442dd1634ec4ea468436bcbf6babde34e52a5d523023c1bc33a105d1b41c3b331f7a2d8829bf64
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
activestorage-scaleway-service (1.0
|
4
|
+
activestorage-scaleway-service (1.1.0)
|
5
5
|
activestorage
|
6
6
|
aws-sdk-s3
|
7
7
|
|
@@ -67,21 +67,21 @@ GEM
|
|
67
67
|
minitest (>= 5.1)
|
68
68
|
tzinfo (~> 2.0)
|
69
69
|
zeitwerk (~> 2.3)
|
70
|
-
aws-eventstream (1.
|
71
|
-
aws-partitions (1.
|
72
|
-
aws-sdk-core (3.
|
73
|
-
aws-eventstream (~> 1, >= 1.0
|
70
|
+
aws-eventstream (1.3.0)
|
71
|
+
aws-partitions (1.887.0)
|
72
|
+
aws-sdk-core (3.191.0)
|
73
|
+
aws-eventstream (~> 1, >= 1.3.0)
|
74
74
|
aws-partitions (~> 1, >= 1.651.0)
|
75
|
-
aws-sigv4 (~> 1.
|
75
|
+
aws-sigv4 (~> 1.8)
|
76
76
|
jmespath (~> 1, >= 1.6.1)
|
77
|
-
aws-sdk-kms (1.
|
78
|
-
aws-sdk-core (~> 3, >= 3.
|
77
|
+
aws-sdk-kms (1.77.0)
|
78
|
+
aws-sdk-core (~> 3, >= 3.191.0)
|
79
79
|
aws-sigv4 (~> 1.1)
|
80
|
-
aws-sdk-s3 (1.
|
81
|
-
aws-sdk-core (~> 3, >= 3.
|
80
|
+
aws-sdk-s3 (1.143.0)
|
81
|
+
aws-sdk-core (~> 3, >= 3.191.0)
|
82
82
|
aws-sdk-kms (~> 1)
|
83
|
-
aws-sigv4 (~> 1.
|
84
|
-
aws-sigv4 (1.
|
83
|
+
aws-sigv4 (~> 1.8)
|
84
|
+
aws-sigv4 (1.8.0)
|
85
85
|
aws-eventstream (~> 1, >= 1.0.2)
|
86
86
|
builder (3.2.4)
|
87
87
|
concurrent-ruby (1.1.10)
|
@@ -91,7 +91,7 @@ GEM
|
|
91
91
|
activesupport (>= 5.0)
|
92
92
|
i18n (1.12.0)
|
93
93
|
concurrent-ruby (~> 1.0)
|
94
|
-
jmespath (1.6.
|
94
|
+
jmespath (1.6.2)
|
95
95
|
loofah (2.19.0)
|
96
96
|
crass (~> 1.0.2)
|
97
97
|
nokogiri (>= 1.5.9)
|
@@ -100,9 +100,11 @@ GEM
|
|
100
100
|
marcel (1.0.2)
|
101
101
|
method_source (1.0.0)
|
102
102
|
mini_mime (1.1.2)
|
103
|
+
mini_portile2 (2.8.5)
|
103
104
|
minitest (5.16.3)
|
104
105
|
nio4r (2.5.8)
|
105
|
-
nokogiri (1.13.8
|
106
|
+
nokogiri (1.13.8)
|
107
|
+
mini_portile2 (~> 2.8.0)
|
106
108
|
racc (~> 1.4)
|
107
109
|
racc (1.6.0)
|
108
110
|
rack (2.2.4)
|
@@ -152,6 +154,7 @@ GEM
|
|
152
154
|
|
153
155
|
PLATFORMS
|
154
156
|
arm64-darwin-21
|
157
|
+
arm64-darwin-23
|
155
158
|
|
156
159
|
DEPENDENCIES
|
157
160
|
activestorage-scaleway-service!
|
@@ -10,17 +10,5 @@ module ActiveStorage
|
|
10
10
|
|
11
11
|
headers.merge({ "Content-Type" => content_type, "Content-MD5" => checksum, "Content-Disposition" => content_disposition })
|
12
12
|
end
|
13
|
-
|
14
|
-
private
|
15
|
-
|
16
|
-
def public_url(key, **options)
|
17
|
-
disposition, filename, content_type = options.values_at(:disposition, :filename, :content_type)
|
18
|
-
uri = URI.parse(object_for(key).public_url)
|
19
|
-
uri.query = URI.encode_www_form({
|
20
|
-
"response-content-disposition" => content_disposition_with(type: disposition, filename: filename),
|
21
|
-
"response-content-type" => content_type
|
22
|
-
})
|
23
|
-
uri.to_s
|
24
|
-
end
|
25
13
|
end
|
26
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activestorage-scaleway-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Gaya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.5.5
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Rails ActiveStorage adapter for Scaleway Object Storage
|