Repository navigation
Releases: hidakatsuya/flexdot
Release list
v3.4.0
What's Changed
- Add support for Ruby 3.2 and more by @hidakatsuya in #5
- Drop ruby2.7 support and test against ruby3.3 by @hidakatsuya in #6
New Contributors
- @hidakatsuya made their first contribution in #5
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
Added the ability to automatically delete old backups. This feature can be enabled by specifying the number of backups to keep in the keep_max_backup_count option as follows:
# Rakefile
Flexdot.setup(
# ...
keep_max_backup_count: 10
)Full Changelog: v3.2.0...v3.3.0
v3.2.0
Minor Enhancements
The output result is now colorized. This can be disabled with the output_colorize option.
# Rakefile
Flexdot.setup(
home_dir: '..',
+ output_colorize: false
)v3.1.0
Minor Changes
- Do not create an empty backup directory
v3.0.0
Breaking Changes
Revert 'Add default_index option #2'. Please follow the instructions below to migrate:
First, modify your Rakefile as follows:
require 'flexdot'
Flexdot.setup(
+ home_dir: '..'
- home_dir: '..',
- default_index: 'macOS'
)
+ task default: 'install:macOS'Then, update flexdot:
$ bundle update flexdot
Now you can run the following command to install the default index dotfiles:
$ rake
v2.0.0
Migrating from v1.0.x
First, you need to rewrite the Rakefile configuration to the v2.0.0 syntax.
# v1.0.x
Flexdot.install_tasks(
target_dir: '/home/username',
base_dir: '.'
)# v2.0.0
Flexdot.setup(
home_dir: '/home/username',
dotfiles_dir: '.'
)Note that If the dotfiles_dir option is '.' (current directory) , you can omit it.
Then, update flexdot to v2.0.0 and you're done.
$ bundle update flexdot
Breaking Changes
- Change the syntax of configuration in the
Rakefile
Enchancements
- Add
default_indexoption fixes #2 - Option renaming and simplification by default value
Please refer to README.md for more details.
v1.0.2
Changed the package publishing host to rubygems.org from GitHub Packages.