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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 292814097019f1dfeb11d038bfc4576c65372af2
4
- data.tar.gz: d52dca2ae8d7aec86234e614c230bbf71e252cde
3
+ metadata.gz: a04d6e8071efc4bd78d6255dabc6304406b3508a
4
+ data.tar.gz: a625ca80ee1ac201039cd5f3d51b983a7d315831
5
5
  SHA512:
6
- metadata.gz: e555f24f5d7e68d1ffaa7d095021d423779ecd6d92e5c7e4064ebbc50ce15f5fb474202b9e5af42ed86eea989ef3d0bca12bbad2735bf33ce4c00a290d35798c
7
- data.tar.gz: 3c5134e1c5fbef51724abf372507c5f25249926e8df75f7273c8540bad16d52c8b6e3758352954a321fd13157883af4751412e68e496a5adb4b6fefc6f269f7a
6
+ metadata.gz: bd79beb168a6c24e3ebd437159193551177903067add0db40e20b0318e668570af717c616738861d91ffaf82949d97fe3245a96f9456446841e3e1c3ddc4ca03
7
+ data.tar.gz: 906669a794d5532323094340f52253ab96c09ec55e983bf2b2a16e1f26eb899bce6b4727763e4fa6cb4bd928c67bcc14bc9d387cea1832c28f90144d2c0e75c0
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Flickr
2
2
 
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
 
5
5
  end
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.2
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-04-21 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday