tacokit 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/Gemfile +3 -3
  4. data/README.md +62 -22
  5. data/lib/tacokit/authorization.rb +1 -1
  6. data/lib/tacokit/client/actions.rb +11 -11
  7. data/lib/tacokit/client/boards.rb +13 -13
  8. data/lib/tacokit/client/cards.rb +41 -40
  9. data/lib/tacokit/client/checklists.rb +10 -10
  10. data/lib/tacokit/client/labels.rb +4 -4
  11. data/lib/tacokit/client/lists.rb +8 -8
  12. data/lib/tacokit/client/members.rb +8 -8
  13. data/lib/tacokit/client/notifications.rb +2 -6
  14. data/lib/tacokit/client/organizations.rb +19 -47
  15. data/lib/tacokit/client/searches.rb +2 -0
  16. data/lib/tacokit/client/tokens.rb +12 -16
  17. data/lib/tacokit/client/types.rb +3 -1
  18. data/lib/tacokit/client/webhooks.rb +9 -14
  19. data/lib/tacokit/client.rb +2 -2
  20. data/lib/tacokit/collection.rb +4 -1
  21. data/lib/tacokit/configuration.rb +1 -1
  22. data/lib/tacokit/error.rb +3 -0
  23. data/lib/tacokit/middleware/{boom.rb → raise_error.rb} +3 -1
  24. data/lib/tacokit/middleware.rb +2 -2
  25. data/lib/tacokit/version.rb +1 -1
  26. data/spec/cassettes/Tacokit_Client/_connection/authorized_GET_request_with_app_key_and_token_params.json +1 -1
  27. data/spec/cassettes/Tacokit_Client_Actions/_action/returns_a_token_authorized_action.json +1 -1
  28. data/spec/cassettes/Tacokit_Client_Actions/_action/returns_oauth_authorized_board.json +1 -1
  29. data/spec/cassettes/Tacokit_Client_Actions/_action_board/returns_action_board.json +1 -1
  30. data/spec/cassettes/Tacokit_Client_Actions/_action_card/returns_action_card.json +1 -1
  31. data/spec/cassettes/Tacokit_Client_Actions/_action_entities/returns_action_entities.json +1 -1
  32. data/spec/cassettes/Tacokit_Client_Actions/_action_list/returns_action_list.json +1 -1
  33. data/spec/cassettes/Tacokit_Client_Actions/_delete_action/deletes_an_action.json +1 -1
  34. data/spec/cassettes/Tacokit_Client_Actions/_update_action/updates_an_action.json +1 -1
  35. data/spec/cassettes/Tacokit_Client_Actions/_update_action_text/updates_an_action.json +1 -1
  36. data/spec/cassettes/Tacokit_Client_Boards/_add_board_member/adds_invites_member_to_board.json +1 -1
  37. data/spec/cassettes/Tacokit_Client_Boards/_board/returns_a_token_authorized_board.json +1 -1
  38. data/spec/cassettes/Tacokit_Client_Boards/_board/returns_oauth_authorized_board.json +1 -1
  39. data/spec/cassettes/Tacokit_Client_Boards/_board_actions/returns_board_actions.json +1 -1
  40. data/spec/cassettes/Tacokit_Client_Boards/_board_cards/returns_board_cards.json +1 -1
  41. data/spec/cassettes/Tacokit_Client_Boards/_board_checklists/returns_board_checklists.json +1 -1
  42. data/spec/cassettes/Tacokit_Client_Boards/_board_labels/returns_board_labels.json +1 -1
  43. data/spec/cassettes/Tacokit_Client_Boards/_board_lists/returns_board_lists.json +1 -1
  44. data/spec/cassettes/Tacokit_Client_Boards/_board_members/returns_board_members.json +1 -1
  45. data/spec/cassettes/Tacokit_Client_Boards/_board_organization/returns_board_organization.json +1 -1
  46. data/spec/cassettes/Tacokit_Client_Boards/_board_preferences/returns_preferences_for_a_board.json +1 -1
  47. data/spec/cassettes/Tacokit_Client_Boards/_board_stars/returns_board_stars.json +1 -1
  48. data/spec/cassettes/Tacokit_Client_Boards/_update_board/updates_a_board.json +1 -1
  49. data/spec/cassettes/Tacokit_Client_Boards/_update_board/updates_nested_resource.json +1 -1
  50. data/spec/cassettes/Tacokit_Client_Boards/_update_board_member/updates_member.json +1 -1
  51. data/spec/cassettes/Tacokit_Client_Cards/_add_comment/creates_a_comment.json +1 -1
  52. data/spec/cassettes/Tacokit_Client_Cards/_add_label/adds_label_to_card.json +1 -1
  53. data/spec/cassettes/Tacokit_Client_Cards/_add_member_to_card/adds_member_to_card.json +1 -1
  54. data/spec/cassettes/Tacokit_Client_Cards/_archive_card/archives_card.json +1 -1
  55. data/spec/cassettes/Tacokit_Client_Cards/_archive_card/restore_card.json +1 -1
  56. data/spec/cassettes/Tacokit_Client_Cards/_attachments/returns_an_attachment.json +1 -1
  57. data/spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachments.json +1 -1
  58. data/spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_card_resource.json +1 -1
  59. data/spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_id.json +1 -1
  60. data/spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_short_link.json +1 -1
  61. data/spec/cassettes/Tacokit_Client_Cards/_card_actions/returns_card_actions.json +1 -1
  62. data/spec/cassettes/Tacokit_Client_Cards/_card_board/returns_card_board.json +1 -1
  63. data/spec/cassettes/Tacokit_Client_Cards/_card_list/returns_a_list.json +1 -1
  64. data/spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members.json +1 -1
  65. data/spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members_voted.json +1 -1
  66. data/spec/cassettes/Tacokit_Client_Cards/_checklists/returns_check_item_states.json +1 -1
  67. data/spec/cassettes/Tacokit_Client_Cards/_checklists/returns_checklists.json +1 -1
  68. data/spec/cassettes/Tacokit_Client_Cards/_create_card/creates_a_card.json +1 -1
  69. data/spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/attaches_external_url.json +1 -1
  70. data/spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/uploads_local_file.json +1 -1
  71. data/spec/cassettes/Tacokit_Client_Cards/_delete_card/deletes_a_card.json +1 -1
  72. data/spec/cassettes/Tacokit_Client_Cards/_delete_comment/deletes_comment.json +1 -1
  73. data/spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_a_new_position.json +1 -1
  74. data/spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_another_board_list.json +1 -1
  75. data/spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_board.json +1 -1
  76. data/spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_list.json +1 -1
  77. data/spec/cassettes/Tacokit_Client_Cards/_move_card/raises_error_if_missing_options.json +1 -1
  78. data/spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_new_checklist_by_name.json +1 -1
  79. data/spec/cassettes/Tacokit_Client_Cards/_start_checklist/copies_a_checklist_by_id.json +1 -1
  80. data/spec/cassettes/Tacokit_Client_Cards/_stickers/returns_stickers.json +1 -1
  81. data/spec/cassettes/Tacokit_Client_Cards/_update_card/updates_a_card.json +1 -1
  82. data/spec/cassettes/Tacokit_Client_Cards/_update_checklist_item/updates_checklist_item.json +1 -1
  83. data/spec/cassettes/Tacokit_Client_Cards/_update_comment/updates_a_comment.json +1 -1
  84. data/spec/cassettes/Tacokit_Client_Cards/_vote/adds_a_member_s_vote_to_card.json +1 -1
  85. data/spec/cassettes/Tacokit_Client_Checklists/_check_items/adds_a_checklist_check_item.json +1 -1
  86. data/spec/cassettes/Tacokit_Client_Checklists/_check_items/retrieves_checklist_check_items.json +1 -1
  87. data/spec/cassettes/Tacokit_Client_Checklists/_checklist/returns_a_checklist_by_id.json +1 -1
  88. data/spec/cassettes/Tacokit_Client_Checklists/_create_checklist/creates_a_checklist.json +1 -1
  89. data/spec/cassettes/Tacokit_Client_Checklists/_delete_checklist/deletes_a_checklist.json +1 -1
  90. data/spec/cassettes/Tacokit_Client_Checklists/_update_checklist/updates_a_checklist.json +1 -1
  91. data/spec/cassettes/Tacokit_Client_Labels/_create_label/creates_a_label.json +1 -1
  92. data/spec/cassettes/Tacokit_Client_Labels/_delete_label/deletes_a_label.json +1 -1
  93. data/spec/cassettes/Tacokit_Client_Labels/_label/returns_a_label_by_id.json +1 -1
  94. data/spec/cassettes/Tacokit_Client_Labels/_update_label/updates_a_label.json +1 -1
  95. data/spec/cassettes/Tacokit_Client_Lists/_archive_list_cards/should_archive_cards_in_list.json +1 -1
  96. data/spec/cassettes/Tacokit_Client_Lists/_create_list/creates_a_list.json +1 -1
  97. data/spec/cassettes/Tacokit_Client_Lists/_list/returns_a_list_by_id.json +1 -1
  98. data/spec/cassettes/Tacokit_Client_Lists/_list_actions/returns_list_actions.json +1 -1
  99. data/spec/cassettes/Tacokit_Client_Lists/_list_board/returns_list_board.json +1 -1
  100. data/spec/cassettes/Tacokit_Client_Lists/_list_cards/returns_list_cards.json +1 -1
  101. data/spec/cassettes/Tacokit_Client_Lists/_move_list_cards/should_move_cards_in_list.json +1 -1
  102. data/spec/cassettes/Tacokit_Client_Lists/_update_list/updates_a_list.json +1 -1
  103. data/spec/cassettes/Tacokit_Client_Members/_actions/returns_member_actions.json +1 -1
  104. data/spec/cassettes/Tacokit_Client_Members/_boards/returns_for_me_with_options_as_first_arg.json +1 -1
  105. data/spec/cassettes/Tacokit_Client_Members/_boards/returns_member_boards.json +1 -1
  106. data/spec/cassettes/Tacokit_Client_Members/_cards/returns_member_cards.json +1 -1
  107. data/spec/cassettes/Tacokit_Client_Members/_member/accepts_a_resource.json +1 -1
  108. data/spec/cassettes/Tacokit_Client_Members/_member/authenticated/returns_self.json +1 -1
  109. data/spec/cassettes/Tacokit_Client_Members/_member/returns_a_member.json +1 -1
  110. data/spec/cassettes/Tacokit_Client_Members/_member/returns_self.json +1 -1
  111. data/spec/cassettes/Tacokit_Client_Members/_member/supports_query_fields_as_string_or_array.json +1 -1
  112. data/spec/cassettes/Tacokit_Client_Members/_notifications/returns_member_notifications.json +1 -1
  113. data/spec/cassettes/Tacokit_Client_Members/_organizations/returns_member_organizations.json +1 -1
  114. data/spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_tokens.json +1 -1
  115. data/spec/cassettes/Tacokit_Client_Members/_update_member/updates_a_member.json +1 -1
  116. data/spec/cassettes/Tacokit_Client_Members/_update_member/updates_nested_resource.json +1 -1
  117. data/spec/cassettes/Tacokit_Client_Notifications/_notification/returns_a_notification_by_id.json +1 -1
  118. data/spec/cassettes/Tacokit_Client_Notifications/_update_notification/updates_a_notification.json +1 -1
  119. data/spec/cassettes/Tacokit_Client_Organizations/_create_organization/creates_a_organization.json +1 -1
  120. data/spec/cassettes/Tacokit_Client_Organizations/_delete_organization/deletes_a_organization.json +1 -1
  121. data/spec/cassettes/Tacokit_Client_Organizations/_organization/returns_an_organization_by_id.json +1 -1
  122. data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_actions.json +1 -1
  123. data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_boards.json +1 -1
  124. data/spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_members.json +1 -1
  125. data/spec/cassettes/Tacokit_Client_Organizations/_update_organization/updates_a_organization.json +1 -1
  126. data/spec/cassettes/Tacokit_Client_Searches/_search/returns_search_result.json +1 -1
  127. data/spec/cassettes/Tacokit_Client_Tokens/_delete_token/deletes_a_token.json +1 -1
  128. data/spec/cassettes/Tacokit_Client_Tokens/_token/returns_a_token_for_token_string.json +1 -1
  129. data/spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_member.json +1 -1
  130. data/spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_webhooks.json +1 -1
  131. data/spec/cassettes/Tacokit_Client_Types/_type/returns_a_type_by_id.json +1 -1
  132. data/spec/cassettes/Tacokit_Client_Webhooks/_create_webhook/creates_a_webhook.json +1 -1
  133. data/spec/cassettes/Tacokit_Client_Webhooks/_delete_webhook/deletes_a_webhook.json +1 -1
  134. data/spec/cassettes/Tacokit_Client_Webhooks/_update_webhook/updates_a_webhook.json +1 -1
  135. data/spec/cassettes/Tacokit_Client_Webhooks/_webhook/returns_a_webhook_by_short_link.json +1 -1
  136. data/spec/spec_helper.rb +3 -4
  137. data/spec/tacokit/client/actions_spec.rb +1 -1
  138. data/spec/tacokit/client/boards_spec.rb +5 -5
  139. data/spec/tacokit/client/cards_spec.rb +3 -3
  140. data/spec/tacokit/client/checklists_spec.rb +1 -1
  141. data/spec/tacokit/client/lists_spec.rb +5 -2
  142. data/spec/tacokit/client/members_spec.rb +1 -1
  143. data/spec/tacokit/client/notifications_spec.rb +3 -2
  144. data/spec/tacokit/client/webhooks_spec.rb +14 -15
  145. data/spec/tacokit/client_spec.rb +1 -1
  146. data/spec/tacokit/middleware/{boom_spec.rb → raise_error_spec.rb} +1 -1
  147. data/tacokit.gemspec +1 -0
  148. metadata +19 -132
  149. data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_hash.json +0 -1
  150. data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_resource.json +0 -1
  151. data/spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_value.json +0 -1
  152. data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_board.json +0 -1
  153. data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_entities.json +0 -1
  154. data/spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_memberships.json +0 -1
  155. data/spec/cassettes/Tacokit_Client_Actions/_update_action/updates_a_action.json +0 -1
  156. data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_hash.json +0 -1
  157. data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_value.json +0 -1
  158. data/spec/cassettes/Tacokit_Client_Boards/_board_field/returns_an_array.json +0 -1
  159. data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_actions.json +0 -1
  160. data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_cards.json +0 -1
  161. data/spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_members.json +0 -1
  162. data/spec/cassettes/Tacokit_Client_Boards/_create_board/creates_a_board.json +0 -1
  163. data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_calendar_key.json +0 -1
  164. data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_label.json +0 -1
  165. data/spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_resource.json +0 -1
  166. data/spec/cassettes/Tacokit_Client_Boards/_member_board_stars/returns_board_stars.json +0 -1
  167. data/spec/cassettes/Tacokit_Client_Boards/_update_board_field/updates_a_board_field.json +0 -1
  168. data/spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachment.json +0 -1
  169. data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_hash.json +0 -1
  170. data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_value.json +0 -1
  171. data/spec/cassettes/Tacokit_Client_Cards/_card_field/returns_an_array.json +0 -1
  172. data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_actions.json +0 -1
  173. data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_board.json +0 -1
  174. data/spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_check_item_states.json +0 -1
  175. data/spec/cassettes/Tacokit_Client_Cards/_card_stickers/returns_.json +0 -1
  176. data/spec/cassettes/Tacokit_Client_Cards/_create_card_comment/creates_a_comment.json +0 -1
  177. data/spec/cassettes/Tacokit_Client_Cards/_delete_card_resource/deletes_resource.json +0 -1
  178. data/spec/cassettes/Tacokit_Client_Cards/_list/returns_list.json +0 -1
  179. data/spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_a_checklist_item.json +0 -1
  180. data/spec/cassettes/Tacokit_Client_Checklists/_checklist_field/returns_a_value.json +0 -1
  181. data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_actions.json +0 -1
  182. data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_board.json +0 -1
  183. data/spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_prefs.json +0 -1
  184. data/spec/cassettes/Tacokit_Client_Labels/_label_resource/returns_a_board.json +0 -1
  185. data/spec/cassettes/Tacokit_Client_Labels/_labels/returns_a_label_by_id.json +0 -1
  186. data/spec/cassettes/Tacokit_Client_Lists/_list_field/returns_a_value.json +0 -1
  187. data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_actions.json +0 -1
  188. data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_board.json +0 -1
  189. data/spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_cards.json +0 -1
  190. data/spec/cassettes/Tacokit_Client_Members/_board_stars/returns_member_board_stars.json +0 -1
  191. data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_hash.json +0 -1
  192. data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_member_field.json +0 -1
  193. data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_resource.json +0 -1
  194. data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_value.json +0 -1
  195. data/spec/cassettes/Tacokit_Client_Members/_member_field/returns_an_array.json +0 -1
  196. data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_actions.json +0 -1
  197. data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_board_stars.json +0 -1
  198. data/spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_boards.json +0 -1
  199. data/spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_organizations.json +0 -1
  200. data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_hash.json +0 -1
  201. data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_resource.json +0 -1
  202. data/spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_value.json +0 -1
  203. data/spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_action_entities.json +0 -1
  204. data/spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_notification_board.json +0 -1
  205. data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_hash.json +0 -1
  206. data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_resource.json +0 -1
  207. data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_value.json +0 -1
  208. data/spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_an_array.json +0 -1
  209. data/spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_a_value.json +0 -1
  210. data/spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_an_array.json +0 -1
  211. data/spec/cassettes/Tacokit_Client_Webhooks/_webhook_field/returns_a_value.json +0 -1
@@ -54,12 +54,15 @@ describe Tacokit::Client::Lists do
54
54
 
55
55
  describe "#update_list", :vcr do
56
56
  it "updates a list" do
57
- list = app_client.update_list test_list_id,
58
- name: "Test List 1"
57
+ list = app_client.update_list test_list_id, name: "Test List 1"
59
58
 
60
59
  expect(list.name).to eq "Test List 1"
61
60
  assert_requested :put, trello_url_template("lists/#{test_list_id}{?key,token}")
62
61
  end
62
+
63
+ after do
64
+ app_client.update_list test_list_id, name: "List 1"
65
+ end
63
66
  end
64
67
 
65
68
  describe "#create_list", :vcr do
@@ -32,7 +32,7 @@ describe Tacokit::Client::Members do
32
32
  expect(member.username).to eq("tacokit")
33
33
  expect(member.full_name).to eq("Taco Kit")
34
34
 
35
- board = member.boards.first
35
+ board = member.boards.detect { |b| b.name =~ /^Test Board/ }
36
36
  expect(board.name).to eq("Test Board")
37
37
  expect(board.short_url).to match(%r{^https://trello.com})
38
38
  end
@@ -1,11 +1,12 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe Tacokit::Client::Notifications do
4
+ # TODO: notifications disappear overtime... need to grab notification id dynamically
4
5
  def test_notification_id
5
6
  "549102431b607566bafc93ab"
6
7
  end
7
8
 
8
- describe "#notification", :vcr do
9
+ pending "#notification", :vcr do
9
10
  it "returns a notification by id" do
10
11
  notification = app_client.notification(test_notification_id)
11
12
 
@@ -13,7 +14,7 @@ describe Tacokit::Client::Notifications do
13
14
  end
14
15
  end
15
16
 
16
- describe "#update_notification", :vcr do
17
+ pending "#update_notification", :vcr do
17
18
  it "updates a notification" do
18
19
  notification = oauth_client.update_notification(test_notification_id, unread: false)
19
20
 
@@ -1,24 +1,23 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe Tacokit::Client::Webhooks do
4
- def test_webhook_id
5
- "5491ff14d60e03635c260393"
6
- end
7
-
8
- describe "#webhook", :vcr do
9
- it "returns a webhook by short link" do
10
- webhook = app_client.webhook(test_webhook_id)
11
-
12
- expect(webhook.callback_url).to match(%r{https://[^/]*/webhook})
4
+ describe "#update_webhook", :vcr do
5
+ before do
6
+ @webhook = app_client.create_webhook \
7
+ test_trello_app_token,
8
+ test_org_id,
9
+ tacokit_web_endpoint("webhook?create_webhook")
13
10
  end
14
- end
15
11
 
16
- describe "#update_webhook", :vcr do
17
12
  it "updates a webhook" do
18
- webhook = app_client.update_webhook(test_webhook_id, description: "This webhook is for Tacokit testing")
13
+ @webhook = app_client.update_webhook(@webhook.id, description: "This webhook is for Tacokit testing")
19
14
 
20
- expect(webhook.description).to eq "This webhook is for Tacokit testing"
21
- assert_requested :put, trello_url_template("webhooks/#{test_webhook_id}{?key,token}")
15
+ expect(@webhook.description).to eq "This webhook is for Tacokit testing"
16
+ assert_requested :put, trello_url_template("webhooks/#{@webhook.id}{?key,token}")
17
+ end
18
+
19
+ after do
20
+ app_client.delete_webhook(@webhook.id)
22
21
  end
23
22
  end
24
23
 
@@ -55,7 +54,7 @@ describe Tacokit::Client::Webhooks do
55
54
  it "deletes a webhook" do
56
55
  app_client.delete_webhook(@webhook.id)
57
56
 
58
- expect { app_client.webhook(@webhook.id) }.to raise_error(Tacokit::Error::ResourceNotFound)
57
+ expect { app_client.token_resource(test_trello_app_token, :webhooks, @webhook.id) }.to raise_error(Tacokit::Error::ResourceNotFound)
59
58
  assert_requested :delete, trello_url_template("webhooks/#{@webhook.id}{?key,token}")
60
59
  end
61
60
  end
@@ -15,7 +15,7 @@ describe Tacokit::Client do
15
15
  client = Tacokit::Client.new(test_client_credentials)
16
16
  boards = client.get("members/me/boards")
17
17
 
18
- board = boards.first
18
+ board = boards.detect { |b| b.name =~ /^Test Board/ }
19
19
 
20
20
  expect(board.name).to eq "Test Board"
21
21
  assert_requested :get, trello_url_template("members/me/boards{?key,token}")
@@ -1,6 +1,6 @@
1
1
  require "spec_helper"
2
2
 
3
- describe Tacokit::Middleware::Boom do
3
+ describe Tacokit::Middleware::RaiseError do
4
4
  let(:app) { Object.new }
5
5
  let(:env) { Faraday::Env.new }
6
6
  let(:middleware) { described_class.new(app) }
data/tacokit.gemspec CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "faraday"
22
22
  spec.add_dependency "faraday_middleware"
23
23
  spec.add_dependency "simple_oauth"
24
+ spec.add_dependency "addressable"
24
25
 
25
26
  spec.add_development_dependency "bundler", "~> 1.7"
26
27
  spec.add_development_dependency "rake", "~> 10"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tacokit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Kaffenberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-04 00:00:00.000000000 Z
11
+ date: 2015-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: addressable
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +145,7 @@ files:
131
145
  - lib/tacokit/configuration.rb
132
146
  - lib/tacokit/error.rb
133
147
  - lib/tacokit/middleware.rb
134
- - lib/tacokit/middleware/boom.rb
148
+ - lib/tacokit/middleware/raise_error.rb
135
149
  - lib/tacokit/resource.rb
136
150
  - lib/tacokit/response.rb
137
151
  - lib/tacokit/transform.rb
@@ -144,15 +158,8 @@ files:
144
158
  - spec/cassettes/Tacokit_Client_Actions/_action_board/returns_action_board.json
145
159
  - spec/cassettes/Tacokit_Client_Actions/_action_card/returns_action_card.json
146
160
  - spec/cassettes/Tacokit_Client_Actions/_action_entities/returns_action_entities.json
147
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_hash.json
148
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_resource.json
149
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_value.json
150
161
  - spec/cassettes/Tacokit_Client_Actions/_action_list/returns_action_list.json
151
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_board.json
152
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_entities.json
153
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_memberships.json
154
162
  - spec/cassettes/Tacokit_Client_Actions/_delete_action/deletes_an_action.json
155
- - spec/cassettes/Tacokit_Client_Actions/_update_action/updates_a_action.json
156
163
  - spec/cassettes/Tacokit_Client_Actions/_update_action/updates_an_action.json
157
164
  - spec/cassettes/Tacokit_Client_Actions/_update_action_text/updates_an_action.json
158
165
  - spec/cassettes/Tacokit_Client_Boards/_add_board_member/adds_invites_member_to_board.json
@@ -161,26 +168,14 @@ files:
161
168
  - spec/cassettes/Tacokit_Client_Boards/_board_actions/returns_board_actions.json
162
169
  - spec/cassettes/Tacokit_Client_Boards/_board_cards/returns_board_cards.json
163
170
  - spec/cassettes/Tacokit_Client_Boards/_board_checklists/returns_board_checklists.json
164
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_hash.json
165
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_value.json
166
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_an_array.json
167
171
  - spec/cassettes/Tacokit_Client_Boards/_board_labels/returns_board_labels.json
168
172
  - spec/cassettes/Tacokit_Client_Boards/_board_lists/returns_board_lists.json
169
173
  - spec/cassettes/Tacokit_Client_Boards/_board_members/returns_board_members.json
170
174
  - spec/cassettes/Tacokit_Client_Boards/_board_organization/returns_board_organization.json
171
175
  - spec/cassettes/Tacokit_Client_Boards/_board_preferences/returns_preferences_for_a_board.json
172
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_actions.json
173
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_cards.json
174
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_members.json
175
176
  - spec/cassettes/Tacokit_Client_Boards/_board_stars/returns_board_stars.json
176
- - spec/cassettes/Tacokit_Client_Boards/_create_board/creates_a_board.json
177
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_calendar_key.json
178
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_label.json
179
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_resource.json
180
- - spec/cassettes/Tacokit_Client_Boards/_member_board_stars/returns_board_stars.json
181
177
  - spec/cassettes/Tacokit_Client_Boards/_update_board/updates_a_board.json
182
178
  - spec/cassettes/Tacokit_Client_Boards/_update_board/updates_nested_resource.json
183
- - spec/cassettes/Tacokit_Client_Boards/_update_board_field/updates_a_board_field.json
184
179
  - spec/cassettes/Tacokit_Client_Boards/_update_board_member/updates_member.json
185
180
  - spec/cassettes/Tacokit_Client_Cards/_add_comment/creates_a_comment.json
186
181
  - spec/cassettes/Tacokit_Client_Cards/_add_label/adds_label_to_card.json
@@ -188,39 +183,27 @@ files:
188
183
  - spec/cassettes/Tacokit_Client_Cards/_archive_card/archives_card.json
189
184
  - spec/cassettes/Tacokit_Client_Cards/_archive_card/restore_card.json
190
185
  - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_an_attachment.json
191
- - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachment.json
192
186
  - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachments.json
193
187
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_card_resource.json
194
188
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_id.json
195
189
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_short_link.json
196
190
  - spec/cassettes/Tacokit_Client_Cards/_card_actions/returns_card_actions.json
197
191
  - spec/cassettes/Tacokit_Client_Cards/_card_board/returns_card_board.json
198
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_hash.json
199
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_value.json
200
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_an_array.json
201
192
  - spec/cassettes/Tacokit_Client_Cards/_card_list/returns_a_list.json
202
193
  - spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members.json
203
194
  - spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members_voted.json
204
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_actions.json
205
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_board.json
206
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_check_item_states.json
207
- - spec/cassettes/Tacokit_Client_Cards/_card_stickers/returns_.json
208
195
  - spec/cassettes/Tacokit_Client_Cards/_checklists/returns_check_item_states.json
209
196
  - spec/cassettes/Tacokit_Client_Cards/_checklists/returns_checklists.json
210
197
  - spec/cassettes/Tacokit_Client_Cards/_create_card/creates_a_card.json
211
198
  - spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/attaches_external_url.json
212
199
  - spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/uploads_local_file.json
213
- - spec/cassettes/Tacokit_Client_Cards/_create_card_comment/creates_a_comment.json
214
200
  - spec/cassettes/Tacokit_Client_Cards/_delete_card/deletes_a_card.json
215
- - spec/cassettes/Tacokit_Client_Cards/_delete_card_resource/deletes_resource.json
216
201
  - spec/cassettes/Tacokit_Client_Cards/_delete_comment/deletes_comment.json
217
- - spec/cassettes/Tacokit_Client_Cards/_list/returns_list.json
218
202
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_a_new_position.json
219
203
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_another_board_list.json
220
204
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_board.json
221
205
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_list.json
222
206
  - spec/cassettes/Tacokit_Client_Cards/_move_card/raises_error_if_missing_options.json
223
- - spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_a_checklist_item.json
224
207
  - spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_new_checklist_by_name.json
225
208
  - spec/cassettes/Tacokit_Client_Cards/_start_checklist/copies_a_checklist_by_id.json
226
209
  - spec/cassettes/Tacokit_Client_Cards/_stickers/returns_stickers.json
@@ -231,18 +214,12 @@ files:
231
214
  - spec/cassettes/Tacokit_Client_Checklists/_check_items/adds_a_checklist_check_item.json
232
215
  - spec/cassettes/Tacokit_Client_Checklists/_check_items/retrieves_checklist_check_items.json
233
216
  - spec/cassettes/Tacokit_Client_Checklists/_checklist/returns_a_checklist_by_id.json
234
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_field/returns_a_value.json
235
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_actions.json
236
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_board.json
237
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_prefs.json
238
217
  - spec/cassettes/Tacokit_Client_Checklists/_create_checklist/creates_a_checklist.json
239
218
  - spec/cassettes/Tacokit_Client_Checklists/_delete_checklist/deletes_a_checklist.json
240
219
  - spec/cassettes/Tacokit_Client_Checklists/_update_checklist/updates_a_checklist.json
241
220
  - spec/cassettes/Tacokit_Client_Labels/_create_label/creates_a_label.json
242
221
  - spec/cassettes/Tacokit_Client_Labels/_delete_label/deletes_a_label.json
243
222
  - spec/cassettes/Tacokit_Client_Labels/_label/returns_a_label_by_id.json
244
- - spec/cassettes/Tacokit_Client_Labels/_label_resource/returns_a_board.json
245
- - spec/cassettes/Tacokit_Client_Labels/_labels/returns_a_label_by_id.json
246
223
  - spec/cassettes/Tacokit_Client_Labels/_update_label/updates_a_label.json
247
224
  - spec/cassettes/Tacokit_Client_Lists/_archive_list_cards/should_archive_cards_in_list.json
248
225
  - spec/cassettes/Tacokit_Client_Lists/_create_list/creates_a_list.json
@@ -250,14 +227,9 @@ files:
250
227
  - spec/cassettes/Tacokit_Client_Lists/_list_actions/returns_list_actions.json
251
228
  - spec/cassettes/Tacokit_Client_Lists/_list_board/returns_list_board.json
252
229
  - spec/cassettes/Tacokit_Client_Lists/_list_cards/returns_list_cards.json
253
- - spec/cassettes/Tacokit_Client_Lists/_list_field/returns_a_value.json
254
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_actions.json
255
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_board.json
256
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_cards.json
257
230
  - spec/cassettes/Tacokit_Client_Lists/_move_list_cards/should_move_cards_in_list.json
258
231
  - spec/cassettes/Tacokit_Client_Lists/_update_list/updates_a_list.json
259
232
  - spec/cassettes/Tacokit_Client_Members/_actions/returns_member_actions.json
260
- - spec/cassettes/Tacokit_Client_Members/_board_stars/returns_member_board_stars.json
261
233
  - spec/cassettes/Tacokit_Client_Members/_boards/returns_for_me_with_options_as_first_arg.json
262
234
  - spec/cassettes/Tacokit_Client_Members/_boards/returns_member_boards.json
263
235
  - spec/cassettes/Tacokit_Client_Members/_cards/returns_member_cards.json
@@ -266,34 +238,16 @@ files:
266
238
  - spec/cassettes/Tacokit_Client_Members/_member/returns_a_member.json
267
239
  - spec/cassettes/Tacokit_Client_Members/_member/returns_self.json
268
240
  - spec/cassettes/Tacokit_Client_Members/_member/supports_query_fields_as_string_or_array.json
269
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_hash.json
270
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_member_field.json
271
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_resource.json
272
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_value.json
273
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_an_array.json
274
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_actions.json
275
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_board_stars.json
276
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_boards.json
277
241
  - spec/cassettes/Tacokit_Client_Members/_notifications/returns_member_notifications.json
278
242
  - spec/cassettes/Tacokit_Client_Members/_organizations/returns_member_organizations.json
279
- - spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_organizations.json
280
243
  - spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_tokens.json
281
244
  - spec/cassettes/Tacokit_Client_Members/_update_member/updates_a_member.json
282
245
  - spec/cassettes/Tacokit_Client_Members/_update_member/updates_nested_resource.json
283
246
  - spec/cassettes/Tacokit_Client_Notifications/_notification/returns_a_notification_by_id.json
284
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_hash.json
285
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_resource.json
286
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_value.json
287
- - spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_action_entities.json
288
- - spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_notification_board.json
289
247
  - spec/cassettes/Tacokit_Client_Notifications/_update_notification/updates_a_notification.json
290
248
  - spec/cassettes/Tacokit_Client_Organizations/_create_organization/creates_a_organization.json
291
249
  - spec/cassettes/Tacokit_Client_Organizations/_delete_organization/deletes_a_organization.json
292
250
  - spec/cassettes/Tacokit_Client_Organizations/_organization/returns_an_organization_by_id.json
293
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_hash.json
294
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_resource.json
295
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_value.json
296
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_an_array.json
297
251
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_actions.json
298
252
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_boards.json
299
253
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_members.json
@@ -301,8 +255,6 @@ files:
301
255
  - spec/cassettes/Tacokit_Client_Searches/_search/returns_search_result.json
302
256
  - spec/cassettes/Tacokit_Client_Tokens/_delete_token/deletes_a_token.json
303
257
  - spec/cassettes/Tacokit_Client_Tokens/_token/returns_a_token_for_token_string.json
304
- - spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_a_value.json
305
- - spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_an_array.json
306
258
  - spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_member.json
307
259
  - spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_webhooks.json
308
260
  - spec/cassettes/Tacokit_Client_Types/_type/returns_a_type_by_id.json
@@ -310,7 +262,6 @@ files:
310
262
  - spec/cassettes/Tacokit_Client_Webhooks/_delete_webhook/deletes_a_webhook.json
311
263
  - spec/cassettes/Tacokit_Client_Webhooks/_update_webhook/updates_a_webhook.json
312
264
  - spec/cassettes/Tacokit_Client_Webhooks/_webhook/returns_a_webhook_by_short_link.json
313
- - spec/cassettes/Tacokit_Client_Webhooks/_webhook_field/returns_a_value.json
314
265
  - spec/fixtures/taco.png
315
266
  - spec/spec_helper.rb
316
267
  - spec/tacokit/authorization_spec.rb
@@ -329,7 +280,7 @@ files:
329
280
  - spec/tacokit/client/webhooks_spec.rb
330
281
  - spec/tacokit/client_spec.rb
331
282
  - spec/tacokit/configuration_spec.rb
332
- - spec/tacokit/middleware/boom_spec.rb
283
+ - spec/tacokit/middleware/raise_error_spec.rb
333
284
  - spec/tacokit/resource_spec.rb
334
285
  - spec/tacokit/transform_spec.rb
335
286
  - spec/tacokit_spec.rb
@@ -365,15 +316,8 @@ test_files:
365
316
  - spec/cassettes/Tacokit_Client_Actions/_action_board/returns_action_board.json
366
317
  - spec/cassettes/Tacokit_Client_Actions/_action_card/returns_action_card.json
367
318
  - spec/cassettes/Tacokit_Client_Actions/_action_entities/returns_action_entities.json
368
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_hash.json
369
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_resource.json
370
- - spec/cassettes/Tacokit_Client_Actions/_action_field/returns_a_value.json
371
319
  - spec/cassettes/Tacokit_Client_Actions/_action_list/returns_action_list.json
372
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_board.json
373
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_entities.json
374
- - spec/cassettes/Tacokit_Client_Actions/_action_resource/returns_action_memberships.json
375
320
  - spec/cassettes/Tacokit_Client_Actions/_delete_action/deletes_an_action.json
376
- - spec/cassettes/Tacokit_Client_Actions/_update_action/updates_a_action.json
377
321
  - spec/cassettes/Tacokit_Client_Actions/_update_action/updates_an_action.json
378
322
  - spec/cassettes/Tacokit_Client_Actions/_update_action_text/updates_an_action.json
379
323
  - spec/cassettes/Tacokit_Client_Boards/_add_board_member/adds_invites_member_to_board.json
@@ -382,26 +326,14 @@ test_files:
382
326
  - spec/cassettes/Tacokit_Client_Boards/_board_actions/returns_board_actions.json
383
327
  - spec/cassettes/Tacokit_Client_Boards/_board_cards/returns_board_cards.json
384
328
  - spec/cassettes/Tacokit_Client_Boards/_board_checklists/returns_board_checklists.json
385
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_hash.json
386
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_a_value.json
387
- - spec/cassettes/Tacokit_Client_Boards/_board_field/returns_an_array.json
388
329
  - spec/cassettes/Tacokit_Client_Boards/_board_labels/returns_board_labels.json
389
330
  - spec/cassettes/Tacokit_Client_Boards/_board_lists/returns_board_lists.json
390
331
  - spec/cassettes/Tacokit_Client_Boards/_board_members/returns_board_members.json
391
332
  - spec/cassettes/Tacokit_Client_Boards/_board_organization/returns_board_organization.json
392
333
  - spec/cassettes/Tacokit_Client_Boards/_board_preferences/returns_preferences_for_a_board.json
393
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_actions.json
394
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_cards.json
395
- - spec/cassettes/Tacokit_Client_Boards/_board_resource/returns_board_members.json
396
334
  - spec/cassettes/Tacokit_Client_Boards/_board_stars/returns_board_stars.json
397
- - spec/cassettes/Tacokit_Client_Boards/_create_board/creates_a_board.json
398
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_calendar_key.json
399
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_label.json
400
- - spec/cassettes/Tacokit_Client_Boards/_create_board_resource/creates_a_board_resource.json
401
- - spec/cassettes/Tacokit_Client_Boards/_member_board_stars/returns_board_stars.json
402
335
  - spec/cassettes/Tacokit_Client_Boards/_update_board/updates_a_board.json
403
336
  - spec/cassettes/Tacokit_Client_Boards/_update_board/updates_nested_resource.json
404
- - spec/cassettes/Tacokit_Client_Boards/_update_board_field/updates_a_board_field.json
405
337
  - spec/cassettes/Tacokit_Client_Boards/_update_board_member/updates_member.json
406
338
  - spec/cassettes/Tacokit_Client_Cards/_add_comment/creates_a_comment.json
407
339
  - spec/cassettes/Tacokit_Client_Cards/_add_label/adds_label_to_card.json
@@ -409,39 +341,27 @@ test_files:
409
341
  - spec/cassettes/Tacokit_Client_Cards/_archive_card/archives_card.json
410
342
  - spec/cassettes/Tacokit_Client_Cards/_archive_card/restore_card.json
411
343
  - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_an_attachment.json
412
- - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachment.json
413
344
  - spec/cassettes/Tacokit_Client_Cards/_attachments/returns_attachments.json
414
345
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_card_resource.json
415
346
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_id.json
416
347
  - spec/cassettes/Tacokit_Client_Cards/_card/returns_a_card_by_short_link.json
417
348
  - spec/cassettes/Tacokit_Client_Cards/_card_actions/returns_card_actions.json
418
349
  - spec/cassettes/Tacokit_Client_Cards/_card_board/returns_card_board.json
419
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_hash.json
420
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_a_value.json
421
- - spec/cassettes/Tacokit_Client_Cards/_card_field/returns_an_array.json
422
350
  - spec/cassettes/Tacokit_Client_Cards/_card_list/returns_a_list.json
423
351
  - spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members.json
424
352
  - spec/cassettes/Tacokit_Client_Cards/_card_members/returns_members_voted.json
425
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_actions.json
426
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_board.json
427
- - spec/cassettes/Tacokit_Client_Cards/_card_resource/returns_card_check_item_states.json
428
- - spec/cassettes/Tacokit_Client_Cards/_card_stickers/returns_.json
429
353
  - spec/cassettes/Tacokit_Client_Cards/_checklists/returns_check_item_states.json
430
354
  - spec/cassettes/Tacokit_Client_Cards/_checklists/returns_checklists.json
431
355
  - spec/cassettes/Tacokit_Client_Cards/_create_card/creates_a_card.json
432
356
  - spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/attaches_external_url.json
433
357
  - spec/cassettes/Tacokit_Client_Cards/_create_card_attachment/uploads_local_file.json
434
- - spec/cassettes/Tacokit_Client_Cards/_create_card_comment/creates_a_comment.json
435
358
  - spec/cassettes/Tacokit_Client_Cards/_delete_card/deletes_a_card.json
436
- - spec/cassettes/Tacokit_Client_Cards/_delete_card_resource/deletes_resource.json
437
359
  - spec/cassettes/Tacokit_Client_Cards/_delete_comment/deletes_comment.json
438
- - spec/cassettes/Tacokit_Client_Cards/_list/returns_list.json
439
360
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_a_new_position.json
440
361
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_another_board_list.json
441
362
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_board.json
442
363
  - spec/cassettes/Tacokit_Client_Cards/_move_card/moves_card_to_list.json
443
364
  - spec/cassettes/Tacokit_Client_Cards/_move_card/raises_error_if_missing_options.json
444
- - spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_a_checklist_item.json
445
365
  - spec/cassettes/Tacokit_Client_Cards/_start_checklist/adds_new_checklist_by_name.json
446
366
  - spec/cassettes/Tacokit_Client_Cards/_start_checklist/copies_a_checklist_by_id.json
447
367
  - spec/cassettes/Tacokit_Client_Cards/_stickers/returns_stickers.json
@@ -452,18 +372,12 @@ test_files:
452
372
  - spec/cassettes/Tacokit_Client_Checklists/_check_items/adds_a_checklist_check_item.json
453
373
  - spec/cassettes/Tacokit_Client_Checklists/_check_items/retrieves_checklist_check_items.json
454
374
  - spec/cassettes/Tacokit_Client_Checklists/_checklist/returns_a_checklist_by_id.json
455
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_field/returns_a_value.json
456
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_actions.json
457
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_board.json
458
- - spec/cassettes/Tacokit_Client_Checklists/_checklist_resource/returns_checklist_prefs.json
459
375
  - spec/cassettes/Tacokit_Client_Checklists/_create_checklist/creates_a_checklist.json
460
376
  - spec/cassettes/Tacokit_Client_Checklists/_delete_checklist/deletes_a_checklist.json
461
377
  - spec/cassettes/Tacokit_Client_Checklists/_update_checklist/updates_a_checklist.json
462
378
  - spec/cassettes/Tacokit_Client_Labels/_create_label/creates_a_label.json
463
379
  - spec/cassettes/Tacokit_Client_Labels/_delete_label/deletes_a_label.json
464
380
  - spec/cassettes/Tacokit_Client_Labels/_label/returns_a_label_by_id.json
465
- - spec/cassettes/Tacokit_Client_Labels/_label_resource/returns_a_board.json
466
- - spec/cassettes/Tacokit_Client_Labels/_labels/returns_a_label_by_id.json
467
381
  - spec/cassettes/Tacokit_Client_Labels/_update_label/updates_a_label.json
468
382
  - spec/cassettes/Tacokit_Client_Lists/_archive_list_cards/should_archive_cards_in_list.json
469
383
  - spec/cassettes/Tacokit_Client_Lists/_create_list/creates_a_list.json
@@ -471,14 +385,9 @@ test_files:
471
385
  - spec/cassettes/Tacokit_Client_Lists/_list_actions/returns_list_actions.json
472
386
  - spec/cassettes/Tacokit_Client_Lists/_list_board/returns_list_board.json
473
387
  - spec/cassettes/Tacokit_Client_Lists/_list_cards/returns_list_cards.json
474
- - spec/cassettes/Tacokit_Client_Lists/_list_field/returns_a_value.json
475
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_actions.json
476
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_board.json
477
- - spec/cassettes/Tacokit_Client_Lists/_list_resource/returns_list_cards.json
478
388
  - spec/cassettes/Tacokit_Client_Lists/_move_list_cards/should_move_cards_in_list.json
479
389
  - spec/cassettes/Tacokit_Client_Lists/_update_list/updates_a_list.json
480
390
  - spec/cassettes/Tacokit_Client_Members/_actions/returns_member_actions.json
481
- - spec/cassettes/Tacokit_Client_Members/_board_stars/returns_member_board_stars.json
482
391
  - spec/cassettes/Tacokit_Client_Members/_boards/returns_for_me_with_options_as_first_arg.json
483
392
  - spec/cassettes/Tacokit_Client_Members/_boards/returns_member_boards.json
484
393
  - spec/cassettes/Tacokit_Client_Members/_cards/returns_member_cards.json
@@ -487,34 +396,16 @@ test_files:
487
396
  - spec/cassettes/Tacokit_Client_Members/_member/returns_a_member.json
488
397
  - spec/cassettes/Tacokit_Client_Members/_member/returns_self.json
489
398
  - spec/cassettes/Tacokit_Client_Members/_member/supports_query_fields_as_string_or_array.json
490
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_hash.json
491
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_member_field.json
492
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_resource.json
493
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_a_value.json
494
- - spec/cassettes/Tacokit_Client_Members/_member_field/returns_an_array.json
495
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_actions.json
496
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_board_stars.json
497
- - spec/cassettes/Tacokit_Client_Members/_member_resource/returns_member_boards.json
498
399
  - spec/cassettes/Tacokit_Client_Members/_notifications/returns_member_notifications.json
499
400
  - spec/cassettes/Tacokit_Client_Members/_organizations/returns_member_organizations.json
500
- - spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_organizations.json
501
401
  - spec/cassettes/Tacokit_Client_Members/_tokens/returns_member_tokens.json
502
402
  - spec/cassettes/Tacokit_Client_Members/_update_member/updates_a_member.json
503
403
  - spec/cassettes/Tacokit_Client_Members/_update_member/updates_nested_resource.json
504
404
  - spec/cassettes/Tacokit_Client_Notifications/_notification/returns_a_notification_by_id.json
505
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_hash.json
506
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_resource.json
507
- - spec/cassettes/Tacokit_Client_Notifications/_notification_field/returns_a_value.json
508
- - spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_action_entities.json
509
- - spec/cassettes/Tacokit_Client_Notifications/_notification_resource/returns_notification_board.json
510
405
  - spec/cassettes/Tacokit_Client_Notifications/_update_notification/updates_a_notification.json
511
406
  - spec/cassettes/Tacokit_Client_Organizations/_create_organization/creates_a_organization.json
512
407
  - spec/cassettes/Tacokit_Client_Organizations/_delete_organization/deletes_a_organization.json
513
408
  - spec/cassettes/Tacokit_Client_Organizations/_organization/returns_an_organization_by_id.json
514
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_hash.json
515
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_resource.json
516
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_a_value.json
517
- - spec/cassettes/Tacokit_Client_Organizations/_organization_field/returns_an_array.json
518
409
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_actions.json
519
410
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_boards.json
520
411
  - spec/cassettes/Tacokit_Client_Organizations/_organization_resource/returns_organization_members.json
@@ -522,8 +413,6 @@ test_files:
522
413
  - spec/cassettes/Tacokit_Client_Searches/_search/returns_search_result.json
523
414
  - spec/cassettes/Tacokit_Client_Tokens/_delete_token/deletes_a_token.json
524
415
  - spec/cassettes/Tacokit_Client_Tokens/_token/returns_a_token_for_token_string.json
525
- - spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_a_value.json
526
- - spec/cassettes/Tacokit_Client_Tokens/_token_field/returns_an_array.json
527
416
  - spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_member.json
528
417
  - spec/cassettes/Tacokit_Client_Tokens/_token_resource/returns_token_webhooks.json
529
418
  - spec/cassettes/Tacokit_Client_Types/_type/returns_a_type_by_id.json
@@ -531,7 +420,6 @@ test_files:
531
420
  - spec/cassettes/Tacokit_Client_Webhooks/_delete_webhook/deletes_a_webhook.json
532
421
  - spec/cassettes/Tacokit_Client_Webhooks/_update_webhook/updates_a_webhook.json
533
422
  - spec/cassettes/Tacokit_Client_Webhooks/_webhook/returns_a_webhook_by_short_link.json
534
- - spec/cassettes/Tacokit_Client_Webhooks/_webhook_field/returns_a_value.json
535
423
  - spec/fixtures/taco.png
536
424
  - spec/spec_helper.rb
537
425
  - spec/tacokit/authorization_spec.rb
@@ -550,8 +438,7 @@ test_files:
550
438
  - spec/tacokit/client/webhooks_spec.rb
551
439
  - spec/tacokit/client_spec.rb
552
440
  - spec/tacokit/configuration_spec.rb
553
- - spec/tacokit/middleware/boom_spec.rb
441
+ - spec/tacokit/middleware/raise_error_spec.rb
554
442
  - spec/tacokit/resource_spec.rb
555
443
  - spec/tacokit/transform_spec.rb
556
444
  - spec/tacokit_spec.rb
557
- has_rdoc:
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/data?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=4da0cf780b6ad37767961e0b7aa2ccdadcf6f255ebd157c0a36dd0af7e7c8aee; Path=/; Expires=Sat, 20 Dec 2014 03:46:06 GMT; Secure","incap_ses_220_168562=90OLR7qXjjAy/OYYNZkNA338kFQAAAAAHW5jJ5J31c5dpAKyHzsdAg==; path=/; Domain=.trello.com","visid_incap_168562=aqlMo/j+S8a7/2DHGOcvdn38kFQAAAAAQUIPAAAAAACFVbK9hlUuuriX97xLs7rC; expires=Thu, 15 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418787966825"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["157"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 03:46:06 GMT"],"X-Iinfo":["9-73492312-73480854 PNNY RT(1418787965741 49) q(0 0 0 -1) r(1 1) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJvcmdhbml6YXRpb24iOnsibmFtZSI6IlRlYW0gVGFjb2tpdCIsImlkIjoi\nNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIn0sImJvYXJkIjp7InNob3J0TGlu\nayI6InN3ZXpROVhTIiwibmFtZSI6IlRlc3QgQm9hcmQiLCJpZCI6IjU0OGE2\nNzU1ODFkMWQ2NjljOWU4MTg0ZSJ9fQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 03:46:09 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/data?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=RoC\u0001WSpO; path=/; Max-Age=900","___utmvbDOussFI=vZn XmhOnalB: CtV; path=/; Max-Age=900","___utmvmDOussFI=kGNOGgLayQa; path=/; Max-Age=900","dsc=bbd14c9092f3af7bf28436bf3dd6571e0b030b2693159600acef7b7bd7a8d77c; Path=/; Expires=Mon, 22 Dec 2014 14:34:39 GMT; Secure","incap_ses_220_168562=ZQcOcnWsRWtua1McNZkNA343lFQAAAAApQHlrgZLMIqlGQhNGULd0A==; path=/; Domain=.trello.com","visid_incap_168562=ctQjgUpyRDCYjTPRtFvyhn43lFQAAAAAQUIPAAAAAAA86u1b8C8pAYrOcUyF2INw; expires=Sun, 18 Dec 2016 12:28:13 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418999679825"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["157"],"Vary":["Accept-Encoding"],"Date":["Fri, 19 Dec 2014 14:34:39 GMT"],"X-Iinfo":["9-104106285-104077929 PNNY RT(1418999678738 44) q(0 0 0 0) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJvcmdhbml6YXRpb24iOnsibmFtZSI6IlRlYW0gVGFjb2tpdCIsImlkIjoi\nNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIn0sImJvYXJkIjp7InNob3J0TGlu\nayI6InN3ZXpROVhTIiwibmFtZSI6IlRlc3QgQm9hcmQiLCJpZCI6IjU0OGE2\nNzU1ODFkMWQ2NjljOWU4MTg0ZSJ9fQ==\n"},"http_version":null},"recorded_at":"Fri, 19 Dec 2014 14:34:40 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/type?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=10e1e8c467eb55984f3829b80b112bd7cd3a48bf5b4790bcc8aff60334d4fb0c; Path=/; Expires=Sat, 20 Dec 2014 03:46:06 GMT; Secure","incap_ses_220_168562=esrRe8j9LFn4++YYNZkNA338kFQAAAAA+bqMloQmibXhxjKTl3nsWA==; path=/; Domain=.trello.com","visid_incap_168562=6W/9IkfeQyinI7gdYrH7A338kFQAAAAAQUIPAAAAAAC59TB9owaJKiR81wIPOJw4; expires=Thu, 15 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418787966649"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["36"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 03:46:06 GMT"],"X-Iinfo":["9-73492284-73351768 PNNY RT(1418787965575 45) q(0 0 0 -1) r(0 0) U10000"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOiJhZGRUb09yZ2FuaXphdGlvbkJvYXJkIn0K\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 03:46:09 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/board?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=3d273d677d6becaed96721cb25c08bd42dbcb15d4e08047bccb9e85b4e208d32; Path=/; Expires=Sat, 20 Dec 2014 03:47:24 GMT; Secure","incap_ses_220_168562=t1izSkeBjzfHSucYNZkNA8v8kFQAAAAAhwZZHK1pKyc1SAfPxiTNdA==; path=/; Domain=.trello.com","visid_incap_168562=N3lSKlYdTcKR+P9rPLik2Mv8kFQAAAAAQUIPAAAAAABANwgSyGxq0Bd8AjJgA8/o; expires=Thu, 15 Dec 2016 12:28:11 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418788044449"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Etag":["\"-930428495\""],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 03:47:24 GMT"],"Transfer-Encoding":["chunked"],"X-Iinfo":["5-12771859-12765964 PNNY RT(1418788043333 54) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OGE2NzU1ODFkMWQ2NjljOWU4MTg0ZSIsIm5hbWUiOiJUZXN0\nIEJvYXJkIiwiZGVzYyI6IiIsImRlc2NEYXRhIjpudWxsLCJjbG9zZWQiOmZh\nbHNlLCJpZE9yZ2FuaXphdGlvbiI6IjU0OGUzMGU5NjgzZTE5MjNmNjc2YmEy\nMCIsImludml0ZWQiOmZhbHNlLCJwaW5uZWQiOmZhbHNlLCJzdGFycmVkIjp0\ncnVlLCJ1cmwiOiJodHRwczovL3RyZWxsby5jb20vYi9zd2V6UTlYUy90ZXN0\nLWJvYXJkIiwicHJlZnMiOnsicGVybWlzc2lvbkxldmVsIjoicHVibGljIiwi\ndm90aW5nIjoiZGlzYWJsZWQiLCJjb21tZW50cyI6Im1lbWJlcnMiLCJpbnZp\ndGF0aW9ucyI6Im1lbWJlcnMiLCJzZWxmSm9pbiI6ZmFsc2UsImNhcmRDb3Zl\ncnMiOnRydWUsImNhcmRBZ2luZyI6InJlZ3VsYXIiLCJjYWxlbmRhckZlZWRF\nbmFibGVkIjpmYWxzZSwiYmFja2dyb3VuZCI6ImdyZWVuIiwiYmFja2dyb3Vu\nZENvbG9yIjoiIzFFOUY0OSIsImJhY2tncm91bmRJbWFnZSI6bnVsbCwiYmFj\na2dyb3VuZEltYWdlU2NhbGVkIjpudWxsLCJiYWNrZ3JvdW5kVGlsZSI6ZmFs\nc2UsImJhY2tncm91bmRCcmlnaHRuZXNzIjoidW5rbm93biIsImNhbkJlUHVi\nbGljIjp0cnVlLCJjYW5CZU9yZyI6dHJ1ZSwiY2FuQmVQcml2YXRlIjp0cnVl\nLCJjYW5JbnZpdGUiOnRydWV9LCJpbnZpdGF0aW9ucyI6W10sIm1lbWJlcnNo\naXBzIjpbeyJpZCI6IjU0OGE2NzU1ODFkMWQ2NjljOWU4MTg0ZiIsImlkTWVt\nYmVyIjoiNTQ4YTY2OTZiM2I5OTE4YmViMTQ0YjA3IiwibWVtYmVyVHlwZSI6\nImFkbWluIiwidW5jb25maXJtZWQiOmZhbHNlLCJkZWFjdGl2YXRlZCI6ZmFs\nc2V9LHsiaWQiOiI1NDhhNjc2ZWU3Y2MzNzlkZWJiOGQ5YzYiLCJpZE1lbWJl\nciI6IjRmMDc5YWRjNzM2NjhiMjQ0YjFjMDk5YSIsIm1lbWJlclR5cGUiOiJu\nb3JtYWwiLCJ1bmNvbmZpcm1lZCI6ZmFsc2UsImRlYWN0aXZhdGVkIjpmYWxz\nZX1dLCJzaG9ydExpbmsiOiJzd2V6UTlYUyIsInN1YnNjcmliZWQiOmZhbHNl\nLCJsYWJlbE5hbWVzIjp7ImdyZWVuIjoiTGFiZWwgMSIsInllbGxvdyI6Ikxh\nYmVsIDIiLCJvcmFuZ2UiOiJMYWJlbCAzIiwicmVkIjoiTGFiZWwgNCIsInB1\ncnBsZSI6IkxhYmVsIDUiLCJibHVlIjoiTGFiZWwgNiIsInNreSI6IiIsImxp\nbWUiOiIiLCJwaW5rIjoiIiwiYmxhY2siOiIifSwicG93ZXJVcHMiOltdLCJk\nYXRlTGFzdEFjdGl2aXR5IjoiMjAxNC0xMi0xNlQxNDowMzowOS4wMjRaIiwi\nZGF0ZUxhc3RWaWV3IjoiMjAxNC0xMi0xN1QwMzo0NjoyNi4yMTZaIiwic2hv\ncnRVcmwiOiJodHRwczovL3RyZWxsby5jb20vYi9zd2V6UTlYUyJ9\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 03:47:27 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/entities?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=829be8472614423c121a9cd9255c176bf48493b2c04ee04359de7c0d7e88bdfb; Path=/; Expires=Sat, 20 Dec 2014 03:49:04 GMT; Secure","incap_ses_220_168562=AYt4XYq9WgJhrecYNZkNAzD9kFQAAAAAscZMmVrcnYCk3mASStrXaQ==; path=/; Domain=.trello.com","visid_incap_168562=46d52Y5vScK4xIFVjHleezD9kFQAAAAAQUIPAAAAAACaFN3yqSbZXZ0x8urmo3YG; expires=Thu, 15 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418788145000"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["319"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 03:49:05 GMT"],"X-Iinfo":["7-32069398-32054462 PNNY RT(1418788143913 50) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"W3sidHlwZSI6Im1lbWJlciIsImlkIjoiNTQ4YTY2OTZiM2I5OTE4YmViMTQ0\nYjA3IiwidXNlcm5hbWUiOiJ0YWNva2l0IiwidGV4dCI6IlRhY28gS2l0In0s\neyJ0eXBlIjoidGV4dCIsInRleHQiOiJhZGRlZCJ9LHsidHlwZSI6ImJvYXJk\nIiwiaWQiOiI1NDhhNjc1NTgxZDFkNjY5YzllODE4NGUiLCJ0ZXh0IjoiVGVz\ndCBCb2FyZCIsInNob3J0TGluayI6InN3ZXpROVhTIn0seyJ0eXBlIjoidGV4\ndCIsInRleHQiOiJ0byJ9LHsidHlwZSI6Im9yZ2FuaXphdGlvbiIsImlkIjoi\nNTQ4ZTMwZTk2ODNlMTkyM2Y2NzZiYTIwIiwidGV4dCI6IlRlYW0gVGFjb2tp\ndCJ9XQ==\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 03:49:07 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/actions/548e3153ea7ca8f9cd3cb77b/memberships?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":404,"message":"Not Found"},"headers":{"Cache-Control":["no-store, no-cache"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.268.2"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=12dfdfc63265f31acd91daba2d836e5cbb28688da4a29e92d1b3beb650415f8c; Path=/; Expires=Sat, 20 Dec 2014 03:47:24 GMT; Secure","incap_ses_220_168562=JS+qTaKTZiOTSucYNZkNA8v8kFQAAAAA/nhlLS1ERrpsFoK2TKx16A==; path=/; Domain=.trello.com","visid_incap_168562=wjPHkkzpSxWNTGapYm/gNsv8kFQAAAAAQUIPAAAAAADyduhl1rbfoeyxc1z83Q51; expires=Thu, 15 Dec 2016 12:27:58 GMT; path=/; Domain=.trello.com"],"Content-Type":["text/plain"],"Content-Length":["166"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 03:47:24 GMT"],"X-Iinfo":["8-49701494-49699342 PNNY RT(1418788043197 56) q(0 0 0 -1) r(0 0) U11"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"Q2Fubm90IEdFVCAvMS9hY3Rpb25zLzU0OGUzMTUzZWE3Y2E4ZjljZDNjYjc3\nYi9tZW1iZXJzaGlwcz9rZXk9PFRSRUxMT19BUFBfS0VZPiZ0b2tlbj08VFJF\nTExPX0FQUF9UT0tFTj4=\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 03:47:27 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"put","uri":"https://api.trello.com/1/actions/549102431b607566bafc93a9?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"UTF-8","base64_string":"dGV4dD0lNDB0YWNva2l0K1RoYW5rcytmb3IrdGhlK2ludml0ZSUyQytidWQ=\n"},"headers":{"User-Agent":["TacoKit 0.0.1"],"Content-Type":["application/x-www-form-urlencoded"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.269.0"],"X-Trello-Environment":["Production"],"Set-Cookie":["dsc=54698d9815b5f4ebeac69c61c70895b20fcc8e4c656466962669dfa3d778fd6a; Path=/; Expires=Sat, 20 Dec 2014 23:35:12 GMT; Secure","incap_ses_156_168562=m4Kndr35gAx+AyZocjoqAi8TklQAAAAAWqVQM0+MzBJxgY93pmqVZg==; path=/; Domain=.trello.com","visid_incap_168562=+eRzWbRrSzeKfytIgmkkWS8TklQAAAAAQUIPAAAAAAA2sLTsDvRbfV4uYulVTl72; expires=Fri, 16 Dec 2016 12:25:16 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418859312603"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["654"],"Vary":["Accept-Encoding"],"Date":["Wed, 17 Dec 2014 23:35:12 GMT"],"X-Iinfo":["7-46857832-46723435 PNNY RT(1418859311683 41) q(0 0 0 -1) r(2 2) U6"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6IjU0OTEwMjQzMWI2MDc1NjZiYWZjOTNhOSIsImlkTWVtYmVyQ3Jl\nYXRvciI6IjRmMDc5YWRjNzM2NjhiMjQ0YjFjMDk5YSIsImRhdGEiOnsiZGF0\nZUxhc3RFZGl0ZWQiOiIyMDE0LTEyLTE3VDIzOjM1OjEyLjU1NFoiLCJ0ZXh0\nRGF0YSI6eyJlbW9qaSI6e319LCJ0ZXh0IjoiQHRhY29raXQgVGhhbmtzIGZv\nciB0aGUgaW52aXRlLCBidWQiLCJjYXJkIjp7ImlkIjoiNTQ4ZGQ5NWM4Y2Ey\nNWFjOWQwZDljZTcxIiwibmFtZSI6IkNhcmQgMSIsImlkU2hvcnQiOjEsInNo\nb3J0TGluayI6Ims3R0hKajdRIn0sImJvYXJkIjp7ImlkIjoiNTQ4YTY3NTU4\nMWQxZDY2OWM5ZTgxODRlIiwibmFtZSI6IlRlc3QgQm9hcmQiLCJzaG9ydExp\nbmsiOiJzd2V6UTlYUyJ9LCJsaXN0Ijp7ImlkIjoiNTQ4ZGQ5NDhmZmQzNzQy\nMjE5MjZiNGM4IiwibmFtZSI6Ikxpc3QgMSJ9fSwidHlwZSI6ImNvbW1lbnRD\nYXJkIiwiZGF0ZSI6IjIwMTQtMTItMTdUMDQ6MTA6NDMuODI4WiIsIm1lbWJl\nckNyZWF0b3IiOnsiaWQiOiI0ZjA3OWFkYzczNjY4YjI0NGIxYzA5OWEiLCJh\ndmF0YXJIYXNoIjoiNzA2ZTk1ZTQyN2Y5MTY3MGJmMjFlZWU2YWZjY2VlOTAi\nLCJmdWxsTmFtZSI6IlJvc3MgS2FmZmVuYmVyZ2VyIiwiaW5pdGlhbHMiOiJS\nSyIsInVzZXJuYW1lIjoicm9zc3RhIn19\n"},"http_version":null},"recorded_at":"Wed, 17 Dec 2014 23:35:23 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/boards/swezQ9XS/labelNames?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.267.1"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=SIG\u0001aEip; path=/; Max-Age=900","___utmvbDOussFI=RZh XekOPalI: Vtp; path=/; Max-Age=900","___utmvmDOussFI=NHnDfEraTaQ; path=/; Max-Age=900","dsc=8f6b959fc358f48b6392f59f977eb6a2fb3504bc36a3a0f798891a2c77cdc299; Path=/; Expires=Fri, 19 Dec 2014 13:39:38 GMT; Secure","incap_ses_220_168562=d0beAEjkhTYpFuwXNZkNAxk2kFQAAAAAZhjhFebWQ6EsBBvMyBnZCw==; path=/; Domain=.trello.com","visid_incap_168562=UiXauk1hTN6fWfg36wLp+Bk2kFQAAAAAQUIPAAAAAAApKLJepspVNQ4FSabCulLS; expires=Thu, 15 Dec 2016 12:28:10 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418737178677"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["149"],"Vary":["Accept-Encoding"],"Date":["Tue, 16 Dec 2014 13:39:38 GMT"],"X-Iinfo":["9-64138675-64122801 PNNY RT(1418737177583 66) q(0 0 0 -1) r(0 0)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJncmVlbiI6IkxhYmVsIDEiLCJ5ZWxsb3ciOiJMYWJlbCAyIiwib3Jhbmdl\nIjoiTGFiZWwgMyIsInJlZCI6IkxhYmVsIDQiLCJwdXJwbGUiOiJMYWJlbCA1\nIiwiYmx1ZSI6IkxhYmVsIDYiLCJza3kiOiIiLCJsaW1lIjoiIiwicGluayI6\nIiIsImJsYWNrIjoiIn0=\n"},"http_version":null},"recorded_at":"Tue, 16 Dec 2014 13:39:38 GMT"}],"recorded_with":"VCR 2.9.3"}
@@ -1 +0,0 @@
1
- {"http_interactions":[{"request":{"method":"get","uri":"https://api.trello.com/1/boards/swezQ9XS/name?key=<TRELLO_APP_KEY>&token=<TRELLO_APP_TOKEN>","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["TacoKit 0.0.1"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Cache-Control":["max-age=0, must-revalidate, no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Strict-Transport-Security":["max-age=15768000"],"X-Xss-Protection":["1; mode=block"],"X-Frame-Options":["DENY"],"X-Trello-Version":["1.267.1"],"X-Trello-Environment":["Production"],"Set-Cookie":["___utmvaDOussFI=dae\u0001pgrR; path=/; Max-Age=900","___utmvbDOussFI=AZg XxuOEalt: wtb; path=/; Max-Age=900","___utmvmDOussFI=MAjIrDWilko; path=/; Max-Age=900","dsc=145bf2157a6e128d9fb908d8996259cd75329a2e69cdfccefe49a6c863e790e0; Path=/; Expires=Fri, 19 Dec 2014 13:39:38 GMT; Secure","incap_ses_220_168562=rSQePj7CL3m2FewXNZkNAxk2kFQAAAAAdDZ1IsdUgokfMHbPhyGqeg==; path=/; Domain=.trello.com","visid_incap_168562=jJ3loa9wTkKEJckPeh8ygRk2kFQAAAAAQUIPAAAAAAAujkvIgBapJbKPGkzkdQtW; expires=Thu, 15 Dec 2016 12:27:58 GMT; path=/; Domain=.trello.com"],"X-Server-Time":["1418737178317"],"Expires":["Thu, 01 Jan 1970 00:00:00"],"Content-Type":["application/json"],"Access-Control-Allow-Origin":["*"],"Access-Control-Allow-Methods":["GET, PUT, POST, DELETE"],"Content-Length":["24"],"Vary":["Accept-Encoding"],"Date":["Tue, 16 Dec 2014 13:39:38 GMT"],"X-Iinfo":["8-42910008-42874926 PNNY RT(1418737177230 54) q(0 0 0 -1) r(1 1)"],"X-Cdn":["Incapsula"]},"body":{"encoding":"UTF-8","base64_string":"eyJfdmFsdWUiOiJUZXN0IEJvYXJkIn0K\n"},"http_version":null},"recorded_at":"Tue, 16 Dec 2014 13:39:38 GMT"}],"recorded_with":"VCR 2.9.3"}