This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source "https://rubygems.org" | |
| ruby "3.3.0" | |
| gem "activemodel" | |
| gem "activesupport" | |
| gem "sqlite3" | |
| gem "pry" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| admin, foo, bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem 'sidekiq' | |
| gem 'redis' | |
| gem 'email_validator', require: 'email_validator/strict' | |
| gem 'bcrypt' | |
| gem 'friendly_id' | |
| gem "tailwindcss-rails" | |
| gem_group :development, :test do | |
| gem 'pry-rails' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'test/unit' | |
| # implementation | |
| class Duration | |
| def in_seconds(raw_duration) | |
| match = raw_duration.match(/PT(?:([0-9]*)H)*(?:([0-9]*)M)*(?:([0-9.]*)S)*/) | |
| hours = match[1].to_i | |
| minutes = match[2].to_i | |
| seconds = match[3].to_f | |
| seconds + (60 * minutes) + (60 * 60 * hours) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def update | |
| # | |
| # TODO: explore why location details errors appear order-dependent | |
| # and unable to run in the error path | |
| # | |
| if setting_location_without_location_details? | |
| handle_blank_location_error | |
| elsif ProfileUpdating.execute(profile, permitted_params) | |
| handle_successful_profile_update | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query = "course" | |
| original = { | |
| "en"=>{ | |
| "courses"=>"Courses", | |
| "layouts"=>{ | |
| "navigation"=>{ | |
| "desktop"=>{ | |
| "browse_courses"=>"Browse Courses", | |
| "this_one"=>false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .orig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [rerere] | |
| enabled = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [branch] | |
| autosetuprebase = always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [merge] | |
| tool = vscode | |
| [mergetool "vscode"] | |
| cmd = code --wait $MERGED | |
| [mergetool] | |
| keepBackup = false |
NewerOlder