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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84e1ac371ac12f2d0bd58b7de09ff9a1de86eebefd259d3a3dbaed1203adc1f1
4
- data.tar.gz: a0f39aff8e17bd9faf2c22d8c89fac9ec8d26d0bc388a31430ef228ea6cc46dc
3
+ metadata.gz: 9cc0b1c0a2dd02c1ffeb3c8d980a262ae546ecf9c79631919d6deab071f17ac3
4
+ data.tar.gz: e35ee84aca6d44229c529c908ff83908d03708ca091f16edb02694be9fa97737
5
5
  SHA512:
6
- metadata.gz: 53058e8ef95fd63c7f595754cb613839c5a2c6dcfd022a7718840873bedf2be56389d55835064fd3e436ce87d5608b1ca93272804e878a5710162149237f350b
7
- data.tar.gz: 7dba2a4bd24c300611b6dc2a31962ba5a1bbe6f67b90fefc212fccd71b558bdebf90269a7755c5b426605926412763498f7afcc8f15b142362b4365431643359
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.1)
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.2.0)
71
- aws-partitions (1.660.0)
72
- aws-sdk-core (3.167.0)
73
- aws-eventstream (~> 1, >= 1.0.2)
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.5)
75
+ aws-sigv4 (~> 1.8)
76
76
  jmespath (~> 1, >= 1.6.1)
77
- aws-sdk-kms (1.59.0)
78
- aws-sdk-core (~> 3, >= 3.165.0)
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.117.1)
81
- aws-sdk-core (~> 3, >= 3.165.0)
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.4)
84
- aws-sigv4 (1.5.2)
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.1)
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-arm64-darwin)
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
@@ -3,7 +3,7 @@
3
3
  module Activestorage
4
4
  module Scaleway
5
5
  module Service
6
- VERSION = "1.0.1"
6
+ VERSION = "1.1.0"
7
7
  end
8
8
  end
9
9
  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.1
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: 2022-11-14 00:00:00.000000000 Z
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.3.7
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