flickrie 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +6 -4
  3. data/Rakefile +9 -8
  4. data/api_methods.md +297 -0
  5. data/doc/Flickrie.html +364 -0
  6. data/doc/Flickrie/.DS_Store +0 -0
  7. data/doc/Flickrie/ApiMethods.html +1692 -0
  8. data/doc/Flickrie/Client.html +914 -0
  9. data/doc/Flickrie/Error.html +187 -0
  10. data/doc/Flickrie/Instance.html +344 -0
  11. data/doc/Flickrie/License.html +288 -0
  12. data/doc/Flickrie/Location.html +233 -0
  13. data/doc/Flickrie/Media.html +1689 -0
  14. data/doc/Flickrie/Media/ClassMethods.html +509 -0
  15. data/doc/Flickrie/Media/Count.html +314 -0
  16. data/doc/Flickrie/Media/Exif.html +276 -0
  17. data/doc/Flickrie/Media/Note.html +362 -0
  18. data/doc/Flickrie/Media/Tag.html +425 -0
  19. data/doc/Flickrie/Media/Ticket.html +425 -0
  20. data/doc/Flickrie/Media/Visibility.html +359 -0
  21. data/doc/Flickrie/MediaCount.html +314 -0
  22. data/doc/Flickrie/OAuth.html +334 -0
  23. data/doc/Flickrie/OAuth/AccessToken.html +187 -0
  24. data/doc/Flickrie/OAuth/Error.html +187 -0
  25. data/doc/Flickrie/OAuth/ParseResponseParams.html +187 -0
  26. data/doc/Flickrie/OAuth/RequestToken.html +241 -0
  27. data/doc/Flickrie/OAuth/StatusCheck.html +235 -0
  28. data/doc/Flickrie/OAuth/Token.html +227 -0
  29. data/doc/Flickrie/OAuthStatusCheck.html +236 -0
  30. data/doc/Flickrie/Photo.html +913 -0
  31. data/doc/Flickrie/Set.html +998 -0
  32. data/doc/Flickrie/StatusCheck.html +235 -0
  33. data/doc/Flickrie/UploadClient.html +284 -0
  34. data/doc/Flickrie/UploadStatusCheck.html +235 -0
  35. data/doc/Flickrie/User.html +875 -0
  36. data/doc/Flickrie/Video.html +601 -0
  37. data/doc/Gemfile.html +163 -0
  38. data/doc/LICENSE.html +165 -0
  39. data/doc/Rakefile.html +168 -0
  40. data/doc/created.rid +25 -0
  41. data/doc/images/add.png +0 -0
  42. data/doc/images/brick.png +0 -0
  43. data/doc/images/brick_link.png +0 -0
  44. data/doc/images/bug.png +0 -0
  45. data/doc/images/bullet_black.png +0 -0
  46. data/doc/images/bullet_toggle_minus.png +0 -0
  47. data/doc/images/bullet_toggle_plus.png +0 -0
  48. data/doc/images/date.png +0 -0
  49. data/doc/images/delete.png +0 -0
  50. data/doc/images/find.png +0 -0
  51. data/doc/images/loadingAnimation.gif +0 -0
  52. data/doc/images/macFFBgHack.png +0 -0
  53. data/doc/images/package.png +0 -0
  54. data/doc/images/page_green.png +0 -0
  55. data/doc/images/page_white_text.png +0 -0
  56. data/doc/images/page_white_width.png +0 -0
  57. data/doc/images/plugin.png +0 -0
  58. data/doc/images/ruby.png +0 -0
  59. data/doc/images/tag_blue.png +0 -0
  60. data/doc/images/tag_green.png +0 -0
  61. data/doc/images/transparent.png +0 -0
  62. data/doc/images/wrench.png +0 -0
  63. data/doc/images/wrench_orange.png +0 -0
  64. data/doc/images/zoom.png +0 -0
  65. data/doc/index.html +140 -0
  66. data/doc/js/darkfish.js +153 -0
  67. data/doc/js/jquery.js +18 -0
  68. data/doc/js/navigation.js +142 -0
  69. data/doc/js/search.js +94 -0
  70. data/doc/js/search_index.js +1 -0
  71. data/doc/js/searcher.js +228 -0
  72. data/doc/rdoc.css +543 -0
  73. data/doc/table_of_contents.html +642 -0
  74. data/flickrie.gemspec +7 -6
  75. data/lib/flickrie/api_methods.rb +26 -1
  76. data/lib/flickrie/client.rb +8 -0
  77. data/lib/flickrie/media.rb +24 -0
  78. data/lib/flickrie/media/exif.rb +18 -0
  79. data/lib/flickrie/media_count.rb +28 -0
  80. data/lib/flickrie/version.rb +1 -1
  81. data/test/license_test.rb +0 -1
  82. data/test/location_test.rb +0 -1
  83. data/test/media_count_test.rb +17 -0
  84. data/test/media_test.rb +0 -1
  85. data/test/oauth_test.rb +1 -2
  86. data/test/photo_test.rb +13 -1
  87. data/test/set_test.rb +0 -1
  88. data/test/test.rb +1 -1
  89. data/test/user_test.rb +0 -1
  90. data/test/video_test.rb +12 -1
  91. metadata +87 -13
data/flickrie.gemspec CHANGED
@@ -2,22 +2,23 @@
2
2
  require File.expand_path('../lib/flickrie/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Janko Marohnić"]
6
- gem.email = ["janko.marohnic@gmail.com"]
5
+ gem.author = "Janko Marohnić"
6
+ gem.email = "janko.marohnic@gmail.com"
7
7
  gem.description = %q{This gem is a nice wrapper for the Flickr API with an intuitive interface.}
8
8
  gem.summary = %q{The reason why I did this gem is because the other ones either weren't well maintained, or they were too literal in the sense that the response from the API call wasn't processed almost at all. It doesn't seem too bad at first, but after a while you realize it's not pretty. So I wanted to make it pretty :)}
9
9
  gem.homepage = "https://github.com/janko-m/flickrie"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
13
  gem.name = "flickrie"
15
14
  gem.require_paths = ["lib"]
16
15
  gem.version = Flickrie::VERSION
17
16
 
18
- gem.add_dependency 'faraday_middleware'
19
- gem.add_dependency 'simple_oauth'
20
- gem.add_dependency 'multi_xml'
17
+ gem.license = "MIT"
18
+
19
+ gem.add_dependency "faraday_middleware"
20
+ gem.add_dependency "simple_oauth"
21
+ gem.add_dependency "multi_xml"
21
22
 
22
23
  gem.add_development_dependency "activesupport"
23
24
  end
@@ -7,6 +7,7 @@ require 'flickrie/media'
7
7
  require 'flickrie/photo'
8
8
  require 'flickrie/video'
9
9
  require 'flickrie/set'
10
+ require 'flickrie/media_count'
10
11
 
11
12
  module Flickrie
12
13
  module ApiMethods
@@ -102,6 +103,30 @@ module Flickrie
102
103
  alias get_photo_context get_media_context
103
104
  alias get_video_context get_media_context
104
105
 
106
+ def get_media_counts(params = {})
107
+ response = client.get_media_counts(
108
+ params.dup.tap do |hash|
109
+ if hash[:taken_dates].is_a?(String)
110
+ hash[:taken_dates] = hash[:taken_dates].split(',').
111
+ map { |date| DateTime.parse(date) }.
112
+ map(&:to_time).map(&:getutc).join(',')
113
+ end
114
+ end)
115
+ response.body['photocounts']['photocount'].
116
+ map { |info| MediaCount.new(info, params) }
117
+ end
118
+ alias get_photos_counts get_media_counts
119
+ alias get_videos_counts get_media_counts
120
+
121
+ def get_photo_exif(photo_id, params = {})
122
+ response = client.get_media_exif(photo_id, params)
123
+ Photo.from_exif(response.body['photo'].merge('media' => 'photo'))
124
+ end
125
+ def get_video_exif(video_id, params = {})
126
+ response = client.get_media_exif(video_id, params)
127
+ Video.from_exif(response.body['photo'].merge('media' => 'video'))
128
+ end
129
+
105
130
  def get_media_info(media_id)
106
131
  response = client.get_media_info(media_id)
107
132
  Media.from_info(response.body['photo'])
@@ -137,7 +162,7 @@ module Flickrie
137
162
 
138
163
  # photos.upload
139
164
  def check_upload_tickets(tickets)
140
- tickets = tickets.join(',') if tickets.is_a?(Array)
165
+ tickets = tickets.join(',') if tickets.respond_to?(:join)
141
166
  response = client.check_upload_tickets(tickets)
142
167
  response.body['uploader']['ticket'].
143
168
  map { |info| Media::Ticket.new(info) }
@@ -128,6 +128,14 @@ module Flickrie
128
128
  get 'flickr.photos.getContext', :photo_id => media_id
129
129
  end
130
130
 
131
+ def get_media_counts(params = {})
132
+ get 'flickr.photos.getCounts', params
133
+ end
134
+
135
+ def get_media_exif(media_id, params = {})
136
+ get 'flickr.photos.getExif', {:photo_id => media_id}.merge(params)
137
+ end
138
+
131
139
  def get_media_info(media_id)
132
140
  get 'flickr.photos.getInfo', :photo_id => media_id
133
141
  end
@@ -2,6 +2,7 @@ require 'flickrie/media/visibility'
2
2
  require 'flickrie/media/note'
3
3
  require 'flickrie/media/tag'
4
4
  require 'flickrie/media/ticket'
5
+ require 'flickrie/media/exif'
5
6
  require 'flickrie/location'
6
7
  require 'date'
7
8
 
@@ -16,6 +17,16 @@ module Flickrie
16
17
  def tags; @info['tags'] end
17
18
  def media_status; @info['media_status'] end
18
19
  def path_alias; @info['pathalias'] end
20
+ def camera; @info['camera'] end
21
+ # ==== Example
22
+ #
23
+ # photo.exif.get('Model') # => 'Canon PowerShot G12'
24
+ #
25
+ # photo.exif.get('X-Resolution', :data => 'raw') # => '180'
26
+ # photo.exif.get('X-Resolution', :data => 'clean') # => '180 dpi'
27
+ # photo.exif.get('X-Resolution') # => '180 dpi'
28
+ #
29
+ def exif; @info['exif'] end
19
30
 
20
31
  def views_count
21
32
  @info['views'].to_i if @info['views']
@@ -125,6 +136,15 @@ module Flickrie
125
136
  self
126
137
  end
127
138
 
139
+ def get_exif(params = {}, info = nil)
140
+ info ||= Flickrie.client.get_media_exif(id, params).body['photo']
141
+
142
+ @info['camera'] = info['camera'] unless info['camera'].empty?
143
+ @info['exif'] = Exif.new(info['exif']) unless info['exif'].empty?
144
+
145
+ self
146
+ end
147
+
128
148
  def initialize(info = {})
129
149
  @info = info
130
150
  @info['dates'] ||= {}
@@ -217,6 +237,10 @@ module Flickrie
217
237
 
218
238
  hash
219
239
  end
240
+
241
+ def from_exif(info)
242
+ new.get_exif({}, info)
243
+ end
220
244
  end
221
245
  extend(ClassMethods)
222
246
 
@@ -0,0 +1,18 @@
1
+ module Flickrie
2
+ module Media
3
+ class Exif
4
+ def get(key, options = {})
5
+ hash = @info.find { |hash| hash['label'] == key }
6
+ data = hash[options[:data]] || hash['clean'] || hash['raw']
7
+ data['_content']
8
+
9
+ rescue NoMethodError
10
+ raise Error, "The information about '#{key}' doesn't exist"
11
+ end
12
+
13
+ def initialize(info)
14
+ @info = info
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,28 @@
1
+ require 'date'
2
+
3
+ module Flickrie
4
+ class MediaCount
5
+ def value
6
+ @info['count'].to_i
7
+ end
8
+
9
+ def date_range
10
+ dates =
11
+ case @dates_kind
12
+ when "mysql timestamp"
13
+ [DateTime.parse(@info['fromdate']).to_time,
14
+ DateTime.parse(@info['todate']).to_time]
15
+ when "unix timestamp"
16
+ [Time.at(@info['fromdate'].to_i),
17
+ Time.at(@info['todate'].to_i)]
18
+ end
19
+
20
+ dates.first..dates.last
21
+ end
22
+
23
+ def initialize(info, params)
24
+ @info = info
25
+ @dates_kind = (params[:dates].nil? ? "mysql timestamp" : "unix timestamp")
26
+ end
27
+ end
28
+ end
@@ -1,3 +1,3 @@
1
1
  module Flickrie
2
- VERSION = '0.4.1'
2
+ VERSION = '0.5.0'
3
3
  end
data/test/license_test.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'test'
2
- require 'flickrie'
3
2
 
4
3
  Flickrie::License.instance_eval do
5
4
  def public_response_array
@@ -1,5 +1,4 @@
1
1
  require 'test'
2
- require 'flickrie/location'
3
2
 
4
3
  class LocationTest < Test::Unit::TestCase
5
4
  def test_attributes_returning_nil
@@ -0,0 +1,17 @@
1
+ require 'test'
2
+
3
+ class MediaCountTest < Test::Unit::TestCase
4
+ def test_get_media_count
5
+ dates = [DateTime.parse("1st March 2012"), DateTime.parse("5th May 2012")].map(&:to_time)
6
+
7
+ count = Flickrie.get_media_counts(:taken_dates => dates.join(',')).first
8
+ assert_instance_of Fixnum, count.value
9
+ assert_equal dates.first, count.date_range.begin
10
+ assert_equal dates.last, count.date_range.end
11
+
12
+ count = Flickrie.get_media_counts(:dates => dates.map(&:to_i).join(',')).first
13
+ assert_instance_of Fixnum, count.value
14
+ assert_equal dates.first, count.date_range.begin
15
+ assert_equal dates.last, count.date_range.end
16
+ end
17
+ end
data/test/media_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
  require 'test'
3
- require 'flickrie'
4
3
 
5
4
  Flickrie::Photo.instance_eval do
6
5
  def public_new(*args)
data/test/oauth_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'test/unit'
2
- require 'flickrie/client'
3
- require 'flickrie/oauth'
2
+ require 'flickrie'
4
3
 
5
4
  class OAuthTest < Test::Unit::TestCase
6
5
  def test_raising_errors
data/test/photo_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
  require 'test'
3
- require 'flickrie'
4
3
 
5
4
  Flickrie::Photo.instance_eval do
6
5
  def public_new(*args)
@@ -164,6 +163,19 @@ class PhotoTest < Test::Unit::TestCase
164
163
  Flickrie.delete_photo(photo_id)
165
164
  end
166
165
 
166
+ def test_get_photo_exif
167
+ [
168
+ Flickrie.get_photo_exif(@photo_id),
169
+ Flickrie::Photo.public_new('id' => @photo_id).get_exif
170
+ ].
171
+ each do |photo|
172
+ assert_equal "Canon PowerShot G12", photo.camera
173
+ assert_equal "180 dpi", photo.exif.get('X-Resolution')
174
+ assert_equal "180 dpi", photo.exif.get('X-Resolution', :data => 'clean')
175
+ assert_equal "180", photo.exif.get('X-Resolution', :data => 'raw')
176
+ end
177
+ end
178
+
167
179
  def test_other_api_calls
168
180
  # add_photo_tags, get_photo_info, remove_photo_tag,
169
181
  # search_photos, photos_from_contacts
data/test/set_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
  require 'test'
3
- require 'flickrie'
4
3
 
5
4
  Flickrie::Set.instance_eval do
6
5
  def public_new(*args)
data/test/test.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'test/unit'
2
- require 'flickrie/client'
2
+ require 'flickrie'
3
3
 
4
4
  Flickrie.api_key = ENV['FLICKR_API_KEY']
5
5
  Flickrie.shared_secret = ENV['FLICKR_SHARED_SECRET']
data/test/user_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
  require 'test'
3
- require 'flickrie'
4
3
 
5
4
  Flickrie::User.instance_eval do
6
5
  def public_new(*args)
data/test/video_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
  require 'test'
3
- require 'flickrie'
4
3
 
5
4
  Flickrie::Video.instance_eval do
6
5
  def public_new(*args)
@@ -73,6 +72,18 @@ class VideoTest < Test::Unit::TestCase
73
72
  Flickrie.delete_video(video_id)
74
73
  end
75
74
 
75
+ def test_get_video_exif
76
+ [
77
+ Flickrie.get_video_exif(@video_id),
78
+ Flickrie::Video.public_new('id' => @video_id).get_exif
79
+ ].
80
+ each do |video|
81
+ assert_nil video.camera
82
+ assert_nil video.exif
83
+ end
84
+ end
85
+
86
+
76
87
  def test_other_api_calls
77
88
  # add_video_tags, remove_video_tag,
78
89
  # search_videos, videos_from_contacts,
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.4.1
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-05 00:00:00.000000000 Z
12
+ date: 2012-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday_middleware
16
- requirement: &70287090746520 !ruby/object:Gem::Requirement
16
+ requirement: &70351778281200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70287090746520
24
+ version_requirements: *70351778281200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: simple_oauth
27
- requirement: &70287090746080 !ruby/object:Gem::Requirement
27
+ requirement: &70351778280580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70287090746080
35
+ version_requirements: *70351778280580
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: multi_xml
38
- requirement: &70287090745640 !ruby/object:Gem::Requirement
38
+ requirement: &70351778273820 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70287090745640
46
+ version_requirements: *70351778273820
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: activesupport
49
- requirement: &70287090745060 !ruby/object:Gem::Requirement
49
+ requirement: &70351778272820 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,9 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70287090745060
57
+ version_requirements: *70351778272820
58
58
  description: This gem is a nice wrapper for the Flickr API with an intuitive interface.
59
- email:
60
- - janko.marohnic@gmail.com
59
+ email: janko.marohnic@gmail.com
61
60
  executables: []
62
61
  extensions: []
63
62
  extra_rdoc_files: []
@@ -68,6 +67,76 @@ files:
68
67
  - LICENSE
69
68
  - README.md
70
69
  - Rakefile
70
+ - api_methods.md
71
+ - doc/Flickrie.html
72
+ - doc/Flickrie/.DS_Store
73
+ - doc/Flickrie/ApiMethods.html
74
+ - doc/Flickrie/Client.html
75
+ - doc/Flickrie/Error.html
76
+ - doc/Flickrie/Instance.html
77
+ - doc/Flickrie/License.html
78
+ - doc/Flickrie/Location.html
79
+ - doc/Flickrie/Media.html
80
+ - doc/Flickrie/Media/ClassMethods.html
81
+ - doc/Flickrie/Media/Count.html
82
+ - doc/Flickrie/Media/Exif.html
83
+ - doc/Flickrie/Media/Note.html
84
+ - doc/Flickrie/Media/Tag.html
85
+ - doc/Flickrie/Media/Ticket.html
86
+ - doc/Flickrie/Media/Visibility.html
87
+ - doc/Flickrie/MediaCount.html
88
+ - doc/Flickrie/OAuth.html
89
+ - doc/Flickrie/OAuth/AccessToken.html
90
+ - doc/Flickrie/OAuth/Error.html
91
+ - doc/Flickrie/OAuth/ParseResponseParams.html
92
+ - doc/Flickrie/OAuth/RequestToken.html
93
+ - doc/Flickrie/OAuth/StatusCheck.html
94
+ - doc/Flickrie/OAuth/Token.html
95
+ - doc/Flickrie/OAuthStatusCheck.html
96
+ - doc/Flickrie/Photo.html
97
+ - doc/Flickrie/Set.html
98
+ - doc/Flickrie/StatusCheck.html
99
+ - doc/Flickrie/UploadClient.html
100
+ - doc/Flickrie/UploadStatusCheck.html
101
+ - doc/Flickrie/User.html
102
+ - doc/Flickrie/Video.html
103
+ - doc/Gemfile.html
104
+ - doc/LICENSE.html
105
+ - doc/Rakefile.html
106
+ - doc/created.rid
107
+ - doc/images/add.png
108
+ - doc/images/brick.png
109
+ - doc/images/brick_link.png
110
+ - doc/images/bug.png
111
+ - doc/images/bullet_black.png
112
+ - doc/images/bullet_toggle_minus.png
113
+ - doc/images/bullet_toggle_plus.png
114
+ - doc/images/date.png
115
+ - doc/images/delete.png
116
+ - doc/images/find.png
117
+ - doc/images/loadingAnimation.gif
118
+ - doc/images/macFFBgHack.png
119
+ - doc/images/package.png
120
+ - doc/images/page_green.png
121
+ - doc/images/page_white_text.png
122
+ - doc/images/page_white_width.png
123
+ - doc/images/plugin.png
124
+ - doc/images/ruby.png
125
+ - doc/images/tag_blue.png
126
+ - doc/images/tag_green.png
127
+ - doc/images/transparent.png
128
+ - doc/images/wrench.png
129
+ - doc/images/wrench_orange.png
130
+ - doc/images/zoom.png
131
+ - doc/index.html
132
+ - doc/js/darkfish.js
133
+ - doc/js/jquery.js
134
+ - doc/js/navigation.js
135
+ - doc/js/search.js
136
+ - doc/js/search_index.js
137
+ - doc/js/searcher.js
138
+ - doc/rdoc.css
139
+ - doc/table_of_contents.html
71
140
  - flickrie.gemspec
72
141
  - lib/flickrie.rb
73
142
  - lib/flickrie/api_methods.rb
@@ -76,10 +145,12 @@ files:
76
145
  - lib/flickrie/license.rb
77
146
  - lib/flickrie/location.rb
78
147
  - lib/flickrie/media.rb
148
+ - lib/flickrie/media/exif.rb
79
149
  - lib/flickrie/media/note.rb
80
150
  - lib/flickrie/media/tag.rb
81
151
  - lib/flickrie/media/ticket.rb
82
152
  - lib/flickrie/media/visibility.rb
153
+ - lib/flickrie/media_count.rb
83
154
  - lib/flickrie/oauth.rb
84
155
  - lib/flickrie/photo.rb
85
156
  - lib/flickrie/set.rb
@@ -90,6 +161,7 @@ files:
90
161
  - test/instance_test.rb
91
162
  - test/license_test.rb
92
163
  - test/location_test.rb
164
+ - test/media_count_test.rb
93
165
  - test/media_test.rb
94
166
  - test/oauth_test.rb
95
167
  - test/photo.jpg
@@ -100,7 +172,8 @@ files:
100
172
  - test/video.mov
101
173
  - test/video_test.rb
102
174
  homepage: https://github.com/janko-m/flickrie
103
- licenses: []
175
+ licenses:
176
+ - MIT
104
177
  post_install_message:
105
178
  rdoc_options: []
106
179
  require_paths:
@@ -130,6 +203,7 @@ test_files:
130
203
  - test/instance_test.rb
131
204
  - test/license_test.rb
132
205
  - test/location_test.rb
206
+ - test/media_count_test.rb
133
207
  - test/media_test.rb
134
208
  - test/oauth_test.rb
135
209
  - test/photo.jpg