shrine-aws-lambda 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -11
- data/lib/shrine/plugins/aws_lambda/version.rb +1 -1
- data/lib/shrine/plugins/aws_lambda.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: 171dc0f2dc4d0e578d3318fbe784c9ea3f7b54ce44492ff957c18aa6ffc302c7
|
|
4
|
+
data.tar.gz: fb725564eb46f01f5f3c226d7cd216798ce64afed2ff4c2720e2b9f977c7ea06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdf72fb943347acecf82e462b0fdca2b1767b58d060ad18f769565e72e59b7bbbf2700900ab187b3ac6297c15320ac3486013567e9986da77fe0869076332009
|
|
7
|
+
data.tar.gz: 0105132b06a275f116045c7f371aaeec54b5e2f29cb583d3ac03fa01a6f0540022e1fd67b70b0e5021f429f0278cde496ac2ed1fe0e2301e9b808dacc56b4263
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [v0.2.1](https://github.com/texpert/shrine-aws-lambda/tree/v0.2.1) (2023-05-15)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/texpert/shrine-aws-lambda/compare/v0.
|
|
5
|
+
[Full Changelog](https://github.com/texpert/shrine-aws-lambda/compare/v0.2.0...v0.2.1)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Fix generate\_location method call to be Shrine 3.x and Ruby 3.x compliant [\#5](https://github.com/texpert/shrine-aws-lambda/pull/5) ([texpert](https://github.com/texpert))
|
|
10
|
+
- Bump asdf Ruby to 2.7.8, use bundler 2.3.26 [\#4](https://github.com/texpert/shrine-aws-lambda/pull/4) ([texpert](https://github.com/texpert))
|
|
11
|
+
|
|
12
|
+
## [v0.2.0](https://github.com/texpert/shrine-aws-lambda/tree/v0.2.0) (2022-08-27)
|
|
13
|
+
|
|
14
|
+
[Full Changelog](https://github.com/texpert/shrine-aws-lambda/compare/v0.1.2...v0.2.0)
|
|
6
15
|
|
|
7
16
|
**Merged pull requests:**
|
|
8
17
|
|
|
@@ -16,15 +25,6 @@
|
|
|
16
25
|
|
|
17
26
|
- Initial, compatible with shrine-lambda, release [\#1](https://github.com/texpert/shrine-aws-lambda/pull/1) ([texpert](https://github.com/texpert))
|
|
18
27
|
|
|
19
|
-
## Changes:
|
|
20
|
-
|
|
21
|
-
- **Breaking:** Change gem name to shrine-aws-lambda
|
|
22
|
-
- **Breaking:** Change class name from Shrine::Plugins::Lambda to Shrine::Plugins::AwsLambda
|
|
23
|
-
- **Breaking:** Change plugin registration symbol from `:lambda` to `:aws_lambda`
|
|
24
|
-
|
|
25
|
-
- Add `.tools-version` file and specified Ruby 2.7.6 version
|
|
26
|
-
- Add rubocop-rspec and rubocop-performane as development dependencies and fix the arised issues
|
|
27
|
-
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
|
@@ -236,7 +236,7 @@ class Shrine
|
|
|
236
236
|
end
|
|
237
237
|
|
|
238
238
|
def prepare_assembly(assembly, cached_file, context)
|
|
239
|
-
assembly[:path] = store.generate_location(cached_file, context)
|
|
239
|
+
assembly[:path] = store.generate_location(cached_file, metadata: cached_file.metadata, context: context)
|
|
240
240
|
assembly[:storages].each do |s|
|
|
241
241
|
upload_options = get_upload_options(cached_file, context, s)
|
|
242
242
|
s[1][:upload_options] = upload_options if upload_options
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shrine-aws-lambda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aurel Branzeanu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-lambda
|
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
216
216
|
- !ruby/object:Gem::Version
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
|
-
rubygems_version: 3.
|
|
219
|
+
rubygems_version: 3.1.6
|
|
220
220
|
signing_key:
|
|
221
221
|
specification_version: 4
|
|
222
222
|
summary: AWS Lambda integration plugin for Shrine.
|