flickrie 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +1 -0
- data/flickrie.gemspec +6 -6
- data/lib/flickrie/api_methods.rb +13 -0
- data/lib/flickrie/client.rb +5 -0
- data/lib/flickrie/user.rb +4 -4
- data/lib/flickrie/version.rb +1 -1
- data/spec/api_methods_spec.rb +34 -36
- data/spec/error_spec.rb +3 -9
- data/spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml +178 -0
- data/spec/fixtures/vcr_cassettes/error/a_request_was_made_and_failed.yml +84 -0
- data/spec/fixtures/vcr_cassettes/media/from_user.yml +38 -0
- data/spec/fixtures/vcr_cassettes/{oauth → o_auth}/incorrect_credentials.yml +28 -28
- data/spec/instance_spec.rb +13 -17
- data/spec/license_spec.rb +2 -4
- data/spec/media_count_spec.rb +1 -3
- data/spec/media_spec.rb +18 -18
- data/spec/oauth_spec.rb +1 -3
- data/spec/photo_spec.rb +3 -9
- data/spec/set_spec.rb +2 -6
- data/spec/spec_helper.rb +37 -17
- data/spec/user_spec.rb +2 -6
- data/spec/video_spec.rb +2 -6
- metadata +27 -27
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickrie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday_middleware
|
16
|
-
requirement: &
|
16
|
+
requirement: &70248360210560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: '0.9'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *70248360210560
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday
|
30
|
-
requirement: &
|
30
|
+
requirement: &70248360209780 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -38,10 +38,10 @@ dependencies:
|
|
38
38
|
version: '0.9'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
|
-
version_requirements: *
|
41
|
+
version_requirements: *70248360209780
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: simple_oauth
|
44
|
-
requirement: &
|
44
|
+
requirement: &70248360208760 !ruby/object:Gem::Requirement
|
45
45
|
none: false
|
46
46
|
requirements:
|
47
47
|
- - ~>
|
@@ -49,10 +49,10 @@ dependencies:
|
|
49
49
|
version: '0.1'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
|
-
version_requirements: *
|
52
|
+
version_requirements: *70248360208760
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: multi_xml
|
55
|
-
requirement: &
|
55
|
+
requirement: &70248360207920 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ~>
|
@@ -60,10 +60,10 @@ dependencies:
|
|
60
60
|
version: '0.4'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
|
-
version_requirements: *
|
63
|
+
version_requirements: *70248360207920
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: rake
|
66
|
-
requirement: &
|
66
|
+
requirement: &70248360206940 !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|
69
69
|
- - ~>
|
@@ -71,10 +71,10 @@ dependencies:
|
|
71
71
|
version: '0.9'
|
72
72
|
type: :development
|
73
73
|
prerelease: false
|
74
|
-
version_requirements: *
|
74
|
+
version_requirements: *70248360206940
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rspec
|
77
|
-
requirement: &
|
77
|
+
requirement: &70248360206180 !ruby/object:Gem::Requirement
|
78
78
|
none: false
|
79
79
|
requirements:
|
80
80
|
- - ! '>='
|
@@ -82,22 +82,19 @@ dependencies:
|
|
82
82
|
version: '2'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
|
-
version_requirements: *
|
85
|
+
version_requirements: *70248360206180
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: vcr
|
88
|
-
requirement: &
|
88
|
+
requirement: &70248360205640 !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '2'
|
94
|
-
- - <
|
91
|
+
- - ~>
|
95
92
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
93
|
+
version: '2.1'
|
97
94
|
type: :development
|
98
95
|
prerelease: false
|
99
|
-
version_requirements: *
|
100
|
-
description: This gem
|
96
|
+
version_requirements: *70248360205640
|
97
|
+
description: This gem wraps the Flickr API with a nice object-oriented interface.
|
101
98
|
email: janko.marohnic@gmail.com
|
102
99
|
executables: []
|
103
100
|
extensions: []
|
@@ -136,21 +133,24 @@ files:
|
|
136
133
|
- spec/files/video.mov
|
137
134
|
- spec/fixtures/vcr_cassettes/api_methods/asynchronous_upload.yml
|
138
135
|
- spec/fixtures/vcr_cassettes/api_methods/replace.yml
|
136
|
+
- spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml
|
139
137
|
- spec/fixtures/vcr_cassettes/api_methods/tags.yml
|
140
138
|
- spec/fixtures/vcr_cassettes/api_methods/upload_and_delete.yml
|
139
|
+
- spec/fixtures/vcr_cassettes/error/a_request_was_made_and_failed.yml
|
141
140
|
- spec/fixtures/vcr_cassettes/error/code.yml
|
142
141
|
- spec/fixtures/vcr_cassettes/error/was_raised.yml
|
143
142
|
- spec/fixtures/vcr_cassettes/instance/calling_api_methods.yml
|
144
143
|
- spec/fixtures/vcr_cassettes/license/get.yml
|
145
144
|
- spec/fixtures/vcr_cassettes/media/from_contacts.yml
|
146
145
|
- spec/fixtures/vcr_cassettes/media/from_set.yml
|
146
|
+
- spec/fixtures/vcr_cassettes/media/from_user.yml
|
147
147
|
- spec/fixtures/vcr_cassettes/media/get_context.yml
|
148
148
|
- spec/fixtures/vcr_cassettes/media/get_exif.yml
|
149
149
|
- spec/fixtures/vcr_cassettes/media/get_info.yml
|
150
150
|
- spec/fixtures/vcr_cassettes/media/public_from_user.yml
|
151
151
|
- spec/fixtures/vcr_cassettes/media/search.yml
|
152
152
|
- spec/fixtures/vcr_cassettes/media_count/get.yml
|
153
|
-
- spec/fixtures/vcr_cassettes/
|
153
|
+
- spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml
|
154
154
|
- spec/fixtures/vcr_cassettes/photo/get_info.yml
|
155
155
|
- spec/fixtures/vcr_cassettes/photo/get_sizes.yml
|
156
156
|
- spec/fixtures/vcr_cassettes/photo/search.yml
|
@@ -195,10 +195,7 @@ rubyforge_project:
|
|
195
195
|
rubygems_version: 1.8.11
|
196
196
|
signing_key:
|
197
197
|
specification_version: 3
|
198
|
-
summary:
|
199
|
-
maintained, or they were too literal in the sense that the response from the API
|
200
|
-
call wasn't processed almost at all. It doesn't seem too bad at first, but after
|
201
|
-
a while you realize it's not pretty. So I wanted to make it pretty :)
|
198
|
+
summary: This gem wraps the Flickr API with a nice object-oriented interface.
|
202
199
|
test_files:
|
203
200
|
- spec/api_methods_spec.rb
|
204
201
|
- spec/error_spec.rb
|
@@ -206,21 +203,24 @@ test_files:
|
|
206
203
|
- spec/files/video.mov
|
207
204
|
- spec/fixtures/vcr_cassettes/api_methods/asynchronous_upload.yml
|
208
205
|
- spec/fixtures/vcr_cassettes/api_methods/replace.yml
|
206
|
+
- spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml
|
209
207
|
- spec/fixtures/vcr_cassettes/api_methods/tags.yml
|
210
208
|
- spec/fixtures/vcr_cassettes/api_methods/upload_and_delete.yml
|
209
|
+
- spec/fixtures/vcr_cassettes/error/a_request_was_made_and_failed.yml
|
211
210
|
- spec/fixtures/vcr_cassettes/error/code.yml
|
212
211
|
- spec/fixtures/vcr_cassettes/error/was_raised.yml
|
213
212
|
- spec/fixtures/vcr_cassettes/instance/calling_api_methods.yml
|
214
213
|
- spec/fixtures/vcr_cassettes/license/get.yml
|
215
214
|
- spec/fixtures/vcr_cassettes/media/from_contacts.yml
|
216
215
|
- spec/fixtures/vcr_cassettes/media/from_set.yml
|
216
|
+
- spec/fixtures/vcr_cassettes/media/from_user.yml
|
217
217
|
- spec/fixtures/vcr_cassettes/media/get_context.yml
|
218
218
|
- spec/fixtures/vcr_cassettes/media/get_exif.yml
|
219
219
|
- spec/fixtures/vcr_cassettes/media/get_info.yml
|
220
220
|
- spec/fixtures/vcr_cassettes/media/public_from_user.yml
|
221
221
|
- spec/fixtures/vcr_cassettes/media/search.yml
|
222
222
|
- spec/fixtures/vcr_cassettes/media_count/get.yml
|
223
|
-
- spec/fixtures/vcr_cassettes/
|
223
|
+
- spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml
|
224
224
|
- spec/fixtures/vcr_cassettes/photo/get_info.yml
|
225
225
|
- spec/fixtures/vcr_cassettes/photo/get_sizes.yml
|
226
226
|
- spec/fixtures/vcr_cassettes/photo/search.yml
|