faster_s3_url 0.2.0 → 1.0.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: a4d2733027591b130ee900af58e9e3327be81f2f77204d74c2adf43f6daeae0a
4
- data.tar.gz: c7666c94d5e4f6dd4113c64ecab0f18f4a26bcd86b53679a071a0a3158602499
3
+ metadata.gz: 0f3c703ea5ea25203b0d37da4ba0272c9619d7d46bbe0eed9bd7a3fd79768473
4
+ data.tar.gz: a2060cdee17b8731274a4ea997859df1390cf09f4dae2530d2145e3345ffabaf
5
5
  SHA512:
6
- metadata.gz: 3da1e5c8137b65d6fee213ce076aded9141bbe098c342b0b1dd3e3275003b5f9e5ba9d649951273923430babcc0033344200676825ba631cefe97646ea43435c
7
- data.tar.gz: 1c84a1928bc44a3d70c089c93d1f399c2a150e79c61c10345081d2fe84616c7882cb532803549e17b17f6e41698c5ee71e59dfef5af81cca821fe294575f7ccf
6
+ metadata.gz: e8867a60091b046eb1956589e14666b10bee32711bbadfed2fcfab9e25dde2459e60baf0d61fa2564e73d838a55803ffef11a5e21452d9352b994d0af9749efe
7
+ data.tar.gz: bb29010a02d2e89773ecf43a8b1c041f81d855f0bd80cbf3251fa00bd5eeb557b73ae51fb53a12a421296276786beed38246a6920b96639628e3dcb8b433c42c
data/README.md CHANGED
@@ -21,7 +21,7 @@ signer = FasterS3Url::Builder.new(
21
21
  signer.public_url("my/object/key.jpg")
22
22
  #=> "https://my-bucket.s3.amazonaws.com/my/object/key.jpg"
23
23
  # does handle URI-escaping keys properly
24
-
24
+ /
25
25
  signer.presigned_url("my/object/key.jpg")
26
26
  # => https://my-bucket.s3.amazonaws.com/my/object/key.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fakeExampleAccessKeyId%2F20201001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201001T183223Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=b5d2ec17cd7c9d4cc45f446f87b17522f18d3776f06d051bef73fb8329a2e605
27
27
  # Also can handle additional query params such as response_content_disposition
@@ -85,7 +85,7 @@ If you want to look up key/secret/region using the standard SDK methods of check
85
85
  require 'aws-sdk-s3'
86
86
  client = Aws::S3::Client.new
87
87
  credentials = client.config.credentials
88
- credentails = credentials.credentials if credentials.respond_to?(:credentials)
88
+ credentials = credentials.credentials if credentials.respond_to?(:credentials)
89
89
 
90
90
  access_key_id = credentials.access_key_id
91
91
  secret_access_key = credentials.secret_access_key
@@ -1,3 +1,3 @@
1
1
  module FasterS3Url
2
- VERSION = "0.2.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faster_s3_url
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-02 00:00:00.000000000 Z
11
+ date: 2020-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
- description:
83
+ description:
84
84
  email:
85
85
  - jrochkind@sciencehistory.org
86
86
  executables: []
@@ -110,7 +110,7 @@ licenses:
110
110
  metadata:
111
111
  homepage_uri: https://github.com/jrochkind/faster_s3_url
112
112
  source_code_uri: https://github.com/jrochkind/faster_s3_url
113
- post_install_message:
113
+ post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubygems_version: 3.0.3
129
- signing_key:
129
+ signing_key:
130
130
  specification_version: 4
131
131
  summary: Generate public and presigned AWS S3 GET URLs faster
132
132
  test_files: []