s3_direct_upload 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/s3_direct_upload.js.coffee +1 -1
- data/lib/s3_direct_upload/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ac508f7f1f70b53e01a6aec5262aaa6cf0917b8
|
4
|
+
data.tar.gz: 90a7b3026a49c8a7750f24fb783544474685e4a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798ccce1f9b4f316df8f1b66028dad0a46e1331f8c87410cb5a1e57d16652aef642f48a96dea008ed1a8a71f3d69f9629ba1110d54219abd75fca9f2a8c0a68e
|
7
|
+
data.tar.gz: 3abaa659fe3cea8190d143904eb1b6ed7c222da37cc49451199ad601e2fa07a492e05580efb57db93f7616a86304623b2abeea078ff118aaaf8b7c855d053c16
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Add this line to your application's Gemfile:
|
|
12
12
|
|
13
13
|
Then add a new initalizer with your AWS credentials:
|
14
14
|
|
15
|
-
**config/
|
15
|
+
**config/initializers/s3_direct_upload.rb**
|
16
16
|
```ruby
|
17
17
|
S3DirectUpload.config do |c|
|
18
18
|
c.access_key_id = "" # your access key id
|
@@ -45,7 +45,7 @@ $.fn.S3Uploader = (options) ->
|
|
45
45
|
if $('#template-upload').length > 0
|
46
46
|
data.context = $($.trim(tmpl("template-upload", file)))
|
47
47
|
$(data.context).appendTo(settings.progress_bar_target || $uploadForm)
|
48
|
-
else if !
|
48
|
+
else if !settings.allow_multiple_files
|
49
49
|
data.context = settings.progress_bar_target
|
50
50
|
if settings.click_submit_target
|
51
51
|
if settings.allow_multiple_files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_direct_upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne Hoover
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|