-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
enhancementNew feature or requestNew feature or requestrubygemRuby code is affectedRuby code is affected
Description
Use more sophisticated logic to calculate free space remaining
Regarding code contributed by @jgfoster in #308
output = @backend.last_msg
puts output
i = output.index("leaving")
free_space = output[i + 8..-1].to_i
We need to do the following:
- Move the space calculation into the backend
- Specify the units (Bytes, kB, etc) in the messaging for the CLI option
- Use a more sophisticated regex match to extract the number value, and possibly add unit testing for that
- Report space requirements as a separate check from the compilation itself
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestrubygemRuby code is affectedRuby code is affected