carrierwave-sharefile 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -81,13 +81,11 @@ module CarrierWave
|
|
81
81
|
private
|
82
82
|
|
83
83
|
def upload_media(url, tmpfile)
|
84
|
-
puts "********* url: #{url}"
|
85
|
-
puts "********* tmp: #{tmpfile}"
|
86
84
|
newline = "\r\n"
|
87
85
|
filename = File.basename(tmpfile.path)
|
88
86
|
boundary = "ClientTouchReceive----------#{Time.now.usec}"
|
89
87
|
|
90
|
-
uri = URI.parse(
|
88
|
+
uri = URI.parse(url)
|
91
89
|
|
92
90
|
post_body = []
|
93
91
|
post_body << "--#{boundary}#{newline}"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-sharefile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 14
|
10
|
+
version: 0.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthew McFarling
|