flickr-objects 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flickr/api/general.rb +2 -0
- data/lib/flickr/error.rb +1 -1
- data/lib/flickr/version.rb +1 -1
- data/lib/flickr.rb +2 -0
- 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: 5eddb35e7b00db0ce939a684d907c6e71ec85e1d
|
4
|
+
data.tar.gz: 00f3435743e09054efcdcdc969248f1137b7f331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48b1b233e9709a939486a2881eab1a443222d73bb05b0e74c357885224aebf0cf21dcefdc4c71a132bb3b8292af05be9086e7b79429ed28d83055633fa00c99
|
7
|
+
data.tar.gz: 3ca786e7aec889e29535d3b4c3a6fcbad440ff94587cfec1f9443bbd8d7ce202dd89ec923265a9e0b4e4af88ffdb22d71111893ffe0ccafa233efd79ef50529c
|
data/lib/flickr/api/general.rb
CHANGED
@@ -14,6 +14,7 @@ module Flickr
|
|
14
14
|
# @return [String] ID of the uploaded photo (if synchronous)
|
15
15
|
# @return [String] ID of the upload ticket (if asynchronous). See {Flickr::Api::UploadTicket#check}.
|
16
16
|
# @docs [Upload API](http://www.flickr.com/services/api/upload.api.html)
|
17
|
+
# @docs [Asynchronous Uploading](https://www.flickr.com/services/api/upload.async.html)
|
17
18
|
#
|
18
19
|
def upload(photo, params = {})
|
19
20
|
response = super params.merge(photo: SanitizedFile.new(photo))
|
@@ -30,6 +31,7 @@ module Flickr
|
|
30
31
|
# @return [String] ID of the uploaded photo (if synchronous)
|
31
32
|
# @return [String] ID of the upload ticket (if asynchronous)
|
32
33
|
# @docs [Replace API](http://www.flickr.com/services/api/replace.api.html)
|
34
|
+
# @docs [Asynchronous Uploading](https://www.flickr.com/services/api/upload.async.html)
|
33
35
|
#
|
34
36
|
def replace(photo, photo_id, params = {})
|
35
37
|
response = super params.merge(photo: SanitizedFile.new(photo), photo_id: photo_id)
|
data/lib/flickr/error.rb
CHANGED
data/lib/flickr/version.rb
CHANGED
data/lib/flickr.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.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|