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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e0d7af435748ceeeb5601be1a154c47520d1dedba3614839039b0d63ec65b6b
4
- data.tar.gz: 54f36d90cb8d3665ebc4497c8f329ea73bdfbc1bb12842dcdeb45fd4cb28cdd3
3
+ metadata.gz: 171dc0f2dc4d0e578d3318fbe784c9ea3f7b54ce44492ff957c18aa6ffc302c7
4
+ data.tar.gz: fb725564eb46f01f5f3c226d7cd216798ce64afed2ff4c2720e2b9f977c7ea06
5
5
  SHA512:
6
- metadata.gz: 6b213faed7582e759bcc90288051067d35085734e85750b467f5ea094a7ca7833a5c350eefbdee58aa409a37bd7bcadb5b793fbb4139c9e418097a62fa28d3ce
7
- data.tar.gz: a8ad146c2cad8786bafa27e9ef34bfe01af4972eead401514c8689f6daaf4c708353d424cd77fc8f16856bce23810e2ed1867174f9af5265974875bfda21a43e
6
+ metadata.gz: bdf72fb943347acecf82e462b0fdca2b1767b58d060ad18f769565e72e59b7bbbf2700900ab187b3ac6297c15320ac3486013567e9986da77fe0869076332009
7
+ data.tar.gz: 0105132b06a275f116045c7f371aaeec54b5e2f29cb583d3ac03fa01a6f0540022e1fd67b70b0e5021f429f0278cde496ac2ed1fe0e2301e9b808dacc56b4263
data/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## [0.2.0](https://github.com/texpert/shrine-aws-lambda/tree/0.2.0) (2022-08-28)
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.1.2...0.2.0)
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)*
@@ -3,7 +3,7 @@
3
3
  class Shrine
4
4
  module Plugins
5
5
  module AwsLambda
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.1'
7
7
  end
8
8
  end
9
9
  end
@@ -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.0
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: 2022-08-27 00:00:00.000000000 Z
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.3.10
219
+ rubygems_version: 3.1.6
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: AWS Lambda integration plugin for Shrine.