[ruby-talk:444794] [ANN] flay 2.14.4 Released
Ruby Mailing List Mirror [Unofficial]
April 14, 2026
flay version 2.14.4 has been released!
- home: <http://ruby.sadi.st/>
- code: <https://github.com/seattlerb/flay>
- rdoc: <http://docs.seattlerb.org/flay/>
Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad.
Features/Problems:
- Reports differences at any level of code.
- Adds a score multiplier to identical nodes.
- Differences in literal values, variable, class, and method names are ignored.
- Differences in whitespace, programming style, braces vs do/end, etc are ignored.
- Works across files.
- Add the flay-persistent plugin to work across large/many projects.
- Run --diff to see an N-way diff of the code.
- Provides conservative (default) and --liberal pruning options.
- Provides --fuzzy duplication detection.
- Language independent: Plugin system allows other languages to be flayed.
- Ships with .rb and .erb.
- javascript and others will be available separately.
- Includes FlayTask for Rakefiles.
- Uses path_expander, so you can use:
- dir_arg -- expand a directory automatically
- @file_of_args -- persist arguments in a file
- -path_to_subtract -- ignore intersecting subsets of files/directories
- Skips files matched via patterns in .flayignore (subset format of .gitignore).
- Totally rad.
Changes:
2.14.4 / 2026-04-14
2 bug fixes:
Fix Sexp#[] to return empty sexp if indicies run off the end. (slbug)
Loosened dependency on ruby2ruby to catch up and drop ruby_parser.
··· (click for more details)
Discussion in the ATmosphere