RubyGems Navigation menu

flay 2.14.3

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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 2.14.3 March 23, 2026 (24KB)
  2. 2.14.2 January 07, 2026 (23KB)
  3. 2.14.1 December 21, 2025 (23KB)
  4. 2.14.0 December 11, 2025 (23KB)
  5. 2.13.3 May 22, 2024 (23KB)
全てのバージョンを表示(全36件)

Runtime依存関係 (4):

erubi ~> 1.10
path_expander ~> 2.0
prism ~> 1.7

Development依存関係 (4):

hoe ~> 4.6
minitest > 5.8
rdoc >= 6.0, < 8
ruby2ruby ~> 2.2.0

所有者:

プッシュ者:

作者:

  • Ryan Davis

SHA 256チェックサム:

=

シグネチャの有効期限:

January 07, 2026 - January 07, 2027

累計ダウンロード数 31,317,913

このバージョンのみ 1,755

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: