carrierwave-sharefile 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,11 +81,13 @@ module CarrierWave
81
81
  private
82
82
 
83
83
  def upload_media(url, tmpfile)
84
+ puts "********* url: #{url}"
85
+ puts "********* tmp: #{tmpfile}"
84
86
  newline = "\r\n"
85
87
  filename = File.basename(tmpfile.path)
86
88
  boundary = "ClientTouchReceive----------#{Time.now.usec}"
87
89
 
88
- uri = URI.parse(URI.encode(url.strip))
90
+ uri = URI.parse(URI.encode(url))
89
91
 
90
92
  post_body = []
91
93
  post_body << "--#{boundary}#{newline}"
@@ -1,5 +1,5 @@
1
1
  module Carrierwave
2
2
  module Sharefile
3
- VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  end
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 12
10
- version: 0.0.12
9
+ - 13
10
+ version: 0.0.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthew McFarling