discourse_subscription_client 0.1.8 → 0.1.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1218e0a9a0104a489d0826df19f6b172255498c2c25a1121d58601e309aae75a
|
4
|
+
data.tar.gz: 52aa2da46e87234a9fa82ad84012af96743d69834a3e924bcb2356d30b2c5e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14b107b2b4a8d781ce2d8370063c787490480dc30cd36050a569cd39425b9d3ada799c1fbc4c381c97cdfb9e5726b5b302f283b69f8f89b8ff2fadc0a8b452be
|
7
|
+
data.tar.gz: 96257387b32cbe0820ac3dcbee7a40e053adc8229c7b39ea686abcae595b91cda0aebf303881cb43190720ca95b20bbe8bbc77be7a0528956fea21506e21e757
|
@@ -11,7 +11,7 @@ class SubscriptionClientResource < ActiveRecord::Base
|
|
11
11
|
return nil unless access_key_id && secret_access_key && s3_client
|
12
12
|
return nil unless can_access_bucket?(bucket)
|
13
13
|
|
14
|
-
"s3://#{access_key_id}:#{secret_access_key}@#{bucket}"
|
14
|
+
"s3://#{CGI.escapeURIComponent(access_key_id)}:#{CGI.escapeURIComponent(secret_access_key)}@#{bucket}"
|
15
15
|
end
|
16
16
|
|
17
17
|
def can_access_bucket?(bucket)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_subscription_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|