ruby-trello 2.2.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -10
  3. data/lib/trello/action.rb +31 -23
  4. data/lib/trello/association_builder/has_many.rb +17 -0
  5. data/lib/trello/association_builder/has_one.rb +16 -0
  6. data/lib/trello/association_fetcher/has_many/fetch.rb +47 -0
  7. data/lib/trello/association_fetcher/has_many/params.rb +56 -0
  8. data/lib/trello/association_fetcher/has_many.rb +26 -0
  9. data/lib/trello/association_fetcher/has_one/fetch.rb +49 -0
  10. data/lib/trello/association_fetcher/has_one/params.rb +36 -0
  11. data/lib/trello/association_fetcher/has_one.rb +25 -0
  12. data/lib/trello/association_infer_tool.rb +13 -0
  13. data/lib/trello/association_proxy.rb +1 -1
  14. data/lib/trello/attachment.rb +40 -27
  15. data/lib/trello/basic_data.rb +103 -49
  16. data/lib/trello/board.rb +88 -102
  17. data/lib/trello/card.rb +49 -198
  18. data/lib/trello/checklist.rb +17 -71
  19. data/lib/trello/comment.rb +39 -26
  20. data/lib/trello/cover_image.rb +20 -0
  21. data/lib/trello/custom_field.rb +31 -67
  22. data/lib/trello/custom_field_item.rb +37 -39
  23. data/lib/trello/custom_field_option.rb +40 -13
  24. data/lib/trello/item.rb +27 -16
  25. data/lib/trello/item_state.rb +7 -15
  26. data/lib/trello/json_utils.rb +1 -1
  27. data/lib/trello/label.rb +15 -85
  28. data/lib/trello/label_name.rb +22 -25
  29. data/lib/trello/list.rb +31 -44
  30. data/lib/trello/member.rb +77 -32
  31. data/lib/trello/notification.rb +27 -20
  32. data/lib/trello/organization.rb +53 -25
  33. data/lib/trello/plugin_datum.rb +11 -16
  34. data/lib/trello/schema/attribute/base.rb +79 -0
  35. data/lib/trello/schema/attribute/board_pref.rb +45 -0
  36. data/lib/trello/schema/attribute/custom_field_display.rb +45 -0
  37. data/lib/trello/schema/attribute/default.rb +45 -0
  38. data/lib/trello/schema/attribute_builder.rb +42 -0
  39. data/lib/trello/schema/attribute_registration.rb +47 -0
  40. data/lib/trello/schema/serializer/default.rb +17 -0
  41. data/lib/trello/schema/serializer/labels.rb +23 -0
  42. data/lib/trello/schema/serializer/time.rb +25 -0
  43. data/lib/trello/schema/serializer/webhooks.rb +25 -0
  44. data/lib/trello/schema.rb +31 -0
  45. data/lib/trello/token.rb +15 -12
  46. data/lib/trello/webhook.rb +18 -71
  47. data/lib/trello.rb +57 -39
  48. data/spec/action_spec.rb +2 -3
  49. data/spec/board_spec.rb +43 -103
  50. data/spec/card_spec.rb +143 -66
  51. data/spec/cassettes/action_find_with_id_and_get_all_fields.yml +104 -0
  52. data/spec/cassettes/board_find_with_id_and_get_all_fields.yml +96 -0
  53. data/spec/cassettes/board_find_with_id_and_get_specific_fields.yml +96 -0
  54. data/spec/cassettes/can_add_a_file_from_url_on_a_card.yml +189 -0
  55. data/spec/cassettes/can_add_a_file_on_a_card.yml +200 -0
  56. data/spec/cassettes/can_add_a_member_to_a_board.yml +191 -0
  57. data/spec/cassettes/can_add_a_member_to_a_card.yml +190 -0
  58. data/spec/cassettes/can_add_label_on_a_card.yml +281 -0
  59. data/spec/cassettes/can_arvhice_all_cards_of_list.yml +397 -0
  60. data/spec/cassettes/can_close_bong_a_card.yml +189 -0
  61. data/spec/cassettes/can_get_actions.yml +196 -0
  62. data/spec/cassettes/can_get_actions_of_board.yml +188 -0
  63. data/spec/cassettes/can_get_actions_of_list.yml +202 -0
  64. data/spec/cassettes/can_get_actions_of_members.yml +199 -0
  65. data/spec/cassettes/can_get_actions_of_organization.yml +201 -0
  66. data/spec/cassettes/can_get_attachments.yml +187 -0
  67. data/spec/cassettes/can_get_boards_of_custom_field.yml +198 -0
  68. data/spec/cassettes/can_get_boards_of_label.yml +197 -0
  69. data/spec/cassettes/can_get_boards_of_organization.yml +207 -0
  70. data/spec/cassettes/can_get_cards_of_board.yml +193 -0
  71. data/spec/cassettes/can_get_cards_of_list.yml +201 -0
  72. data/spec/cassettes/can_get_cards_of_member.yml +204 -0
  73. data/spec/cassettes/can_get_checklists_of_board.yml +187 -0
  74. data/spec/cassettes/can_get_comments.yml +193 -0
  75. data/spec/cassettes/can_get_comments_board.yml +109 -0
  76. data/spec/cassettes/can_get_comments_card.yml +111 -0
  77. data/spec/cassettes/can_get_comments_list.yml +109 -0
  78. data/spec/cassettes/can_get_custom_field_options_of_custom_field.yml +197 -0
  79. data/spec/cassettes/can_get_custom_fields_of_board.yml +187 -0
  80. data/spec/cassettes/can_get_label_names_of_board.yml +187 -0
  81. data/spec/cassettes/can_get_labels_of_board.yml +187 -0
  82. data/spec/cassettes/can_get_lists_of_board.yml +187 -0
  83. data/spec/cassettes/can_get_members_of_board.yml +188 -0
  84. data/spec/cassettes/can_get_members_of_organization.yml +200 -0
  85. data/spec/cassettes/can_get_notifications_of_member.yml +199 -0
  86. data/spec/cassettes/can_get_organization_of_board.yml +189 -0
  87. data/spec/cassettes/can_get_organizations_of_member.yml +203 -0
  88. data/spec/cassettes/can_get_plugin_data_of_board.yml +187 -0
  89. data/spec/cassettes/can_move_a_card_to_another_board_with_specific_list.yml +373 -0
  90. data/spec/cassettes/can_move_a_card_to_another_board_without_specific_list.yml +281 -0
  91. data/spec/cassettes/can_move_a_card_to_another_list.yml +281 -0
  92. data/spec/cassettes/can_move_all_cards_to_another_list.yml +886 -0
  93. data/spec/cassettes/can_remove_a_member_from_a_card.yml +185 -0
  94. data/spec/cassettes/can_remove_an_attachment_on_a_card.yml +277 -0
  95. data/spec/cassettes/can_remove_an_upvote_on_a_card.yml +465 -0
  96. data/spec/cassettes/can_remove_label_on_a_card.yml +279 -0
  97. data/spec/cassettes/can_success_add_comment_to_a_card.yml +196 -0
  98. data/spec/cassettes/can_success_copy_checklist_to_a_card.yml +281 -0
  99. data/spec/cassettes/can_success_copy_checklist_to_a_card_without_name_pos.yml +281 -0
  100. data/spec/cassettes/can_success_create_a_board.yml +98 -0
  101. data/spec/cassettes/can_success_create_a_board_with_full_parameters.yml +97 -0
  102. data/spec/cassettes/can_success_create_a_board_without_clone_from_other.yml +98 -0
  103. data/spec/cassettes/can_success_create_a_card.yml +99 -0
  104. data/spec/cassettes/can_success_create_a_card_when_due_is_datetime.yml +98 -0
  105. data/spec/cassettes/can_success_create_a_card_when_due_is_time.yml +98 -0
  106. data/spec/cassettes/can_success_create_a_checklist.yml +102 -0
  107. data/spec/cassettes/can_success_create_a_custom_field.yml +102 -0
  108. data/spec/cassettes/can_success_create_a_custom_field_option.yml +102 -0
  109. data/spec/cassettes/can_success_create_a_label.yml +102 -0
  110. data/spec/cassettes/can_success_create_a_list.yml +102 -0
  111. data/spec/cassettes/can_success_create_a_list_with_full_parameters.yml +102 -0
  112. data/spec/cassettes/can_success_create_a_organization.yml +104 -0
  113. data/spec/cassettes/can_success_create_a_webhook.yml +102 -0
  114. data/spec/cassettes/can_success_create_new_checklist_to_a_card.yml +189 -0
  115. data/spec/cassettes/can_success_delete_a_custom_field_option.yml +389 -0
  116. data/spec/cassettes/can_success_delete_card.yml +185 -0
  117. data/spec/cassettes/can_success_delete_checklist.yml +284 -0
  118. data/spec/cassettes/can_success_get_card_of_board_by_card_id.yml +188 -0
  119. data/spec/cassettes/can_success_remove_member_from_board.yml +186 -0
  120. data/spec/cassettes/can_success_return_all_boards_of_current_user.yml +195 -0
  121. data/spec/cassettes/can_success_upate_a_board.yml +191 -0
  122. data/spec/cassettes/can_success_upate_a_card.yml +189 -0
  123. data/spec/cassettes/can_success_upate_a_list.yml +296 -0
  124. data/spec/cassettes/can_success_update_bong_a_board.yml +283 -0
  125. data/spec/cassettes/can_success_update_bong_a_board_with_specific_fields.yml +284 -0
  126. data/spec/cassettes/can_success_update_bong_a_card.yml +191 -0
  127. data/spec/cassettes/can_success_update_bong_a_checklist_with_specific_fields.yml +296 -0
  128. data/spec/cassettes/can_success_update_bong_a_custom_field.yml +200 -0
  129. data/spec/cassettes/can_success_update_bong_a_label.yml +200 -0
  130. data/spec/cassettes/can_success_update_bong_a_list.yml +199 -0
  131. data/spec/cassettes/can_success_update_bong_a_list_with_specific_fields.yml +296 -0
  132. data/spec/cassettes/can_success_update_bong_a_organization.yml +203 -0
  133. data/spec/cassettes/can_success_update_bong_a_webhook.yml +296 -0
  134. data/spec/cassettes/can_upvote_on_a_card.yml +469 -0
  135. data/spec/cassettes/card_find_with_id_and_get_all_fields.yml +95 -0
  136. data/spec/cassettes/card_find_with_id_and_get_specific_fields.yml +96 -0
  137. data/spec/cassettes/checklist_can_add_an_item.yml +296 -0
  138. data/spec/cassettes/checklist_can_update_the_item_state.yml +296 -0
  139. data/spec/cassettes/checklist_find_with_id_and_get_all_fields.yml +100 -0
  140. data/spec/cassettes/comment_delete.yml +331 -0
  141. data/spec/cassettes/comment_find_with_id.yml +116 -0
  142. data/spec/cassettes/custom_field_find_with_id_and_get_all_fields.yml +100 -0
  143. data/spec/cassettes/custom_field_find_with_id_and_get_specific_fields.yml +100 -0
  144. data/spec/cassettes/custom_field_item_save_1.yml +97 -0
  145. data/spec/cassettes/custom_field_item_save_2.yml +281 -0
  146. data/spec/cassettes/custom_field_option_find_with_id.yml +100 -0
  147. data/spec/cassettes/get_board_of_card.yml +187 -0
  148. data/spec/cassettes/get_board_of_list.yml +197 -0
  149. data/spec/cassettes/get_boards_of_member.yml +207 -0
  150. data/spec/cassettes/get_check_item_states_of_card.yml +188 -0
  151. data/spec/cassettes/get_checklists_of_card.yml +187 -0
  152. data/spec/cassettes/get_cover_image_of_card.yml +187 -0
  153. data/spec/cassettes/get_custom_field_items_of_card.yml +187 -0
  154. data/spec/cassettes/get_list_of_card.yml +188 -0
  155. data/spec/cassettes/get_lists.yml +187 -0
  156. data/spec/cassettes/get_members_of_card.yml +189 -0
  157. data/spec/cassettes/get_plugin_data_of_card.yml +187 -0
  158. data/spec/cassettes/get_voters_of_card.yml +188 -0
  159. data/spec/cassettes/label_delete.yml +285 -0
  160. data/spec/cassettes/label_find_with_id.yml +100 -0
  161. data/spec/cassettes/list_find_with_id_and_get_all_fields.yml +100 -0
  162. data/spec/cassettes/list_find_with_id_and_get_specific_fields.yml +100 -0
  163. data/spec/cassettes/member_find_with_id_and_get_all_fields.yml +101 -0
  164. data/spec/cassettes/member_find_with_id_and_get_specific_fields.yml +100 -0
  165. data/spec/cassettes/notification_find_with_id.yml +103 -0
  166. data/spec/cassettes/organization_find_with_id_and_get_all_fields.yml +102 -0
  167. data/spec/cassettes/organization_find_with_id_and_get_specific_fields.yml +100 -0
  168. data/spec/cassettes/remove_upvote_on_a_card_when_have_not_voted.yml +366 -0
  169. data/spec/cassettes/revote_on_a_card.yml +464 -0
  170. data/spec/cassettes/token_find_with_token_string.yml +100 -0
  171. data/spec/cassettes/webhook_delete.yml +286 -0
  172. data/spec/cassettes/webhook_find_with_id.yml +100 -0
  173. data/spec/checklist_spec.rb +27 -43
  174. data/spec/custom_field_item_spec.rb +74 -0
  175. data/spec/custom_field_option_spec.rb +2 -2
  176. data/spec/custom_field_spec.rb +98 -10
  177. data/spec/integration/action/find_spec.rb +23 -0
  178. data/spec/integration/basic_data/many_spec.rb +127 -0
  179. data/spec/integration/basic_data/one_spec.rb +84 -0
  180. data/spec/integration/basic_data/schema_spec.rb +156 -0
  181. data/spec/integration/board/add_member_spec.rb +21 -0
  182. data/spec/integration/board/all_spec.rb +20 -0
  183. data/spec/integration/board/associations/actions_spec.rb +18 -0
  184. data/spec/integration/board/associations/cards_spec.rb +18 -0
  185. data/spec/integration/board/associations/checklists_spec.rb +18 -0
  186. data/spec/integration/board/associations/custom_fields_spec.rb +18 -0
  187. data/spec/integration/board/associations/label_names_spec.rb +17 -0
  188. data/spec/integration/board/associations/labels_spec.rb +18 -0
  189. data/spec/integration/board/associations/lists_spec.rb +18 -0
  190. data/spec/integration/board/associations/members_spec.rb +18 -0
  191. data/spec/integration/board/associations/organization_spec.rb +19 -0
  192. data/spec/integration/board/associations/plugin_data_spec.rb +18 -0
  193. data/spec/integration/board/create_spec.rb +95 -0
  194. data/spec/integration/board/find_card_spec.rb +18 -0
  195. data/spec/integration/board/find_spec.rb +42 -0
  196. data/spec/integration/board/remove_member_spec.rb +21 -0
  197. data/spec/integration/board/save_spec.rb +37 -0
  198. data/spec/integration/board/update!_spec.rb +62 -0
  199. data/spec/integration/board_lists_spec.rb +21 -0
  200. data/spec/integration/card/add_and_remove_attachment_spec.rb +45 -0
  201. data/spec/integration/card/add_and_remove_label_spec.rb +35 -0
  202. data/spec/integration/card/add_checklist_spec.rb +32 -0
  203. data/spec/integration/card/add_comment_spec.rb +19 -0
  204. data/spec/integration/card/add_memeber_spec.rb +19 -0
  205. data/spec/integration/card/associations/actions_spec.rb +17 -0
  206. data/spec/integration/card/associations/attachments_spec.rb +18 -0
  207. data/spec/integration/card/associations/board_spec.rb +17 -0
  208. data/spec/integration/card/associations/check_item_states_spec.rb +17 -0
  209. data/spec/integration/card/associations/checklists_spec.rb +18 -0
  210. data/spec/integration/card/associations/comments_spec.rb +19 -0
  211. data/spec/integration/card/associations/cover_image_spec.rb +18 -0
  212. data/spec/integration/card/associations/custom_field_items_spec.rb +18 -0
  213. data/spec/integration/card/associations/list_spec.rb +16 -0
  214. data/spec/integration/card/associations/members_spec.rb +18 -0
  215. data/spec/integration/card/associations/plugin_data_spec.rb +18 -0
  216. data/spec/integration/card/associations/voters_spec.rb +17 -0
  217. data/spec/integration/card/close!_spec.rb +16 -0
  218. data/spec/integration/card/create_new_check_list_spec.rb +19 -0
  219. data/spec/integration/card/create_spec.rb +84 -0
  220. data/spec/integration/card/delete_spec.rb +16 -0
  221. data/spec/integration/card/find_spec.rb +67 -0
  222. data/spec/integration/card/move_to_board_spec.rb +36 -0
  223. data/spec/integration/card/move_to_list_spec.rb +20 -0
  224. data/spec/integration/card/remove_member_spec.rb +19 -0
  225. data/spec/integration/card/save_spec.rb +61 -0
  226. data/spec/integration/card/update!_spec.rb +53 -0
  227. data/spec/integration/card/vote_spec.rb +50 -0
  228. data/spec/integration/checklist/add_item_spec.rb +20 -0
  229. data/spec/integration/checklist/create_spec.rb +23 -0
  230. data/spec/integration/checklist/delete_spec.rb +17 -0
  231. data/spec/integration/checklist/find_spec.rb +22 -0
  232. data/spec/integration/checklist/update!_spec.rb +21 -0
  233. data/spec/integration/checklist/update_item_state_spec.rb +20 -0
  234. data/spec/integration/comment/association/board_spec.rb +17 -0
  235. data/spec/integration/comment/association/card_spec.rb +17 -0
  236. data/spec/integration/comment/association/list_spec.rb +17 -0
  237. data/spec/integration/comment/delete_spec.rb +20 -0
  238. data/spec/integration/comment/find_spec.rb +17 -0
  239. data/spec/integration/custom_field/association/board_spec.rb +18 -0
  240. data/spec/integration/custom_field/association/custom_field_options_spec.rb +18 -0
  241. data/spec/integration/custom_field/create_spec.rb +29 -0
  242. data/spec/integration/custom_field/find_spec.rb +41 -0
  243. data/spec/integration/custom_field/update!_spec.rb +25 -0
  244. data/spec/integration/custom_field_item_spec.rb +47 -0
  245. data/spec/integration/custom_field_option/create_spec.rb +23 -0
  246. data/spec/integration/custom_field_option/delete_spec.rb +19 -0
  247. data/spec/integration/custom_field_option/find_spec.rb +21 -0
  248. data/spec/integration/label/association/board_spec.rb +18 -0
  249. data/spec/integration/label/create_spec.rb +23 -0
  250. data/spec/integration/label/delete_spec.rb +21 -0
  251. data/spec/integration/label/find_spec.rb +20 -0
  252. data/spec/integration/label/update!_spec.rb +25 -0
  253. data/spec/integration/list/archive_all_cards_spec.rb +20 -0
  254. data/spec/integration/list/associations/actions_spec.rb +18 -0
  255. data/spec/integration/list/associations/board_spec.rb +18 -0
  256. data/spec/integration/list/associations/cards_spec.rb +18 -0
  257. data/spec/integration/list/create_spec.rb +44 -0
  258. data/spec/integration/list/find_spec.rb +37 -0
  259. data/spec/integration/list/move_all_cards_spec.rb +31 -0
  260. data/spec/integration/list/save_spec.rb +40 -0
  261. data/spec/integration/list/update!_spec.rb +43 -0
  262. data/spec/integration/member/associations/actions_spec.rb +17 -0
  263. data/spec/integration/member/associations/boards_spec.rb +18 -0
  264. data/spec/integration/member/associations/cards_spec.rb +18 -0
  265. data/spec/integration/member/associations/notifications_spec.rb +18 -0
  266. data/spec/integration/member/associations/organizations_spec.rb +18 -0
  267. data/spec/integration/member/find_spec.rb +39 -0
  268. data/spec/integration/member/update!_spec.rb +18 -0
  269. data/spec/integration/notification/find_spec.rb +27 -0
  270. data/spec/integration/organization/associations/actions_spec.rb +18 -0
  271. data/spec/integration/organization/associations/boards_spec.rb +18 -0
  272. data/spec/integration/organization/associations/members_spec.rb +18 -0
  273. data/spec/integration/organization/create_spec.rb +23 -0
  274. data/spec/integration/organization/find_spec.rb +37 -0
  275. data/spec/integration/organization/update!_spec.rb +28 -0
  276. data/spec/integration/token/find_spec.rb +24 -0
  277. data/spec/integration/webhook/create_spec.rb +27 -0
  278. data/spec/integration/webhook/delete_spec.rb +21 -0
  279. data/spec/integration/webhook/find_spec.rb +22 -0
  280. data/spec/integration/webhook/update!_spec.rb +24 -0
  281. data/spec/item_spec.rb +2 -2
  282. data/spec/label_spec.rb +105 -28
  283. data/spec/list_spec.rb +32 -14
  284. data/spec/notification_spec.rb +3 -3
  285. data/spec/organization_spec.rb +6 -5
  286. data/spec/spec_helper.rb +70 -37
  287. data/spec/token_spec.rb +10 -11
  288. data/spec/unit/trello/association_builder/has_many_spec.rb +36 -0
  289. data/spec/unit/trello/association_builder/has_one_spec.rb +36 -0
  290. data/spec/unit/trello/association_fetcher/has_many/fetch_spec.rb +38 -0
  291. data/spec/unit/trello/association_fetcher/has_many/params_spec.rb +107 -0
  292. data/spec/unit/trello/association_fetcher/has_many_spec.rb +50 -0
  293. data/spec/unit/trello/association_fetcher/has_one/fetch_spec.rb +51 -0
  294. data/spec/unit/trello/association_fetcher/has_one/params_spec.rb +81 -0
  295. data/spec/unit/trello/association_fetcher/has_one_spec.rb +49 -0
  296. data/spec/unit/trello/association_infer_tool_spec.rb +41 -0
  297. data/spec/unit/trello/basic_data_spec.rb +113 -0
  298. data/spec/unit/trello/board/new_spec.rb +370 -0
  299. data/spec/unit/trello/board/save_spec.rb +49 -0
  300. data/spec/unit/trello/board/update_fields_spec.rb +129 -0
  301. data/spec/unit/trello/board/update_spec.rb +197 -0
  302. data/spec/unit/trello/card_spec.rb +103 -0
  303. data/spec/unit/trello/member/new_spec.rb +62 -0
  304. data/spec/unit/trello/member/update_fields_spec.rb +80 -0
  305. data/spec/unit/trello/schema/attribute/base_spec.rb +349 -0
  306. data/spec/unit/trello/schema/attribute/board_pref_spec.rb +208 -0
  307. data/spec/unit/trello/schema/attribute/default_spec.rb +236 -0
  308. data/spec/unit/trello/schema/attribute_builder_spec.rb +55 -0
  309. data/spec/unit/trello/schema/attribute_registration_spec.rb +59 -0
  310. data/spec/unit/trello/schema/serializer/default_spec.rb +19 -0
  311. data/spec/unit/trello/schema/serializer/time_spec.rb +39 -0
  312. data/spec/unit/trello/schema_spec.rb +25 -0
  313. data/spec/webhook_spec.rb +23 -7
  314. metadata +556 -33
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-trello
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Tregunna
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-15 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 2.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 2.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: oauth
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +91,15 @@ files:
91
91
  - lib/trello.rb
92
92
  - lib/trello/action.rb
93
93
  - lib/trello/association.rb
94
+ - lib/trello/association_builder/has_many.rb
95
+ - lib/trello/association_builder/has_one.rb
96
+ - lib/trello/association_fetcher/has_many.rb
97
+ - lib/trello/association_fetcher/has_many/fetch.rb
98
+ - lib/trello/association_fetcher/has_many/params.rb
99
+ - lib/trello/association_fetcher/has_one.rb
100
+ - lib/trello/association_fetcher/has_one/fetch.rb
101
+ - lib/trello/association_fetcher/has_one/params.rb
102
+ - lib/trello/association_infer_tool.rb
94
103
  - lib/trello/association_proxy.rb
95
104
  - lib/trello/attachment.rb
96
105
  - lib/trello/authorization.rb
@@ -122,6 +131,17 @@ files:
122
131
  - lib/trello/notification.rb
123
132
  - lib/trello/organization.rb
124
133
  - lib/trello/plugin_datum.rb
134
+ - lib/trello/schema.rb
135
+ - lib/trello/schema/attribute/base.rb
136
+ - lib/trello/schema/attribute/board_pref.rb
137
+ - lib/trello/schema/attribute/custom_field_display.rb
138
+ - lib/trello/schema/attribute/default.rb
139
+ - lib/trello/schema/attribute_builder.rb
140
+ - lib/trello/schema/attribute_registration.rb
141
+ - lib/trello/schema/serializer/default.rb
142
+ - lib/trello/schema/serializer/labels.rb
143
+ - lib/trello/schema/serializer/time.rb
144
+ - lib/trello/schema/serializer/webhooks.rb
125
145
  - lib/trello/token.rb
126
146
  - lib/trello/webhook.rb
127
147
  - spec/action_spec.rb
@@ -131,6 +151,128 @@ files:
131
151
  - spec/basic_data_spec.rb
132
152
  - spec/board_spec.rb
133
153
  - spec/card_spec.rb
154
+ - spec/cassettes/action_find_with_id_and_get_all_fields.yml
155
+ - spec/cassettes/board_find_with_id_and_get_all_fields.yml
156
+ - spec/cassettes/board_find_with_id_and_get_specific_fields.yml
157
+ - spec/cassettes/can_add_a_file_from_url_on_a_card.yml
158
+ - spec/cassettes/can_add_a_file_on_a_card.yml
159
+ - spec/cassettes/can_add_a_member_to_a_board.yml
160
+ - spec/cassettes/can_add_a_member_to_a_card.yml
161
+ - spec/cassettes/can_add_label_on_a_card.yml
162
+ - spec/cassettes/can_arvhice_all_cards_of_list.yml
163
+ - spec/cassettes/can_close_bong_a_card.yml
164
+ - spec/cassettes/can_get_actions.yml
165
+ - spec/cassettes/can_get_actions_of_board.yml
166
+ - spec/cassettes/can_get_actions_of_list.yml
167
+ - spec/cassettes/can_get_actions_of_members.yml
168
+ - spec/cassettes/can_get_actions_of_organization.yml
169
+ - spec/cassettes/can_get_attachments.yml
170
+ - spec/cassettes/can_get_boards_of_custom_field.yml
171
+ - spec/cassettes/can_get_boards_of_label.yml
172
+ - spec/cassettes/can_get_boards_of_organization.yml
173
+ - spec/cassettes/can_get_cards_of_board.yml
174
+ - spec/cassettes/can_get_cards_of_list.yml
175
+ - spec/cassettes/can_get_cards_of_member.yml
176
+ - spec/cassettes/can_get_checklists_of_board.yml
177
+ - spec/cassettes/can_get_comments.yml
178
+ - spec/cassettes/can_get_comments_board.yml
179
+ - spec/cassettes/can_get_comments_card.yml
180
+ - spec/cassettes/can_get_comments_list.yml
181
+ - spec/cassettes/can_get_custom_field_options_of_custom_field.yml
182
+ - spec/cassettes/can_get_custom_fields_of_board.yml
183
+ - spec/cassettes/can_get_label_names_of_board.yml
184
+ - spec/cassettes/can_get_labels_of_board.yml
185
+ - spec/cassettes/can_get_lists_of_board.yml
186
+ - spec/cassettes/can_get_members_of_board.yml
187
+ - spec/cassettes/can_get_members_of_organization.yml
188
+ - spec/cassettes/can_get_notifications_of_member.yml
189
+ - spec/cassettes/can_get_organization_of_board.yml
190
+ - spec/cassettes/can_get_organizations_of_member.yml
191
+ - spec/cassettes/can_get_plugin_data_of_board.yml
192
+ - spec/cassettes/can_move_a_card_to_another_board_with_specific_list.yml
193
+ - spec/cassettes/can_move_a_card_to_another_board_without_specific_list.yml
194
+ - spec/cassettes/can_move_a_card_to_another_list.yml
195
+ - spec/cassettes/can_move_all_cards_to_another_list.yml
196
+ - spec/cassettes/can_remove_a_member_from_a_card.yml
197
+ - spec/cassettes/can_remove_an_attachment_on_a_card.yml
198
+ - spec/cassettes/can_remove_an_upvote_on_a_card.yml
199
+ - spec/cassettes/can_remove_label_on_a_card.yml
200
+ - spec/cassettes/can_success_add_comment_to_a_card.yml
201
+ - spec/cassettes/can_success_copy_checklist_to_a_card.yml
202
+ - spec/cassettes/can_success_copy_checklist_to_a_card_without_name_pos.yml
203
+ - spec/cassettes/can_success_create_a_board.yml
204
+ - spec/cassettes/can_success_create_a_board_with_full_parameters.yml
205
+ - spec/cassettes/can_success_create_a_board_without_clone_from_other.yml
206
+ - spec/cassettes/can_success_create_a_card.yml
207
+ - spec/cassettes/can_success_create_a_card_when_due_is_datetime.yml
208
+ - spec/cassettes/can_success_create_a_card_when_due_is_time.yml
209
+ - spec/cassettes/can_success_create_a_checklist.yml
210
+ - spec/cassettes/can_success_create_a_custom_field.yml
211
+ - spec/cassettes/can_success_create_a_custom_field_option.yml
212
+ - spec/cassettes/can_success_create_a_label.yml
213
+ - spec/cassettes/can_success_create_a_list.yml
214
+ - spec/cassettes/can_success_create_a_list_with_full_parameters.yml
215
+ - spec/cassettes/can_success_create_a_organization.yml
216
+ - spec/cassettes/can_success_create_a_webhook.yml
217
+ - spec/cassettes/can_success_create_new_checklist_to_a_card.yml
218
+ - spec/cassettes/can_success_delete_a_custom_field_option.yml
219
+ - spec/cassettes/can_success_delete_card.yml
220
+ - spec/cassettes/can_success_delete_checklist.yml
221
+ - spec/cassettes/can_success_get_card_of_board_by_card_id.yml
222
+ - spec/cassettes/can_success_remove_member_from_board.yml
223
+ - spec/cassettes/can_success_return_all_boards_of_current_user.yml
224
+ - spec/cassettes/can_success_upate_a_board.yml
225
+ - spec/cassettes/can_success_upate_a_card.yml
226
+ - spec/cassettes/can_success_upate_a_list.yml
227
+ - spec/cassettes/can_success_update_bong_a_board.yml
228
+ - spec/cassettes/can_success_update_bong_a_board_with_specific_fields.yml
229
+ - spec/cassettes/can_success_update_bong_a_card.yml
230
+ - spec/cassettes/can_success_update_bong_a_checklist_with_specific_fields.yml
231
+ - spec/cassettes/can_success_update_bong_a_custom_field.yml
232
+ - spec/cassettes/can_success_update_bong_a_label.yml
233
+ - spec/cassettes/can_success_update_bong_a_list.yml
234
+ - spec/cassettes/can_success_update_bong_a_list_with_specific_fields.yml
235
+ - spec/cassettes/can_success_update_bong_a_organization.yml
236
+ - spec/cassettes/can_success_update_bong_a_webhook.yml
237
+ - spec/cassettes/can_upvote_on_a_card.yml
238
+ - spec/cassettes/card_find_with_id_and_get_all_fields.yml
239
+ - spec/cassettes/card_find_with_id_and_get_specific_fields.yml
240
+ - spec/cassettes/checklist_can_add_an_item.yml
241
+ - spec/cassettes/checklist_can_update_the_item_state.yml
242
+ - spec/cassettes/checklist_find_with_id_and_get_all_fields.yml
243
+ - spec/cassettes/comment_delete.yml
244
+ - spec/cassettes/comment_find_with_id.yml
245
+ - spec/cassettes/custom_field_find_with_id_and_get_all_fields.yml
246
+ - spec/cassettes/custom_field_find_with_id_and_get_specific_fields.yml
247
+ - spec/cassettes/custom_field_item_save_1.yml
248
+ - spec/cassettes/custom_field_item_save_2.yml
249
+ - spec/cassettes/custom_field_option_find_with_id.yml
250
+ - spec/cassettes/get_board_of_card.yml
251
+ - spec/cassettes/get_board_of_list.yml
252
+ - spec/cassettes/get_boards_of_member.yml
253
+ - spec/cassettes/get_check_item_states_of_card.yml
254
+ - spec/cassettes/get_checklists_of_card.yml
255
+ - spec/cassettes/get_cover_image_of_card.yml
256
+ - spec/cassettes/get_custom_field_items_of_card.yml
257
+ - spec/cassettes/get_list_of_card.yml
258
+ - spec/cassettes/get_lists.yml
259
+ - spec/cassettes/get_members_of_card.yml
260
+ - spec/cassettes/get_plugin_data_of_card.yml
261
+ - spec/cassettes/get_voters_of_card.yml
262
+ - spec/cassettes/label_delete.yml
263
+ - spec/cassettes/label_find_with_id.yml
264
+ - spec/cassettes/list_find_with_id_and_get_all_fields.yml
265
+ - spec/cassettes/list_find_with_id_and_get_specific_fields.yml
266
+ - spec/cassettes/member_find_with_id_and_get_all_fields.yml
267
+ - spec/cassettes/member_find_with_id_and_get_specific_fields.yml
268
+ - spec/cassettes/notification_find_with_id.yml
269
+ - spec/cassettes/organization_find_with_id_and_get_all_fields.yml
270
+ - spec/cassettes/organization_find_with_id_and_get_specific_fields.yml
271
+ - spec/cassettes/remove_upvote_on_a_card_when_have_not_voted.yml
272
+ - spec/cassettes/revote_on_a_card.yml
273
+ - spec/cassettes/token_find_with_token_string.yml
274
+ - spec/cassettes/webhook_delete.yml
275
+ - spec/cassettes/webhook_find_with_id.yml
134
276
  - spec/checklist_spec.rb
135
277
  - spec/client_spec.rb
136
278
  - spec/configuration_spec.rb
@@ -138,9 +280,113 @@ files:
138
280
  - spec/custom_field_option_spec.rb
139
281
  - spec/custom_field_spec.rb
140
282
  - spec/hash_spec.rb
283
+ - spec/integration/action/find_spec.rb
284
+ - spec/integration/basic_data/many_spec.rb
285
+ - spec/integration/basic_data/one_spec.rb
286
+ - spec/integration/basic_data/schema_spec.rb
287
+ - spec/integration/board/add_member_spec.rb
288
+ - spec/integration/board/all_spec.rb
289
+ - spec/integration/board/associations/actions_spec.rb
290
+ - spec/integration/board/associations/cards_spec.rb
291
+ - spec/integration/board/associations/checklists_spec.rb
292
+ - spec/integration/board/associations/custom_fields_spec.rb
293
+ - spec/integration/board/associations/label_names_spec.rb
294
+ - spec/integration/board/associations/labels_spec.rb
295
+ - spec/integration/board/associations/lists_spec.rb
296
+ - spec/integration/board/associations/members_spec.rb
297
+ - spec/integration/board/associations/organization_spec.rb
298
+ - spec/integration/board/associations/plugin_data_spec.rb
299
+ - spec/integration/board/create_spec.rb
300
+ - spec/integration/board/find_card_spec.rb
301
+ - spec/integration/board/find_spec.rb
302
+ - spec/integration/board/remove_member_spec.rb
303
+ - spec/integration/board/save_spec.rb
304
+ - spec/integration/board/update!_spec.rb
305
+ - spec/integration/board_lists_spec.rb
306
+ - spec/integration/card/add_and_remove_attachment_spec.rb
307
+ - spec/integration/card/add_and_remove_label_spec.rb
308
+ - spec/integration/card/add_checklist_spec.rb
309
+ - spec/integration/card/add_comment_spec.rb
310
+ - spec/integration/card/add_memeber_spec.rb
311
+ - spec/integration/card/associations/actions_spec.rb
312
+ - spec/integration/card/associations/attachments_spec.rb
313
+ - spec/integration/card/associations/board_spec.rb
314
+ - spec/integration/card/associations/check_item_states_spec.rb
315
+ - spec/integration/card/associations/checklists_spec.rb
316
+ - spec/integration/card/associations/comments_spec.rb
317
+ - spec/integration/card/associations/cover_image_spec.rb
318
+ - spec/integration/card/associations/custom_field_items_spec.rb
319
+ - spec/integration/card/associations/list_spec.rb
320
+ - spec/integration/card/associations/members_spec.rb
321
+ - spec/integration/card/associations/plugin_data_spec.rb
322
+ - spec/integration/card/associations/voters_spec.rb
323
+ - spec/integration/card/close!_spec.rb
324
+ - spec/integration/card/create_new_check_list_spec.rb
325
+ - spec/integration/card/create_spec.rb
326
+ - spec/integration/card/delete_spec.rb
327
+ - spec/integration/card/find_spec.rb
328
+ - spec/integration/card/move_to_board_spec.rb
329
+ - spec/integration/card/move_to_list_spec.rb
330
+ - spec/integration/card/remove_member_spec.rb
331
+ - spec/integration/card/save_spec.rb
332
+ - spec/integration/card/update!_spec.rb
333
+ - spec/integration/card/vote_spec.rb
334
+ - spec/integration/checklist/add_item_spec.rb
335
+ - spec/integration/checklist/create_spec.rb
336
+ - spec/integration/checklist/delete_spec.rb
337
+ - spec/integration/checklist/find_spec.rb
338
+ - spec/integration/checklist/update!_spec.rb
339
+ - spec/integration/checklist/update_item_state_spec.rb
340
+ - spec/integration/comment/association/board_spec.rb
341
+ - spec/integration/comment/association/card_spec.rb
342
+ - spec/integration/comment/association/list_spec.rb
343
+ - spec/integration/comment/delete_spec.rb
344
+ - spec/integration/comment/find_spec.rb
345
+ - spec/integration/custom_field/association/board_spec.rb
346
+ - spec/integration/custom_field/association/custom_field_options_spec.rb
347
+ - spec/integration/custom_field/create_spec.rb
348
+ - spec/integration/custom_field/find_spec.rb
349
+ - spec/integration/custom_field/update!_spec.rb
350
+ - spec/integration/custom_field_item_spec.rb
351
+ - spec/integration/custom_field_option/create_spec.rb
352
+ - spec/integration/custom_field_option/delete_spec.rb
353
+ - spec/integration/custom_field_option/find_spec.rb
141
354
  - spec/integration/how_to_authorize_spec.rb
142
355
  - spec/integration/how_to_use_boards_spec.rb
143
356
  - spec/integration/integration_test.rb
357
+ - spec/integration/label/association/board_spec.rb
358
+ - spec/integration/label/create_spec.rb
359
+ - spec/integration/label/delete_spec.rb
360
+ - spec/integration/label/find_spec.rb
361
+ - spec/integration/label/update!_spec.rb
362
+ - spec/integration/list/archive_all_cards_spec.rb
363
+ - spec/integration/list/associations/actions_spec.rb
364
+ - spec/integration/list/associations/board_spec.rb
365
+ - spec/integration/list/associations/cards_spec.rb
366
+ - spec/integration/list/create_spec.rb
367
+ - spec/integration/list/find_spec.rb
368
+ - spec/integration/list/move_all_cards_spec.rb
369
+ - spec/integration/list/save_spec.rb
370
+ - spec/integration/list/update!_spec.rb
371
+ - spec/integration/member/associations/actions_spec.rb
372
+ - spec/integration/member/associations/boards_spec.rb
373
+ - spec/integration/member/associations/cards_spec.rb
374
+ - spec/integration/member/associations/notifications_spec.rb
375
+ - spec/integration/member/associations/organizations_spec.rb
376
+ - spec/integration/member/find_spec.rb
377
+ - spec/integration/member/update!_spec.rb
378
+ - spec/integration/notification/find_spec.rb
379
+ - spec/integration/organization/associations/actions_spec.rb
380
+ - spec/integration/organization/associations/boards_spec.rb
381
+ - spec/integration/organization/associations/members_spec.rb
382
+ - spec/integration/organization/create_spec.rb
383
+ - spec/integration/organization/find_spec.rb
384
+ - spec/integration/organization/update!_spec.rb
385
+ - spec/integration/token/find_spec.rb
386
+ - spec/integration/webhook/create_spec.rb
387
+ - spec/integration/webhook/delete_spec.rb
388
+ - spec/integration/webhook/find_spec.rb
389
+ - spec/integration/webhook/update!_spec.rb
144
390
  - spec/item_spec.rb
145
391
  - spec/json_utils_spec.rb
146
392
  - spec/label_spec.rb
@@ -153,12 +399,38 @@ files:
153
399
  - spec/string_spec.rb
154
400
  - spec/token_spec.rb
155
401
  - spec/trello_spec.rb
402
+ - spec/unit/trello/association_builder/has_many_spec.rb
403
+ - spec/unit/trello/association_builder/has_one_spec.rb
404
+ - spec/unit/trello/association_fetcher/has_many/fetch_spec.rb
405
+ - spec/unit/trello/association_fetcher/has_many/params_spec.rb
406
+ - spec/unit/trello/association_fetcher/has_many_spec.rb
407
+ - spec/unit/trello/association_fetcher/has_one/fetch_spec.rb
408
+ - spec/unit/trello/association_fetcher/has_one/params_spec.rb
409
+ - spec/unit/trello/association_fetcher/has_one_spec.rb
410
+ - spec/unit/trello/association_infer_tool_spec.rb
411
+ - spec/unit/trello/basic_data_spec.rb
412
+ - spec/unit/trello/board/new_spec.rb
413
+ - spec/unit/trello/board/save_spec.rb
414
+ - spec/unit/trello/board/update_fields_spec.rb
415
+ - spec/unit/trello/board/update_spec.rb
416
+ - spec/unit/trello/card_spec.rb
417
+ - spec/unit/trello/member/new_spec.rb
418
+ - spec/unit/trello/member/update_fields_spec.rb
419
+ - spec/unit/trello/schema/attribute/base_spec.rb
420
+ - spec/unit/trello/schema/attribute/board_pref_spec.rb
421
+ - spec/unit/trello/schema/attribute/default_spec.rb
422
+ - spec/unit/trello/schema/attribute_builder_spec.rb
423
+ - spec/unit/trello/schema/attribute_registration_spec.rb
424
+ - spec/unit/trello/schema/serializer/default_spec.rb
425
+ - spec/unit/trello/schema/serializer/time_spec.rb
426
+ - spec/unit/trello/schema_spec.rb
156
427
  - spec/webhook_spec.rb
157
428
  homepage: https://github.com/jeremytregunna/ruby-trello
158
429
  licenses:
159
430
  - MIT
160
- metadata: {}
161
- post_install_message:
431
+ metadata:
432
+ changelog_uri: https://github.com/jeremytregunna/ruby-trello/blob/master/CHANGELOG.md
433
+ post_install_message:
162
434
  rdoc_options:
163
435
  - "--charset=UTF-8"
164
436
  require_paths:
@@ -174,38 +446,289 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
446
  - !ruby/object:Gem::Version
175
447
  version: '0'
176
448
  requirements: []
177
- rubygems_version: 3.0.6
178
- signing_key:
449
+ rubygems_version: 3.2.3
450
+ signing_key:
179
451
  specification_version: 4
180
452
  summary: A wrapper around the trello.com API.
181
453
  test_files:
182
- - spec/json_utils_spec.rb
183
- - spec/item_spec.rb
184
- - spec/integration/how_to_use_boards_spec.rb
185
- - spec/integration/how_to_authorize_spec.rb
186
- - spec/integration/integration_test.rb
187
- - spec/string_spec.rb
188
- - spec/board_spec.rb
189
454
  - spec/action_spec.rb
455
+ - spec/array_spec.rb
190
456
  - spec/association_spec.rb
191
- - spec/notification_spec.rb
192
- - spec/trello_spec.rb
193
- - spec/hash_spec.rb
194
- - spec/webhook_spec.rb
195
- - spec/label_spec.rb
196
- - spec/custom_field_option_spec.rb
197
- - spec/custom_field_item_spec.rb
457
+ - spec/basic_auth_policy_spec.rb
458
+ - spec/basic_data_spec.rb
459
+ - spec/board_spec.rb
198
460
  - spec/card_spec.rb
199
- - spec/token_spec.rb
200
- - spec/custom_field_spec.rb
201
- - spec/organization_spec.rb
202
- - spec/configuration_spec.rb
203
- - spec/array_spec.rb
461
+ - spec/cassettes/action_find_with_id_and_get_all_fields.yml
462
+ - spec/cassettes/board_find_with_id_and_get_all_fields.yml
463
+ - spec/cassettes/board_find_with_id_and_get_specific_fields.yml
464
+ - spec/cassettes/can_add_a_file_from_url_on_a_card.yml
465
+ - spec/cassettes/can_add_a_file_on_a_card.yml
466
+ - spec/cassettes/can_add_a_member_to_a_board.yml
467
+ - spec/cassettes/can_add_a_member_to_a_card.yml
468
+ - spec/cassettes/can_add_label_on_a_card.yml
469
+ - spec/cassettes/can_arvhice_all_cards_of_list.yml
470
+ - spec/cassettes/can_close_bong_a_card.yml
471
+ - spec/cassettes/can_get_actions.yml
472
+ - spec/cassettes/can_get_actions_of_board.yml
473
+ - spec/cassettes/can_get_actions_of_list.yml
474
+ - spec/cassettes/can_get_actions_of_members.yml
475
+ - spec/cassettes/can_get_actions_of_organization.yml
476
+ - spec/cassettes/can_get_attachments.yml
477
+ - spec/cassettes/can_get_boards_of_custom_field.yml
478
+ - spec/cassettes/can_get_boards_of_label.yml
479
+ - spec/cassettes/can_get_boards_of_organization.yml
480
+ - spec/cassettes/can_get_cards_of_board.yml
481
+ - spec/cassettes/can_get_cards_of_list.yml
482
+ - spec/cassettes/can_get_cards_of_member.yml
483
+ - spec/cassettes/can_get_checklists_of_board.yml
484
+ - spec/cassettes/can_get_comments.yml
485
+ - spec/cassettes/can_get_comments_board.yml
486
+ - spec/cassettes/can_get_comments_card.yml
487
+ - spec/cassettes/can_get_comments_list.yml
488
+ - spec/cassettes/can_get_custom_field_options_of_custom_field.yml
489
+ - spec/cassettes/can_get_custom_fields_of_board.yml
490
+ - spec/cassettes/can_get_label_names_of_board.yml
491
+ - spec/cassettes/can_get_labels_of_board.yml
492
+ - spec/cassettes/can_get_lists_of_board.yml
493
+ - spec/cassettes/can_get_members_of_board.yml
494
+ - spec/cassettes/can_get_members_of_organization.yml
495
+ - spec/cassettes/can_get_notifications_of_member.yml
496
+ - spec/cassettes/can_get_organization_of_board.yml
497
+ - spec/cassettes/can_get_organizations_of_member.yml
498
+ - spec/cassettes/can_get_plugin_data_of_board.yml
499
+ - spec/cassettes/can_move_a_card_to_another_board_with_specific_list.yml
500
+ - spec/cassettes/can_move_a_card_to_another_board_without_specific_list.yml
501
+ - spec/cassettes/can_move_a_card_to_another_list.yml
502
+ - spec/cassettes/can_move_all_cards_to_another_list.yml
503
+ - spec/cassettes/can_remove_a_member_from_a_card.yml
504
+ - spec/cassettes/can_remove_an_attachment_on_a_card.yml
505
+ - spec/cassettes/can_remove_an_upvote_on_a_card.yml
506
+ - spec/cassettes/can_remove_label_on_a_card.yml
507
+ - spec/cassettes/can_success_add_comment_to_a_card.yml
508
+ - spec/cassettes/can_success_copy_checklist_to_a_card.yml
509
+ - spec/cassettes/can_success_copy_checklist_to_a_card_without_name_pos.yml
510
+ - spec/cassettes/can_success_create_a_board.yml
511
+ - spec/cassettes/can_success_create_a_board_with_full_parameters.yml
512
+ - spec/cassettes/can_success_create_a_board_without_clone_from_other.yml
513
+ - spec/cassettes/can_success_create_a_card.yml
514
+ - spec/cassettes/can_success_create_a_card_when_due_is_datetime.yml
515
+ - spec/cassettes/can_success_create_a_card_when_due_is_time.yml
516
+ - spec/cassettes/can_success_create_a_checklist.yml
517
+ - spec/cassettes/can_success_create_a_custom_field.yml
518
+ - spec/cassettes/can_success_create_a_custom_field_option.yml
519
+ - spec/cassettes/can_success_create_a_label.yml
520
+ - spec/cassettes/can_success_create_a_list.yml
521
+ - spec/cassettes/can_success_create_a_list_with_full_parameters.yml
522
+ - spec/cassettes/can_success_create_a_organization.yml
523
+ - spec/cassettes/can_success_create_a_webhook.yml
524
+ - spec/cassettes/can_success_create_new_checklist_to_a_card.yml
525
+ - spec/cassettes/can_success_delete_a_custom_field_option.yml
526
+ - spec/cassettes/can_success_delete_card.yml
527
+ - spec/cassettes/can_success_delete_checklist.yml
528
+ - spec/cassettes/can_success_get_card_of_board_by_card_id.yml
529
+ - spec/cassettes/can_success_remove_member_from_board.yml
530
+ - spec/cassettes/can_success_return_all_boards_of_current_user.yml
531
+ - spec/cassettes/can_success_upate_a_board.yml
532
+ - spec/cassettes/can_success_upate_a_card.yml
533
+ - spec/cassettes/can_success_upate_a_list.yml
534
+ - spec/cassettes/can_success_update_bong_a_board.yml
535
+ - spec/cassettes/can_success_update_bong_a_board_with_specific_fields.yml
536
+ - spec/cassettes/can_success_update_bong_a_card.yml
537
+ - spec/cassettes/can_success_update_bong_a_checklist_with_specific_fields.yml
538
+ - spec/cassettes/can_success_update_bong_a_custom_field.yml
539
+ - spec/cassettes/can_success_update_bong_a_label.yml
540
+ - spec/cassettes/can_success_update_bong_a_list.yml
541
+ - spec/cassettes/can_success_update_bong_a_list_with_specific_fields.yml
542
+ - spec/cassettes/can_success_update_bong_a_organization.yml
543
+ - spec/cassettes/can_success_update_bong_a_webhook.yml
544
+ - spec/cassettes/can_upvote_on_a_card.yml
545
+ - spec/cassettes/card_find_with_id_and_get_all_fields.yml
546
+ - spec/cassettes/card_find_with_id_and_get_specific_fields.yml
547
+ - spec/cassettes/checklist_can_add_an_item.yml
548
+ - spec/cassettes/checklist_can_update_the_item_state.yml
549
+ - spec/cassettes/checklist_find_with_id_and_get_all_fields.yml
550
+ - spec/cassettes/comment_delete.yml
551
+ - spec/cassettes/comment_find_with_id.yml
552
+ - spec/cassettes/custom_field_find_with_id_and_get_all_fields.yml
553
+ - spec/cassettes/custom_field_find_with_id_and_get_specific_fields.yml
554
+ - spec/cassettes/custom_field_item_save_1.yml
555
+ - spec/cassettes/custom_field_item_save_2.yml
556
+ - spec/cassettes/custom_field_option_find_with_id.yml
557
+ - spec/cassettes/get_board_of_card.yml
558
+ - spec/cassettes/get_board_of_list.yml
559
+ - spec/cassettes/get_boards_of_member.yml
560
+ - spec/cassettes/get_check_item_states_of_card.yml
561
+ - spec/cassettes/get_checklists_of_card.yml
562
+ - spec/cassettes/get_cover_image_of_card.yml
563
+ - spec/cassettes/get_custom_field_items_of_card.yml
564
+ - spec/cassettes/get_list_of_card.yml
565
+ - spec/cassettes/get_lists.yml
566
+ - spec/cassettes/get_members_of_card.yml
567
+ - spec/cassettes/get_plugin_data_of_card.yml
568
+ - spec/cassettes/get_voters_of_card.yml
569
+ - spec/cassettes/label_delete.yml
570
+ - spec/cassettes/label_find_with_id.yml
571
+ - spec/cassettes/list_find_with_id_and_get_all_fields.yml
572
+ - spec/cassettes/list_find_with_id_and_get_specific_fields.yml
573
+ - spec/cassettes/member_find_with_id_and_get_all_fields.yml
574
+ - spec/cassettes/member_find_with_id_and_get_specific_fields.yml
575
+ - spec/cassettes/notification_find_with_id.yml
576
+ - spec/cassettes/organization_find_with_id_and_get_all_fields.yml
577
+ - spec/cassettes/organization_find_with_id_and_get_specific_fields.yml
578
+ - spec/cassettes/remove_upvote_on_a_card_when_have_not_voted.yml
579
+ - spec/cassettes/revote_on_a_card.yml
580
+ - spec/cassettes/token_find_with_token_string.yml
581
+ - spec/cassettes/webhook_delete.yml
582
+ - spec/cassettes/webhook_find_with_id.yml
204
583
  - spec/checklist_spec.rb
205
- - spec/basic_auth_policy_spec.rb
584
+ - spec/client_spec.rb
585
+ - spec/configuration_spec.rb
586
+ - spec/custom_field_item_spec.rb
587
+ - spec/custom_field_option_spec.rb
588
+ - spec/custom_field_spec.rb
589
+ - spec/hash_spec.rb
590
+ - spec/integration/action/find_spec.rb
591
+ - spec/integration/basic_data/many_spec.rb
592
+ - spec/integration/basic_data/one_spec.rb
593
+ - spec/integration/basic_data/schema_spec.rb
594
+ - spec/integration/board/add_member_spec.rb
595
+ - spec/integration/board/all_spec.rb
596
+ - spec/integration/board/associations/actions_spec.rb
597
+ - spec/integration/board/associations/cards_spec.rb
598
+ - spec/integration/board/associations/checklists_spec.rb
599
+ - spec/integration/board/associations/custom_fields_spec.rb
600
+ - spec/integration/board/associations/label_names_spec.rb
601
+ - spec/integration/board/associations/labels_spec.rb
602
+ - spec/integration/board/associations/lists_spec.rb
603
+ - spec/integration/board/associations/members_spec.rb
604
+ - spec/integration/board/associations/organization_spec.rb
605
+ - spec/integration/board/associations/plugin_data_spec.rb
606
+ - spec/integration/board/create_spec.rb
607
+ - spec/integration/board/find_card_spec.rb
608
+ - spec/integration/board/find_spec.rb
609
+ - spec/integration/board/remove_member_spec.rb
610
+ - spec/integration/board/save_spec.rb
611
+ - spec/integration/board/update!_spec.rb
612
+ - spec/integration/board_lists_spec.rb
613
+ - spec/integration/card/add_and_remove_attachment_spec.rb
614
+ - spec/integration/card/add_and_remove_label_spec.rb
615
+ - spec/integration/card/add_checklist_spec.rb
616
+ - spec/integration/card/add_comment_spec.rb
617
+ - spec/integration/card/add_memeber_spec.rb
618
+ - spec/integration/card/associations/actions_spec.rb
619
+ - spec/integration/card/associations/attachments_spec.rb
620
+ - spec/integration/card/associations/board_spec.rb
621
+ - spec/integration/card/associations/check_item_states_spec.rb
622
+ - spec/integration/card/associations/checklists_spec.rb
623
+ - spec/integration/card/associations/comments_spec.rb
624
+ - spec/integration/card/associations/cover_image_spec.rb
625
+ - spec/integration/card/associations/custom_field_items_spec.rb
626
+ - spec/integration/card/associations/list_spec.rb
627
+ - spec/integration/card/associations/members_spec.rb
628
+ - spec/integration/card/associations/plugin_data_spec.rb
629
+ - spec/integration/card/associations/voters_spec.rb
630
+ - spec/integration/card/close!_spec.rb
631
+ - spec/integration/card/create_new_check_list_spec.rb
632
+ - spec/integration/card/create_spec.rb
633
+ - spec/integration/card/delete_spec.rb
634
+ - spec/integration/card/find_spec.rb
635
+ - spec/integration/card/move_to_board_spec.rb
636
+ - spec/integration/card/move_to_list_spec.rb
637
+ - spec/integration/card/remove_member_spec.rb
638
+ - spec/integration/card/save_spec.rb
639
+ - spec/integration/card/update!_spec.rb
640
+ - spec/integration/card/vote_spec.rb
641
+ - spec/integration/checklist/add_item_spec.rb
642
+ - spec/integration/checklist/create_spec.rb
643
+ - spec/integration/checklist/delete_spec.rb
644
+ - spec/integration/checklist/find_spec.rb
645
+ - spec/integration/checklist/update!_spec.rb
646
+ - spec/integration/checklist/update_item_state_spec.rb
647
+ - spec/integration/comment/association/board_spec.rb
648
+ - spec/integration/comment/association/card_spec.rb
649
+ - spec/integration/comment/association/list_spec.rb
650
+ - spec/integration/comment/delete_spec.rb
651
+ - spec/integration/comment/find_spec.rb
652
+ - spec/integration/custom_field/association/board_spec.rb
653
+ - spec/integration/custom_field/association/custom_field_options_spec.rb
654
+ - spec/integration/custom_field/create_spec.rb
655
+ - spec/integration/custom_field/find_spec.rb
656
+ - spec/integration/custom_field/update!_spec.rb
657
+ - spec/integration/custom_field_item_spec.rb
658
+ - spec/integration/custom_field_option/create_spec.rb
659
+ - spec/integration/custom_field_option/delete_spec.rb
660
+ - spec/integration/custom_field_option/find_spec.rb
661
+ - spec/integration/how_to_authorize_spec.rb
662
+ - spec/integration/how_to_use_boards_spec.rb
663
+ - spec/integration/integration_test.rb
664
+ - spec/integration/label/association/board_spec.rb
665
+ - spec/integration/label/create_spec.rb
666
+ - spec/integration/label/delete_spec.rb
667
+ - spec/integration/label/find_spec.rb
668
+ - spec/integration/label/update!_spec.rb
669
+ - spec/integration/list/archive_all_cards_spec.rb
670
+ - spec/integration/list/associations/actions_spec.rb
671
+ - spec/integration/list/associations/board_spec.rb
672
+ - spec/integration/list/associations/cards_spec.rb
673
+ - spec/integration/list/create_spec.rb
674
+ - spec/integration/list/find_spec.rb
675
+ - spec/integration/list/move_all_cards_spec.rb
676
+ - spec/integration/list/save_spec.rb
677
+ - spec/integration/list/update!_spec.rb
678
+ - spec/integration/member/associations/actions_spec.rb
679
+ - spec/integration/member/associations/boards_spec.rb
680
+ - spec/integration/member/associations/cards_spec.rb
681
+ - spec/integration/member/associations/notifications_spec.rb
682
+ - spec/integration/member/associations/organizations_spec.rb
683
+ - spec/integration/member/find_spec.rb
684
+ - spec/integration/member/update!_spec.rb
685
+ - spec/integration/notification/find_spec.rb
686
+ - spec/integration/organization/associations/actions_spec.rb
687
+ - spec/integration/organization/associations/boards_spec.rb
688
+ - spec/integration/organization/associations/members_spec.rb
689
+ - spec/integration/organization/create_spec.rb
690
+ - spec/integration/organization/find_spec.rb
691
+ - spec/integration/organization/update!_spec.rb
692
+ - spec/integration/token/find_spec.rb
693
+ - spec/integration/webhook/create_spec.rb
694
+ - spec/integration/webhook/delete_spec.rb
695
+ - spec/integration/webhook/find_spec.rb
696
+ - spec/integration/webhook/update!_spec.rb
697
+ - spec/item_spec.rb
698
+ - spec/json_utils_spec.rb
699
+ - spec/label_spec.rb
700
+ - spec/list_spec.rb
701
+ - spec/member_spec.rb
702
+ - spec/notification_spec.rb
206
703
  - spec/oauth_policy_spec.rb
704
+ - spec/organization_spec.rb
207
705
  - spec/spec_helper.rb
208
- - spec/member_spec.rb
209
- - spec/basic_data_spec.rb
210
- - spec/list_spec.rb
211
- - spec/client_spec.rb
706
+ - spec/string_spec.rb
707
+ - spec/token_spec.rb
708
+ - spec/trello_spec.rb
709
+ - spec/unit/trello/association_builder/has_many_spec.rb
710
+ - spec/unit/trello/association_builder/has_one_spec.rb
711
+ - spec/unit/trello/association_fetcher/has_many/fetch_spec.rb
712
+ - spec/unit/trello/association_fetcher/has_many/params_spec.rb
713
+ - spec/unit/trello/association_fetcher/has_many_spec.rb
714
+ - spec/unit/trello/association_fetcher/has_one/fetch_spec.rb
715
+ - spec/unit/trello/association_fetcher/has_one/params_spec.rb
716
+ - spec/unit/trello/association_fetcher/has_one_spec.rb
717
+ - spec/unit/trello/association_infer_tool_spec.rb
718
+ - spec/unit/trello/basic_data_spec.rb
719
+ - spec/unit/trello/board/new_spec.rb
720
+ - spec/unit/trello/board/save_spec.rb
721
+ - spec/unit/trello/board/update_fields_spec.rb
722
+ - spec/unit/trello/board/update_spec.rb
723
+ - spec/unit/trello/card_spec.rb
724
+ - spec/unit/trello/member/new_spec.rb
725
+ - spec/unit/trello/member/update_fields_spec.rb
726
+ - spec/unit/trello/schema/attribute/base_spec.rb
727
+ - spec/unit/trello/schema/attribute/board_pref_spec.rb
728
+ - spec/unit/trello/schema/attribute/default_spec.rb
729
+ - spec/unit/trello/schema/attribute_builder_spec.rb
730
+ - spec/unit/trello/schema/attribute_registration_spec.rb
731
+ - spec/unit/trello/schema/serializer/default_spec.rb
732
+ - spec/unit/trello/schema/serializer/time_spec.rb
733
+ - spec/unit/trello/schema_spec.rb
734
+ - spec/webhook_spec.rb