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 +4 -4
- data/lib/paperclip_lambda.rb +1 -0
- data/paperclip_lambda.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c2829fd28b2306bbddf073e040f851331504cb
|
4
|
+
data.tar.gz: ec876ae26eb857e3050a34132ca81893d1a47418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e9a9f81f58c7789aded429cbf3c76136595a9128afc895fdfd0da689c4fc838b05054d684e8c4ef620ca7751162a6a2b80f83cf69ee14547d23917807202af
|
7
|
+
data.tar.gz: 50d0e45a81e35ab951bca45b29baecc2e20276358443c4ccdafe5b7e2a8d6a4d474f24298257614de99968db3b40e96e3163eed77697024b4cba6f15b412a26a
|
data/lib/paperclip_lambda.rb
CHANGED
@@ -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
|
|
data/paperclip_lambda.gemspec
CHANGED
@@ -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.
|
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", ["
|
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.
|
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-
|
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:
|
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:
|
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: []
|