paperclip_lambda 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: d63b70aae87403c418315c36158a939c94904fc5
4
- data.tar.gz: 48b06af937fa6e93f6d6b71e8d0ac07e5d176b27
3
+ metadata.gz: 79c2829fd28b2306bbddf073e040f851331504cb
4
+ data.tar.gz: ec876ae26eb857e3050a34132ca81893d1a47418
5
5
  SHA512:
6
- metadata.gz: 15efa67433c2691be98f24317a9768732d9add9a489046d7a13ff9840bcbb4d8a4a83ed1719fe52b96db07286ef364244f8917e5c6903370d49d7e4038039f58
7
- data.tar.gz: 5686806bb0d9f1c6afa762e5e3822a80250f7aa0ad9167b6fa1f7d1994381f11b2823f914c37eff4cf93c1e06e1104f74dbe2f102cb117e71de7cfc0875d4032
6
+ metadata.gz: d9e9a9f81f58c7789aded429cbf3c76136595a9128afc895fdfd0da689c4fc838b05054d684e8c4ef620ca7751162a6a2b80f83cf69ee14547d23917807202af
7
+ data.tar.gz: 50d0e45a81e35ab951bca45b29baecc2e20276358443c4ccdafe5b7e2a8d6a4d474f24298257614de99968db3b40e96e3163eed77697024b4cba6f15b412a26a
@@ -76,6 +76,7 @@ module PaperclipLambda
76
76
 
77
77
  def enqueue_delete_processing_for(name_and_path)
78
78
  name, old_path = name_and_path
79
+ return if persisted?
79
80
  PaperclipLambda::LambdaJob.perform_later(self.class.name, id, name.to_s, { bucket: send(name).options[:bucket], old_path: old_path })
80
81
  end
81
82
 
@@ -2,10 +2,10 @@ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'paperclip_lambda'
5
- s.version = '0.0.3'
5
+ s.version = '0.0.4'
6
6
  s.summary = "Paperclip Lambda"
7
7
  s.add_runtime_dependency "aws-sdk", ["~> 2"]
8
- s.add_runtime_dependency "paperclip", ["4.2.1"]
8
+ s.add_runtime_dependency "paperclip", ["5.0.0.beta2"]
9
9
  s.description = "Process your uploaded images through aws lambda"
10
10
  s.authors = ["Santanu Bhattacharya"]
11
11
  s.email = 'eng@kreeti.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip_lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santanu Bhattacharya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-20 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.1
33
+ version: 5.0.0.beta2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.1
40
+ version: 5.0.0.beta2
41
41
  description: Process your uploaded images through aws lambda
42
42
  email: eng@kreeti.com
43
43
  executables: []