- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
This file contains 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
module Middlewares | |
# Middleware which allows signing in by passing as=USER_ID in a query | |
# parameter. | |
# | |
# Designed to eliminate time in integration tests wasted by visiting and | |
# submitting the sign in form. | |
# | |
# This code snippet is heavily inspired by and based on the Toughtbot Clearance gem Backdoor | |
# For more details, see the source code here: | |
# https://github.com/thoughtbot/clearance/blob/main/lib/clearance/back_door.rb |
This file contains 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
days = {"2": "Seg", "3": "Ter", "4": "Qua", "5": "Qui", "6": "Sex", "7": "Sab"} | |
shift = {"m": "Manhã", "t": "Tarde", "n": "Noite"} | |
time = { | |
"m": { | |
"12": "06:00 às 08:00", | |
"34": "08:00 às 10:00", | |
"56": "10:00 às 12:00", | |
"3456": "08:00 às 12:00", | |
}, | |
"t": { |