reviewed 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +8 -8
  2. data/lib/reviewed/attachable.rb +2 -2
  3. data/lib/reviewed/client.rb +1 -1
  4. data/lib/reviewed/version.rb +1 -1
  5. data/spec/article_spec.rb +1 -1
  6. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +253 -260
  7. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +226 -213
  8. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +253 -234
  9. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +264 -245
  10. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +288 -257
  11. data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +226 -213
  12. data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +226 -213
  13. data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +226 -213
  14. data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +226 -213
  15. data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +226 -213
  16. data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +320 -300
  17. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +451 -425
  18. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +451 -425
  19. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +451 -425
  20. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +176 -177
  21. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +52 -45
  22. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +94 -87
  23. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +94 -87
  24. data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +161 -147
  25. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +94 -87
  26. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +94 -87
  27. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +94 -87
  28. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +94 -87
  29. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +94 -87
  30. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +94 -87
  31. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +94 -87
  32. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +254 -233
  33. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +94 -87
  34. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +89 -76
  35. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +100 -87
  36. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +62 -55
  37. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +100 -87
  38. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +89 -76
  39. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +62 -55
  40. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +62 -55
  41. data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +48 -41
  42. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +176 -177
  43. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +28 -22
  44. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +188 -182
  45. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +176 -177
  46. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +176 -177
  47. data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +226 -213
  48. data/spec/spec_helper.rb +1 -1
  49. metadata +3 -3
@@ -22,7 +22,7 @@ VCR.configure do |config|
22
22
  end
23
23
 
24
24
 
25
- TEST_URL = 'http://localhost:3000/api/v1'
25
+ TEST_URL = 'https://the-guide-staging.herokuapp.com/api/v1'
26
26
  TEST_KEY = ENV['REVIEWED_API_KEY']
27
27
 
28
28
  Reviewed::Client.configure do |client|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reviewed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Plante
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-27 00:00:00.000000000 Z
12
+ date: 2013-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  version: '0'
292
292
  requirements: []
293
293
  rubyforge_project:
294
- rubygems_version: 2.0.0
294
+ rubygems_version: 2.0.3
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: A Ruby Gem for Accessing the Reviewed.com API