teamsnap_rb 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.github/stale.yml +16 -0
  3. data/.gitignore +1 -1
  4. data/.travis.yml +5 -6
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +1 -2
  7. data/README.md +0 -1
  8. data/Rakefile +0 -5
  9. data/lib/teamsnap.rb +5 -1
  10. data/lib/teamsnap/api.rb +2 -1
  11. data/lib/teamsnap/auth_middleware.rb +2 -0
  12. data/lib/teamsnap/response.rb +5 -1
  13. data/lib/teamsnap/version.rb +1 -1
  14. data/spec/cassettes/apiv3-init.yml +850 -236
  15. data/spec/cassettes/teamsnap__api/_run/when_creating/when_successful/can_parse_the_json.yml +73 -0
  16. data/spec/cassettes/teamsnap__api/_run/when_deleting/when_successful/handles_empty_response_body.yml +38 -0
  17. data/spec/cassettes/teamsnap__client/_api/Sends_the_proper_information_to_TeamSnap_Api_run.yml +87 -0
  18. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/does_not_raise_an_error_when_the_HTTP_actions_are_called.yml +24 -17
  19. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +24 -17
  20. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +846 -232
  21. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +847 -232
  22. data/spec/cassettes/teamsnap__collection/_items/returns_all_items_for_a_base_collection.yml +68 -63
  23. data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +44 -27
  24. data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +132 -33
  25. data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +421 -136
  26. data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +175 -59
  27. data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +155 -53
  28. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +132 -33
  29. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +75 -35
  30. data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +44 -27
  31. data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +36 -22
  32. data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +36 -22
  33. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_array_of_objects_when_successful.yml +63 -51
  34. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_plural_relation_is_called/responds_with_an_empty_array_when_no_objects_exist.yml +57 -47
  35. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_nil_if_it_does_NOT_exist.yml +49 -42
  36. data/spec/cassettes/teamsnap__collection/supports_relations_with_expected_behaviors/when_a_singular_relation_is_called/responds_with_the_object_if_it_exists.yml +77 -53
  37. data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +36 -22
  38. data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +36 -22
  39. data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +24 -17
  40. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +16 -16
  41. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +14 -14
  42. data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +291 -103
  43. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/accepts_test_file_arg_when_creating_HMAC.yml +82 -2653
  44. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +67 -2639
  45. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +24 -17
  46. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +67 -2639
  47. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +67 -2639
  48. data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +93 -65
  49. data/spec/cassettes/uploading_files/uploads_a_file.yml +130 -31
  50. data/spec/cassettes/uploading_files/uploads_a_tempfile.yml +130 -31
  51. data/spec/features/uploading_files_spec.rb +2 -2
  52. data/spec/spec_helper.rb +0 -13
  53. data/spec/teamsnap/apiv_spec.rb +49 -1
  54. data/spec/teamsnap/client_spec.rb +4 -4
  55. data/spec/teamsnap/collection_spec.rb +5 -5
  56. data/spec/teamsnap/item_spec.rb +1 -1
  57. data/spec/teamsnap/structure_spec.rb +2 -2
  58. data/spec/teamsnap_spec.rb +4 -4
  59. data/teamsnap_rb.gemspec +5 -5
  60. metadata +27 -14

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.