actionverb_s3_direct_upload 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODc2NzllMDczMWFlYmYyYmIyNTM4Nzg3YmUyNGU2ZTA0MTFmN2UyMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTYzYzQ4OWNkOGVhM2YzZGI0MWMyYmY4MjFhYWUzYzhlNGZhZjA4Zg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZGRmNDVjNmFjMzA0YjVmMmViMzU0YjIxMGM5MmVmNzc2ZTQ1NzI5YmQ1MmQ2
|
10
|
+
NjQyNzJjOWU2MTJlYmE1Njg4Yjk0YzgxYjQwMTA3ZWY2Y2U0NjBkM2YxODdk
|
11
|
+
NDcyNTMyYmIyOTZlMGM2YWQ0OGU1MzExNmFiODA2NDczMWVlYTA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MGVlYzg3MzZiZjhhMDNjNTc5ODYxYmJiMzAyMjM0MGI2ZWM0Mzk0NGEwZDAz
|
14
|
+
NmI4Y2I1ZmFjZDY5MGVkYjNhZjMzNjU1NmUzY2U3NmQ3MTk5ODQ2MzhmZGI2
|
15
|
+
MDQyNThiMGJkMjlkNmQzNDFkYWRkN2JkNzFhYWEyYTFlODc1Yjc=
|
@@ -87,6 +87,7 @@ $.fn.S3Uploader = (options) ->
|
|
87
87
|
content.filepath = path
|
88
88
|
content.filesize = file.size if 'size' of file
|
89
89
|
content.filetype = file.type if 'type' of file
|
90
|
+
content.filerelativepath = file.relativePath if 'relativePath' of file
|
90
91
|
content = $.extend content, settings.additional_data if settings.additional_data
|
91
92
|
content
|
92
93
|
|
@@ -98,9 +98,13 @@ $.fn.S3Uploader = function(options) {
|
|
98
98
|
if ('type' in file) {
|
99
99
|
content.filetype = file.type;
|
100
100
|
}
|
101
|
+
if ('relativePath' in file) {
|
102
|
+
content.filerelativepath = file.relativePath;
|
103
|
+
}
|
101
104
|
if (settings.additional_data) {
|
102
105
|
content = $.extend(content, settings.additional_data);
|
103
106
|
}
|
107
|
+
console.log(content);
|
104
108
|
return content;
|
105
109
|
};
|
106
110
|
this.initialize = function() {
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionverb_s3_direct_upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Wayne Hoover
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: coffee-rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: sass-rails
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: jquery-fileupload-rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -95,27 +86,26 @@ files:
|
|
95
86
|
- README.md
|
96
87
|
homepage: ''
|
97
88
|
licenses: []
|
89
|
+
metadata: {}
|
98
90
|
post_install_message:
|
99
91
|
rdoc_options: []
|
100
92
|
require_paths:
|
101
93
|
- lib
|
102
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
95
|
requirements:
|
105
96
|
- - ! '>='
|
106
97
|
- !ruby/object:Gem::Version
|
107
98
|
version: '0'
|
108
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
100
|
requirements:
|
111
101
|
- - ! '>='
|
112
102
|
- !ruby/object:Gem::Version
|
113
103
|
version: '0'
|
114
104
|
requirements: []
|
115
105
|
rubyforge_project:
|
116
|
-
rubygems_version:
|
106
|
+
rubygems_version: 2.0.3
|
117
107
|
signing_key:
|
118
|
-
specification_version:
|
108
|
+
specification_version: 4
|
119
109
|
summary: Gives a form helper for Rails which allows direct uploads to s3. Based on
|
120
110
|
RailsCast#383
|
121
111
|
test_files: []
|