Permalink
Browse files

Updated readme for flay-haml. Added known plugins section.

[git-p4: depot-paths = "//src/flay/dev/": change = 8506]
  • Loading branch information...
1 parent b604c7c commit 8b7d1e0bd8dcfe5ba30967084e6f442fa0517b34 @zenspider zenspider committed May 8, 2013
Showing with 11 additions and 5 deletions.
  1. +11 −5 README.txt
View
@@ -22,10 +22,16 @@ braces vs do/end, etc are all ignored. Making this totally rad.
* 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.
+ * Ships with .rb and .erb.
+ * javascript and others will be available separately.
* Includes FlayTask for Rakefiles.
* Totally rad.
+== KNOWN EXTENSIONS:
+
+* flay-haml :: Flay your HAML source.
+* flay-persistence :: Persist results across runs. Great for multi-project analysis.
+
== TODO:
* Editor integration (emacs, textmate, other contributions welcome).
@@ -34,11 +40,11 @@ braces vs do/end, etc are all ignored. Making this totally rad.
% flay -v --diff ~/Work/svn/ruby/ruby_1_8/lib/cgi.rb
Processing /Users/ryan/Work/svn/ruby/ruby_1_8/lib/cgi.rb...
-
+
Matches found in :defn (mass = 184)
A: /Users/ryan/Work/svn/ruby/ruby_1_8/lib/cgi.rb:1470
B: /Users/ryan/Work/svn/ruby/ruby_1_8/lib/cgi.rb:1925
-
+
A: def checkbox_group(name = "", *values)
B: def radio_group(name = "", *values)
if name.kind_of?(Hash) then
@@ -60,11 +66,11 @@ braces vs do/end, etc are all ignored. Making this totally rad.
end
end.to_s
end
-
+
IDENTICAL Matches found in :for (mass*2 = 144)
A: /Users/ryan/Work/svn/ruby/ruby_1_8/lib/cgi.rb:2160
B: /Users/ryan/Work/svn/ruby/ruby_1_8/lib/cgi.rb:2217
-
+
for element in ["HTML", "BODY", "P", "DT", "DD", "LI", "OPTION", "THEAD", "TFOOT", "TBODY", "COLGROUP", "TR", "TH", "TD", "HEAD"] do
methods = (methods + ((" def #{element.downcase}(attributes = {})\n" + nO_element_def(element)) + " end\n"))
end

0 comments on commit 8b7d1e0

Please sign in to comment.