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: f18845628b38637a55730279c38b6eb79a781ee92397249f87f59535273c1223
4
- data.tar.gz: 0d5ee97121224e465853bca566e636feab9e9f11bbfb7f0c55ddcf7133639919
3
+ metadata.gz: 1218e0a9a0104a489d0826df19f6b172255498c2c25a1121d58601e309aae75a
4
+ data.tar.gz: 52aa2da46e87234a9fa82ad84012af96743d69834a3e924bcb2356d30b2c5e58
5
5
  SHA512:
6
- metadata.gz: 4925d0d4fa305be65af680a5b4e6d59ff4edcd1625308642f2ee76bf5a0e9fbeffb90781ff9d4742e47730bfadde65137cc4584c0136575d2b4ccde34860bbb4
7
- data.tar.gz: 1b9219ddd8859ed418547d1f723b357cdcef1a552be53b3db9e9b7c0b57d1f7990bf9c9efc1940c0c8de0fe1423e066ec09bacb75af9611c616ef2d8b7423d7d
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseSubscriptionClient
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.9"
5
5
  end
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.8
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-24 00:00:00.000000000 Z
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