s3_direct_rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/s3_direct_rails/uploader_helper.rb +2 -1
- data/lib/s3_direct_rails/version.rb +1 -1
- metadata +49 -27
@@ -11,7 +11,8 @@ module S3DirectRails
|
|
11
11
|
AWSAccessKeyId: S3DirectRails.s3_access_key_id,
|
12
12
|
bucket: s3_bucket_url,
|
13
13
|
_policy: s3_policy(path: options[:uploaded_files_path]),
|
14
|
-
_signature: s3_signature(path: options[:uploaded_files_path])
|
14
|
+
_signature: s3_signature(path: options[:uploaded_files_path]),
|
15
|
+
uploader_id: options[:uploader_id] }.to_query
|
15
16
|
|
16
17
|
content_tag :iframe, '',
|
17
18
|
src: "#{s3_bucket_url}/#{options[:uploader_path]}?#{upload_params}",
|
metadata
CHANGED
@@ -1,33 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_direct_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Cory Kaufman-Schofied
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-05-09 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: aws-s3
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
version_requirements: *70328903805420
|
33
|
+
version_requirements: *id001
|
25
34
|
description: Upload files directly to S3 using Rails, Carrierwave and jQuery Fileupload
|
26
35
|
email: cory@corykaufman.com
|
27
36
|
executables: []
|
37
|
+
|
28
38
|
extensions: []
|
39
|
+
|
29
40
|
extra_rdoc_files: []
|
30
|
-
|
41
|
+
|
42
|
+
files:
|
31
43
|
- .gitignore
|
32
44
|
- Gemfile
|
33
45
|
- LICENSE
|
@@ -45,26 +57,36 @@ files:
|
|
45
57
|
- vendor/assets/javascripts/uploads.js.coffee.erb
|
46
58
|
homepage: https://github.com/allspiritseve/s3_direct_rails
|
47
59
|
licenses: []
|
60
|
+
|
48
61
|
post_install_message:
|
49
62
|
rdoc_options: []
|
50
|
-
|
63
|
+
|
64
|
+
require_paths:
|
51
65
|
- lib
|
52
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
67
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
76
|
none: false
|
60
|
-
requirements:
|
61
|
-
- -
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 3
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
64
84
|
requirements: []
|
85
|
+
|
65
86
|
rubyforge_project:
|
66
|
-
rubygems_version: 1.8.
|
87
|
+
rubygems_version: 1.8.24
|
67
88
|
signing_key:
|
68
89
|
specification_version: 3
|
69
90
|
summary: S3 Direct Rails
|
70
91
|
test_files: []
|
92
|
+
|