kuva 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.env.example +4 -0
  4. data/.gitignore +13 -0
  5. data/.rspec +1 -0
  6. data/.ruby-gemset +1 -0
  7. data/.ruby-version +1 -0
  8. data/.travis.yml +12 -0
  9. data/Gemfile +26 -0
  10. data/Gemfile.lock +187 -0
  11. data/MIT-LICENSE +20 -0
  12. data/README.md +129 -0
  13. data/Rakefile +14 -0
  14. data/app/assets/images/kuva/.keep +0 -0
  15. data/app/assets/javascripts/kuva/application.js +13 -0
  16. data/app/assets/javascripts/kuva/jquery-2.1.0.min.js +4 -0
  17. data/app/assets/javascripts/kuva/jquery.justified_gallery.min.js +7 -0
  18. data/app/assets/javascripts/kuva/kuva.js.coffee +2 -0
  19. data/app/assets/stylesheets/kuva/application.css +13 -0
  20. data/app/assets/stylesheets/kuva/justified_gallery.min.css +7 -0
  21. data/app/assets/stylesheets/kuva/kuva.css.sass +42 -0
  22. data/app/controllers/kuva/application_controller.rb +17 -0
  23. data/app/controllers/kuva/photos_controller.rb +10 -0
  24. data/app/controllers/kuva/sets_controller.rb +24 -0
  25. data/app/helpers/kuva/application_helper.rb +31 -0
  26. data/app/views/kuva/photos/show.html.haml +6 -0
  27. data/app/views/kuva/sets/index.html.haml +8 -0
  28. data/app/views/kuva/sets/show.html.haml +8 -0
  29. data/app/views/layouts/kuva/application.html.haml +10 -0
  30. data/config/locales/cli.yml +8 -0
  31. data/config/locales/frontend.yml +4 -0
  32. data/config/routes.rb +9 -0
  33. data/kuva.gemspec +25 -0
  34. data/lib/generators/kuva/install_generator.rb +20 -0
  35. data/lib/generators/kuva/templates/kuva.rb +34 -0
  36. data/lib/generators/kuva/views_generator.rb +23 -0
  37. data/lib/kuva.rb +23 -0
  38. data/lib/kuva/authorizer.rb +50 -0
  39. data/lib/kuva/elements/photo.rb +41 -0
  40. data/lib/kuva/elements/photoset.rb +49 -0
  41. data/lib/kuva/elements/photoset_collection.rb +25 -0
  42. data/lib/kuva/elements/url_info.rb +6 -0
  43. data/lib/kuva/engine.rb +9 -0
  44. data/lib/kuva/version.rb +3 -0
  45. data/lib/tasks/kuva_task.rake +6 -0
  46. data/spec/controllers/kuva/application_controller_spec.rb +42 -0
  47. data/spec/controllers/kuva/photos_controller_spec.rb +22 -0
  48. data/spec/controllers/kuva/sets_controller_spec.rb +51 -0
  49. data/spec/dummy/README.md +1 -0
  50. data/spec/dummy/Rakefile +6 -0
  51. data/spec/dummy/app/assets/images/.keep +0 -0
  52. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  53. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  54. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  55. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  56. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  57. data/spec/dummy/app/mailers/.keep +0 -0
  58. data/spec/dummy/app/models/.keep +0 -0
  59. data/spec/dummy/app/models/concerns/.keep +0 -0
  60. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  61. data/spec/dummy/bin/bundle +3 -0
  62. data/spec/dummy/bin/rails +4 -0
  63. data/spec/dummy/bin/rake +4 -0
  64. data/spec/dummy/config.ru +4 -0
  65. data/spec/dummy/config/application.rb +30 -0
  66. data/spec/dummy/config/boot.rb +5 -0
  67. data/spec/dummy/config/database.yml +25 -0
  68. data/spec/dummy/config/environment.rb +5 -0
  69. data/spec/dummy/config/environments/development.rb +29 -0
  70. data/spec/dummy/config/environments/production.rb +80 -0
  71. data/spec/dummy/config/environments/test.rb +39 -0
  72. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  73. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  74. data/spec/dummy/config/initializers/inflections.rb +16 -0
  75. data/spec/dummy/config/initializers/kuva.rb +29 -0
  76. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  77. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  78. data/spec/dummy/config/initializers/session_store.rb +3 -0
  79. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  80. data/spec/dummy/config/locales/en.yml +23 -0
  81. data/spec/dummy/config/routes.rb +4 -0
  82. data/spec/dummy/lib/assets/.keep +0 -0
  83. data/spec/dummy/log/.keep +0 -0
  84. data/spec/dummy/public/404.html +58 -0
  85. data/spec/dummy/public/422.html +58 -0
  86. data/spec/dummy/public/500.html +57 -0
  87. data/spec/dummy/public/favicon.ico +0 -0
  88. data/spec/features/photo_spec.rb +40 -0
  89. data/spec/features/photoset_collection_spec.rb +25 -0
  90. data/spec/features/photoset_spec.rb +42 -0
  91. data/spec/generators/kuva/install_generator_spec.rb +30 -0
  92. data/spec/generators/kuva/views_generator_spec.rb +37 -0
  93. data/spec/helpers/kuva/application_helper_spec.rb +26 -0
  94. data/spec/kuva/authorizer_spec.rb +83 -0
  95. data/spec/kuva/elements/photo_spec.rb +76 -0
  96. data/spec/kuva/elements/photoset_collection_spec.rb +42 -0
  97. data/spec/kuva/elements/photoset_spec.rb +106 -0
  98. data/spec/kuva/elements/url_info_spec.rb +25 -0
  99. data/spec/kuva_spec.rb +81 -0
  100. data/spec/spec_helper.rb +68 -0
  101. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml +160 -0
  102. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml +160 -0
  103. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml +160 -0
  104. data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml +65 -0
  105. data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml +222 -0
  106. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml +95 -0
  107. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml +252 -0
  108. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml +252 -0
  109. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml +95 -0
  110. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml +95 -0
  111. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml +95 -0
  112. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml +95 -0
  113. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml +95 -0
  114. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml +252 -0
  115. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml +95 -0
  116. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml +95 -0
  117. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml +252 -0
  118. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml +95 -0
  119. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml +65 -0
  120. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml +65 -0
  121. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml +65 -0
  122. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml +222 -0
  123. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml +65 -0
  124. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml +65 -0
  125. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml +65 -0
  126. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml +65 -0
  127. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml +65 -0
  128. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml +65 -0
  129. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml +65 -0
  130. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml +222 -0
  131. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml +65 -0
  132. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml +65 -0
  133. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml +222 -0
  134. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml +65 -0
  135. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml +162 -0
  136. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml +162 -0
  137. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml +319 -0
  138. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml +2761 -0
  139. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml +2918 -0
  140. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml +2761 -0
  141. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml +2918 -0
  142. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml +2761 -0
  143. data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml +314 -0
  144. data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml +157 -0
  145. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml +2761 -0
  146. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml +2918 -0
  147. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml +160 -0
  148. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml +2858 -0
  149. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml +2858 -0
  150. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml +2858 -0
  151. data/spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml +3169 -0
  152. data/spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml +157 -0
  153. data/spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml +5616 -0
  154. data/spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml +3012 -0
  155. data/spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml +314 -0
  156. data/spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml +3015 -0
  157. data/spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml +5616 -0
  158. data/spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml +2761 -0
  159. data/spec/support/vcr/vcr.rb +17 -0
  160. metadata +398 -0
@@ -0,0 +1,17 @@
1
+ require "vcr"
2
+
3
+ VCR.configure do |config|
4
+ config.allow_http_connections_when_no_cassette = true
5
+ config.cassette_library_dir = "spec/support/vcr/cassettes"
6
+ config.hook_into :webmock
7
+ config.configure_rspec_metadata!
8
+ config.default_cassette_options = {
9
+ record: :new_episodes,
10
+ match_requests_on: [:method, :uri, :body]
11
+ }
12
+
13
+ config.filter_sensitive_data("<KUVA_API_KEY>") { Kuva.api_key }
14
+ config.filter_sensitive_data("<KUVA_SHARED_SECRET>") { Kuva.shared_secret }
15
+ config.filter_sensitive_data("<KUVA_ACCESS_TOKEN>") { Kuva.access_token }
16
+ config.filter_sensitive_data("<KUVA_ACCESS_SECRET>") { Kuva.access_secret }
17
+ end
metadata ADDED
@@ -0,0 +1,398 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kuva
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Tuhumury
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: flickraw
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: haml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sass-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 4.0.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 4.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 4.0.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 4.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: compass-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: This Rails Engine provides a Flickr gallery for use in your own Rails
98
+ project.
99
+ email:
100
+ - kevin.tuhumury@gmail.com
101
+ executables: []
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".coveralls.yml"
106
+ - ".env.example"
107
+ - ".gitignore"
108
+ - ".rspec"
109
+ - ".ruby-gemset"
110
+ - ".ruby-version"
111
+ - ".travis.yml"
112
+ - Gemfile
113
+ - Gemfile.lock
114
+ - MIT-LICENSE
115
+ - README.md
116
+ - Rakefile
117
+ - app/assets/images/kuva/.keep
118
+ - app/assets/javascripts/kuva/application.js
119
+ - app/assets/javascripts/kuva/jquery-2.1.0.min.js
120
+ - app/assets/javascripts/kuva/jquery.justified_gallery.min.js
121
+ - app/assets/javascripts/kuva/kuva.js.coffee
122
+ - app/assets/stylesheets/kuva/application.css
123
+ - app/assets/stylesheets/kuva/justified_gallery.min.css
124
+ - app/assets/stylesheets/kuva/kuva.css.sass
125
+ - app/controllers/kuva/application_controller.rb
126
+ - app/controllers/kuva/photos_controller.rb
127
+ - app/controllers/kuva/sets_controller.rb
128
+ - app/helpers/kuva/application_helper.rb
129
+ - app/views/kuva/photos/show.html.haml
130
+ - app/views/kuva/sets/index.html.haml
131
+ - app/views/kuva/sets/show.html.haml
132
+ - app/views/layouts/kuva/application.html.haml
133
+ - config/locales/cli.yml
134
+ - config/locales/frontend.yml
135
+ - config/routes.rb
136
+ - kuva.gemspec
137
+ - lib/generators/kuva/install_generator.rb
138
+ - lib/generators/kuva/templates/kuva.rb
139
+ - lib/generators/kuva/views_generator.rb
140
+ - lib/kuva.rb
141
+ - lib/kuva/authorizer.rb
142
+ - lib/kuva/elements/photo.rb
143
+ - lib/kuva/elements/photoset.rb
144
+ - lib/kuva/elements/photoset_collection.rb
145
+ - lib/kuva/elements/url_info.rb
146
+ - lib/kuva/engine.rb
147
+ - lib/kuva/version.rb
148
+ - lib/tasks/kuva_task.rake
149
+ - spec/controllers/kuva/application_controller_spec.rb
150
+ - spec/controllers/kuva/photos_controller_spec.rb
151
+ - spec/controllers/kuva/sets_controller_spec.rb
152
+ - spec/dummy/README.md
153
+ - spec/dummy/Rakefile
154
+ - spec/dummy/app/assets/images/.keep
155
+ - spec/dummy/app/assets/javascripts/application.js
156
+ - spec/dummy/app/assets/stylesheets/application.css
157
+ - spec/dummy/app/controllers/application_controller.rb
158
+ - spec/dummy/app/controllers/concerns/.keep
159
+ - spec/dummy/app/helpers/application_helper.rb
160
+ - spec/dummy/app/mailers/.keep
161
+ - spec/dummy/app/models/.keep
162
+ - spec/dummy/app/models/concerns/.keep
163
+ - spec/dummy/app/views/layouts/application.html.erb
164
+ - spec/dummy/bin/bundle
165
+ - spec/dummy/bin/rails
166
+ - spec/dummy/bin/rake
167
+ - spec/dummy/config.ru
168
+ - spec/dummy/config/application.rb
169
+ - spec/dummy/config/boot.rb
170
+ - spec/dummy/config/database.yml
171
+ - spec/dummy/config/environment.rb
172
+ - spec/dummy/config/environments/development.rb
173
+ - spec/dummy/config/environments/production.rb
174
+ - spec/dummy/config/environments/test.rb
175
+ - spec/dummy/config/initializers/backtrace_silencers.rb
176
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
177
+ - spec/dummy/config/initializers/inflections.rb
178
+ - spec/dummy/config/initializers/kuva.rb
179
+ - spec/dummy/config/initializers/mime_types.rb
180
+ - spec/dummy/config/initializers/secret_token.rb
181
+ - spec/dummy/config/initializers/session_store.rb
182
+ - spec/dummy/config/initializers/wrap_parameters.rb
183
+ - spec/dummy/config/locales/en.yml
184
+ - spec/dummy/config/routes.rb
185
+ - spec/dummy/lib/assets/.keep
186
+ - spec/dummy/log/.keep
187
+ - spec/dummy/public/404.html
188
+ - spec/dummy/public/422.html
189
+ - spec/dummy/public/500.html
190
+ - spec/dummy/public/favicon.ico
191
+ - spec/features/photo_spec.rb
192
+ - spec/features/photoset_collection_spec.rb
193
+ - spec/features/photoset_spec.rb
194
+ - spec/generators/kuva/install_generator_spec.rb
195
+ - spec/generators/kuva/views_generator_spec.rb
196
+ - spec/helpers/kuva/application_helper_spec.rb
197
+ - spec/kuva/authorizer_spec.rb
198
+ - spec/kuva/elements/photo_spec.rb
199
+ - spec/kuva/elements/photoset_collection_spec.rb
200
+ - spec/kuva/elements/photoset_spec.rb
201
+ - spec/kuva/elements/url_info_spec.rb
202
+ - spec/kuva_spec.rb
203
+ - spec/spec_helper.rb
204
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml
205
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml
206
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml
207
+ - spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml
208
+ - spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml
209
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml
210
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml
211
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml
212
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml
213
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml
214
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml
215
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml
216
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml
217
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml
218
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml
219
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml
220
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml
221
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml
222
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml
223
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml
224
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml
225
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml
226
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml
227
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml
228
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml
229
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml
230
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml
231
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml
232
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml
233
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml
234
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml
235
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml
236
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml
237
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml
238
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml
239
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml
240
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml
241
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml
242
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml
243
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml
244
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml
245
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml
246
+ - spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml
247
+ - spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml
248
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml
249
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml
250
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml
251
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml
252
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml
253
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml
254
+ - spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml
255
+ - spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml
256
+ - spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml
257
+ - spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml
258
+ - spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml
259
+ - spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml
260
+ - spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml
261
+ - spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml
262
+ - spec/support/vcr/vcr.rb
263
+ homepage: http://github.com/kevintuhumury/kuva
264
+ licenses: []
265
+ metadata: {}
266
+ post_install_message:
267
+ rdoc_options: []
268
+ require_paths:
269
+ - lib
270
+ required_ruby_version: !ruby/object:Gem::Requirement
271
+ requirements:
272
+ - - ">="
273
+ - !ruby/object:Gem::Version
274
+ version: '0'
275
+ required_rubygems_version: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - ">="
278
+ - !ruby/object:Gem::Version
279
+ version: '0'
280
+ requirements: []
281
+ rubyforge_project:
282
+ rubygems_version: 2.2.2
283
+ signing_key:
284
+ specification_version: 4
285
+ summary: A Flickr gallery which can be mounted as a Rails Engine.
286
+ test_files:
287
+ - spec/controllers/kuva/application_controller_spec.rb
288
+ - spec/controllers/kuva/photos_controller_spec.rb
289
+ - spec/controllers/kuva/sets_controller_spec.rb
290
+ - spec/dummy/README.md
291
+ - spec/dummy/Rakefile
292
+ - spec/dummy/app/assets/images/.keep
293
+ - spec/dummy/app/assets/javascripts/application.js
294
+ - spec/dummy/app/assets/stylesheets/application.css
295
+ - spec/dummy/app/controllers/application_controller.rb
296
+ - spec/dummy/app/controllers/concerns/.keep
297
+ - spec/dummy/app/helpers/application_helper.rb
298
+ - spec/dummy/app/mailers/.keep
299
+ - spec/dummy/app/models/.keep
300
+ - spec/dummy/app/models/concerns/.keep
301
+ - spec/dummy/app/views/layouts/application.html.erb
302
+ - spec/dummy/bin/bundle
303
+ - spec/dummy/bin/rails
304
+ - spec/dummy/bin/rake
305
+ - spec/dummy/config.ru
306
+ - spec/dummy/config/application.rb
307
+ - spec/dummy/config/boot.rb
308
+ - spec/dummy/config/database.yml
309
+ - spec/dummy/config/environment.rb
310
+ - spec/dummy/config/environments/development.rb
311
+ - spec/dummy/config/environments/production.rb
312
+ - spec/dummy/config/environments/test.rb
313
+ - spec/dummy/config/initializers/backtrace_silencers.rb
314
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
315
+ - spec/dummy/config/initializers/inflections.rb
316
+ - spec/dummy/config/initializers/kuva.rb
317
+ - spec/dummy/config/initializers/mime_types.rb
318
+ - spec/dummy/config/initializers/secret_token.rb
319
+ - spec/dummy/config/initializers/session_store.rb
320
+ - spec/dummy/config/initializers/wrap_parameters.rb
321
+ - spec/dummy/config/locales/en.yml
322
+ - spec/dummy/config/routes.rb
323
+ - spec/dummy/lib/assets/.keep
324
+ - spec/dummy/log/.keep
325
+ - spec/dummy/public/404.html
326
+ - spec/dummy/public/422.html
327
+ - spec/dummy/public/500.html
328
+ - spec/dummy/public/favicon.ico
329
+ - spec/features/photo_spec.rb
330
+ - spec/features/photoset_collection_spec.rb
331
+ - spec/features/photoset_spec.rb
332
+ - spec/generators/kuva/install_generator_spec.rb
333
+ - spec/generators/kuva/views_generator_spec.rb
334
+ - spec/helpers/kuva/application_helper_spec.rb
335
+ - spec/kuva/authorizer_spec.rb
336
+ - spec/kuva/elements/photo_spec.rb
337
+ - spec/kuva/elements/photoset_collection_spec.rb
338
+ - spec/kuva/elements/photoset_spec.rb
339
+ - spec/kuva/elements/url_info_spec.rb
340
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml
341
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml
342
+ - spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml
343
+ - spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml
344
+ - spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml
345
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml
346
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml
347
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml
348
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml
349
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml
350
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml
351
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml
352
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml
353
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml
354
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml
355
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml
356
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml
357
+ - spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml
358
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml
359
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml
360
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml
361
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml
362
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml
363
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml
364
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml
365
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml
366
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml
367
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml
368
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml
369
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml
370
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml
371
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml
372
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml
373
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml
374
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml
375
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml
376
+ - spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml
377
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml
378
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml
379
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml
380
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml
381
+ - spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml
382
+ - spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml
383
+ - spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml
384
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml
385
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml
386
+ - spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml
387
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml
388
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml
389
+ - spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml
390
+ - spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml
391
+ - spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml
392
+ - spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml
393
+ - spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml
394
+ - spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml
395
+ - spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml
396
+ - spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml
397
+ - spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml
398
+ - spec/support/vcr/vcr.rb