teamsnap_rb 2.4.0 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.github/stale.yml +16 -0
  3. data/.github/workflows/ci.yml +25 -0
  4. data/.gitignore +1 -1
  5. data/.teamsnap/service.yml +18 -0
  6. data/CHANGELOG.md +12 -0
  7. data/CODEOWNERS +1 -0
  8. data/Gemfile +0 -2
  9. data/README.md +4 -6
  10. data/Rakefile +0 -5
  11. data/lib/teamsnap/api.rb +2 -1
  12. data/lib/teamsnap/auth_middleware.rb +2 -0
  13. data/lib/teamsnap/response.rb +7 -1
  14. data/lib/teamsnap/structure.rb +1 -1
  15. data/lib/teamsnap/version.rb +1 -1
  16. data/lib/teamsnap.rb +5 -1
  17. data/spec/cassettes/apiv3-init.yml +850 -236
  18. data/spec/cassettes/teamsnap__api/_run/when_creating/when_successful/can_parse_the_json.yml +73 -0
  19. data/spec/cassettes/teamsnap__api/_run/when_deleting/when_successful/handles_empty_response_body.yml +38 -0
  20. data/spec/cassettes/teamsnap__client/_api/Sends_the_proper_information_to_TeamSnap_Api_run.yml +87 -0
  21. 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
  22. data/spec/cassettes/teamsnap__client/when_calling_via_s_on_the_client/passes_them_to_the_faraday_client_using_method_missing.yml +24 -17
  23. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/correctly_sets_the_ghost_header_flag.yml +846 -232
  24. data/spec/cassettes/teamsnap__client/when_specifying_a_headers_flag/won_t_set_feature_headers_without_the_header_variable_present.yml +847 -232
  25. data/spec/cassettes/teamsnap__collection/_items/returns_all_items_for_a_base_collection.yml +68 -63
  26. data/spec/cassettes/teamsnap__collection/adds_find_if_search_is_available.yml +44 -27
  27. data/spec/cassettes/teamsnap__collection/adds_href_to_items.yml +132 -33
  28. data/spec/cassettes/teamsnap__collection/can_follow_plural_links.yml +421 -136
  29. data/spec/cassettes/teamsnap__collection/can_follow_singular_links.yml +175 -59
  30. data/spec/cassettes/teamsnap__collection/can_handle_links_with_no_data.yml +155 -53
  31. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands.yml +132 -33
  32. data/spec/cassettes/teamsnap__collection/handles_executing_an_action_via_commands_with_multiple_params.yml +75 -35
  33. data/spec/cassettes/teamsnap__collection/handles_fetching_data_via_queries.yml +44 -27
  34. data/spec/cassettes/teamsnap__collection/handles_queries_with_no_data.yml +36 -22
  35. data/spec/cassettes/teamsnap__collection/raises_an_exception_if_find_returns_nothing.yml +36 -22
  36. 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
  37. 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
  38. 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
  39. 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
  40. data/spec/cassettes/teamsnap__structure/_create_collection_class/registers_new_classes_via_introspection_of_the_root_collection.yml +36 -22
  41. data/spec/cassettes/teamsnap__structure/_create_collection_class/sets_the_href_attribute_on_the_new_class.yml +36 -22
  42. data/spec/cassettes/teamsnap__structure/_init/has_all_classes_in_schema_loaded_except_for_exceptions_list_endpoints.yml +24 -17
  43. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_empty_bulk_load.yml +16 -16
  44. data/spec/cassettes/teamsnap_rb/_bulk_load/can_handle_an_error_with_bulk_load_without_a_team_id.yml +14 -14
  45. data/spec/cassettes/teamsnap_rb/_bulk_load/can_use_bulk_load.yml +291 -103
  46. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/accepts_test_file_arg_when_creating_HMAC.yml +82 -2653
  47. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_DELETE_on_the_given_client.yml +67 -2639
  48. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_GET_on_the_given_client.yml +24 -17
  49. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_PATCH_on_the_given_client.yml +67 -2639
  50. data/spec/cassettes/teamsnap_rb/_client_send/when_sent_a_known_via_/calls_POST_on_the_given_client.yml +67 -2639
  51. data/spec/cassettes/teamsnap_rb/_run/processes_the_response.yml +93 -65
  52. data/spec/cassettes/uploading_files/uploads_a_file.yml +130 -31
  53. data/spec/cassettes/uploading_files/uploads_a_tempfile.yml +130 -31
  54. data/spec/features/uploading_files_spec.rb +2 -2
  55. data/spec/spec_helper.rb +0 -13
  56. data/spec/teamsnap/apiv_spec.rb +49 -1
  57. data/spec/teamsnap/client_spec.rb +4 -4
  58. data/spec/teamsnap/collection_spec.rb +5 -5
  59. data/spec/teamsnap/item_spec.rb +1 -1
  60. data/spec/teamsnap/structure_spec.rb +2 -2
  61. data/spec/teamsnap_spec.rb +4 -4
  62. data/teamsnap_rb.gemspec +5 -5
  63. metadata +35 -20
  64. data/.travis.yml +0 -10

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.