flickr-objects 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flickr/client/upload.rb +3 -1
- data/lib/flickr/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: a04d6e8071efc4bd78d6255dabc6304406b3508a
|
4
|
+
data.tar.gz: a625ca80ee1ac201039cd5f3d51b983a7d315831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd79beb168a6c24e3ebd437159193551177903067add0db40e20b0318e668570af717c616738861d91ffaf82949d97fe3245a96f9456446841e3e1c3ddc4ca03
|
7
|
+
data.tar.gz: 906669a794d5532323094340f52253ab96c09ec55e983bf2b2a16e1f26eb899bce6b4727763e4fa6cb4bd928c67bcc14bc9d387cea1832c28f90144d2c0e75c0
|
data/lib/flickr/client/upload.rb
CHANGED
@@ -38,7 +38,9 @@ module Flickr
|
|
38
38
|
private
|
39
39
|
|
40
40
|
def UploadIO(file)
|
41
|
-
Faraday::UploadIO.new(file, file.content_type, file.path)
|
41
|
+
io = Faraday::UploadIO.new(file.file, file.content_type, file.path)
|
42
|
+
io.instance_eval { def length; size; end } # hack for multipart-post to support any IO
|
43
|
+
io
|
42
44
|
end
|
43
45
|
|
44
46
|
def url
|
data/lib/flickr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickr-objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|