s3_relay 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/s3_relay.coffee +4 -4
- data/lib/s3_relay/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: afc5415d8757f11bbbfce2dc39e1e185eee3a2f7
|
4
|
+
data.tar.gz: f9855a56037d0a2822a2cc888e9e5edd26ace1f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed0dd8dd182bc57118b2e8e7828b4894fda0350c81bbbf5e1889548faad285d80c263e6bd9ab6cee51869210277cc1993c5c5f3e06b0dc76dd44fa4bc8662b8f
|
7
|
+
data.tar.gz: 7ee20e055833c5eb99528b6874c16a441f552ea9dcfce3cd07e2c30191650d72f4e2dace956741eeb60377224bf92309960c7af389534ca5eb95c82eb9a89a54
|
@@ -46,13 +46,13 @@ uploadFiles = (container) ->
|
|
46
46
|
uploadFile = (container, file) ->
|
47
47
|
fileName = file.name
|
48
48
|
|
49
|
-
# Assign unique
|
50
|
-
|
51
|
-
|
49
|
+
# Assign unique value to each request so Safari doesn't consolidate them
|
50
|
+
@s3r_upload_index ||= 0
|
51
|
+
@s3r_upload_index += 1
|
52
52
|
|
53
53
|
$.ajax
|
54
54
|
type: "GET"
|
55
|
-
url: "/s3_relay/uploads/new?
|
55
|
+
url: "/s3_relay/uploads/new?s3r_upload_index=#{s3r_upload_index}"
|
56
56
|
success: (data, status, xhr) ->
|
57
57
|
formData = new FormData()
|
58
58
|
xhr = new XMLHttpRequest()
|
data/lib/s3_relay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_relay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenny Johnston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|