Releases: stephendolan/spark
Releases · stephendolan/spark
v1.15.0
What's Changed
- Move to generics to make more Question subclasses even easier by @stephendolan in #7
- Fix build error by @stephendolan in #8
- Bump crystal version to 1.4.1 by @stephendolan in #8
Full Changelog: v1.14.3...v1.15.0
v1.14.3
Fixes
- Remove need for local test self-require
v1.14.2
Fixes
- Change local self-require for testing to use GitHub repository instead of local
path
v1.14.1
Fixes
Spark::Template#run_remote_file
now cleans up theFile.tempfile
files that are created after execution.
v1.14.0
New Features
Spark::Template.run_local_file
- Run Crystal code from a local file source (USE WITH CAUTION)Spark::Template.run_remote_file
- Run Crystal code from a remote source (USE WITH CAUTION)- The Spark CLI is here!
./bin/spark apply [Remote Template URL]
- Runs the content returned from the provided URL throughcrystal run
./bin/spark apply --local [Local File Path]
- Runs the content of the provided file path through `crystal run
v1.13.0
New Features
Spark::File.chmod_file
allows you to modify the permissions of a file.
v1.12.0
New Features
Spark.indent
allows you to increase indentation of all Spark output by one level.Spark.outdent
allows you to decrease indentation of all Spark output by one level.Spark.reset_indentation
allows you to reset indentation of all spark output to zero.
Changes
- All
Spark::Prompt#log_action
output is indented by one additional level by default.
v1.11.2
New Features
Spark.quiet(&block)
allows you to run a single block of code in a silenced way for log output.
Changes
Spark::File.move_file
has more accurate log outputSpark::File.copy_file
has more accurate log output
v1.11.1
Fixes
Spark::Prompt#ask
now trims unnecessary whitespace from the beginning & end of answers.
v1.11.0
New Features
Spark::File.move_file
moves a file from a provided source path to a provided destination path.