canvas-lms/gems
Cody Cutrer 15ec75cf72 bundle update twilio-ruby
Change-Id: Ie725fc2227c014741c7ecb10f311b075996ac144
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/325309
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2023-08-16 12:22:00 +00:00
..
activesupport-suspend_callbacks bump rails 2023-08-11 17:42:20 +00:00
acts_as_list bundle update sqlite3 2023-08-15 20:20:26 +00:00
adheres_to_policy bump rails 2023-08-11 17:42:20 +00:00
attachment_fu Make s3_backend's full_filename able to handle nil filenames 2023-06-23 21:26:04 +00:00
autoextend bump rails 2023-08-11 17:42:20 +00:00
bookmarked_collection bundle update sqlite3 2023-08-15 20:20:26 +00:00
broadcast_policy bump rails 2023-08-11 17:42:20 +00:00
bundler_lockfile_extensions make sure to fully resolve secondary lockfiles when deps didn't match 2023-08-15 23:30:36 +00:00
canvas_breach_mitigation bump rails 2023-08-11 17:42:20 +00:00
canvas_cache bundle update inst_statsd 2023-08-15 20:19:00 +00:00
canvas_cassandra bump rails 2023-08-11 17:42:20 +00:00
canvas_color add `ruby` platform to lockfiles 2023-06-27 17:56:13 +00:00
canvas_crummy add `ruby` platform to lockfiles 2023-06-27 17:56:13 +00:00
canvas_dynamodb bundle update aws-partitions 2023-08-15 20:16:27 +00:00
canvas_errors bundle update code_ownership 2023-08-15 20:19:48 +00:00
canvas_ext bump rails 2023-08-11 17:42:20 +00:00
canvas_http bundle update mime-types-data 2023-08-15 20:16:15 +00:00
canvas_kaltura bundle update mime-types-data 2023-08-15 20:16:15 +00:00
canvas_mimetype_fu bump rspec-related gems 2023-08-07 20:13:45 +00:00
canvas_panda_pub bundle update mime-types-data 2023-08-15 20:16:15 +00:00
canvas_partman bump rails 2023-08-11 17:42:20 +00:00
canvas_quiz_statistics bump rails 2023-08-11 17:42:20 +00:00
canvas_sanitize bump sanitize 2023-08-10 17:54:22 +00:00
canvas_security bundle update diplomat 2023-08-15 23:31:13 +00:00
canvas_slug bump rspec-related gems 2023-08-07 20:13:45 +00:00
canvas_sort bump rspec-related gems 2023-08-07 20:13:45 +00:00
canvas_stringex bundle update sqlite3 2023-08-15 20:20:26 +00:00
canvas_text_helper bump rspec-related gems 2023-08-07 20:13:45 +00:00
canvas_time bundle update timecop 2023-08-15 20:16:56 +00:00
canvas_unzip bump rails 2023-08-11 17:42:20 +00:00
config_file bump rails 2023-08-11 17:42:20 +00:00
csv_diff bundle update sqlite3 2023-08-15 20:20:26 +00:00
diigo bump rspec-related gems 2023-08-07 20:13:45 +00:00
dr_diff bundle update sqlite3 2023-08-15 20:20:26 +00:00
dynamic_settings bundle update diplomat 2023-08-15 23:31:13 +00:00
event_stream bundle update sqlite3 2023-08-15 20:20:26 +00:00
google_drive bundle update twilio-ruby 2023-08-16 12:22:00 +00:00
html_text_helper bump rails 2023-08-11 17:42:20 +00:00
i18n_extraction bundle update rubocop 2023-08-14 16:32:06 +00:00
i18n_tasks bump rails 2023-08-11 17:42:20 +00:00
incoming_mail_processor bundle update code_ownership 2023-08-15 20:19:48 +00:00
json_token bump rspec-related gems 2023-08-07 20:13:45 +00:00
legacy_multipart bundle update mime-types-data 2023-08-15 20:16:15 +00:00
linked_in Revert "bundle update hashie" 2023-08-14 17:15:45 +00:00
live_events bundle update inst_statsd 2023-08-15 20:19:00 +00:00
lti-advantage bump rails 2023-08-11 17:42:20 +00:00
lti_outbound Revert "bundle update hashie" 2023-08-14 17:15:45 +00:00
paginated_collection bundle update sqlite3 2023-08-15 20:20:26 +00:00
plugins bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
request_context bundle update diplomat 2023-08-15 23:31:13 +00:00
rubocop-canvas bundle update rubocop 2023-08-14 16:32:06 +00:00
stringify_ids bump rspec-related gems 2023-08-07 20:13:45 +00:00
tatl_tael bundle update timecop 2023-08-15 20:16:56 +00:00
turnitin_api bundle update faraday 2023-08-15 21:56:26 +00:00
twitter Revert "bundle update hashie" 2023-08-14 17:15:45 +00:00
utf8_cleaner bump rspec-related gems 2023-08-07 20:13:45 +00:00
workflow bump rails 2023-08-11 17:42:20 +00:00
README.md Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
test_all_gems.sh remove broken vendored gems html reports 2021-06-15 16:53:17 +00:00

README.md

Gems

This folder is a place to extract modular functionality from canvas. Canvas's Gemfile arrangement is enabled to read gems from this path locally without installing from a remote source. This is valuable for a few reasons:

  • it prevents circular dependencies (bundler won't allow it)
  • modularized code cannot bind to specific domain concepts on canvas models
  • gems can have their specs run independently, without needing to load all of canvas, saving iteration time
  • it allows for eventual build optimization via only running specs for the transitive closure of parents depending on a gem where a change is.

There are some tradeoffs:

  • spreads canvas over more subdirectories, giving some mental overhad to traversing the entire codebase.
  • modular tests necessarily don't test integration with canvas concepts, so solid integration tests in the app are still a requirement.
  • total SERIALIZED build time goes up because each gem loads it's specs in a new process rather than all running within an already booted canvas process.

[TODO] eventually write more on whether we feel like those tradeoffs are good ones, and what the best practices are to leverage this pattern for max-gain/min-pain.

Testing

To test all the gems:

cd gems
./test_all_gems.sh

To test an individual gem

Run ./test.sh inside the gem's folder. This is basically the same as:

cd gems/google_drive
bundle
rspec