]> git.wincent.com - wikitext.git/commit
Apply some stylistic fixes
authorWincent Colaiuta <win@wincent.com>
Tue, 14 Jan 2014 01:58:42 +0000 (20:58 -0500)
committerWincent Colaiuta <win@wincent.com>
Tue, 14 Jan 2014 01:58:42 +0000 (20:58 -0500)
commit7585e14ba56843d2e61678d749e7ae9d6e3b54ac
tree7b347344eb114fd42c309512b3225342c8bb490e
parent49e1d214781372b8a4712f6ad7030b28f1f88b84
Apply some stylistic fixes

Included here:

  - add missing # on blank lines in license comments
  - switch to Ruby 1.9+ hash syntax (we dropped 1.8 support long ago)
  - uphold convention of commenting `end` lines for modules and classes
  - use parens around method param list declarations

Signed-off-by: Wincent Colaiuta <win@wincent.com>
50 files changed:
benchmarks/invalid_encoding.rb
benchmarks/markdown.rb
benchmarks/parsing.rb
benchmarks/tokenizing.rb
bin/wikitext
bin/wikitext_wrapper
lib/wikitext/haml_filter.rb
lib/wikitext/nil_class.rb
lib/wikitext/parser.rb
lib/wikitext/preprocess.rb
lib/wikitext/rails_template_handler.rb
lib/wikitext/string.rb
lib/wikitext/version.rb
spec/autolinking_spec.rb
spec/base_heading_level_spec.rb
spec/blockquote_spec.rb
spec/em_spec.rb
spec/encoding_spec.rb
spec/entity_spec.rb
spec/external_link_spec.rb
spec/fulltext_spec.rb
spec/h1_spec.rb
spec/h2_spec.rb
spec/h3_spec.rb
spec/h4_spec.rb
spec/h5_spec.rb
spec/h6_spec.rb
spec/img_spec.rb
spec/indentation_spec.rb
spec/integration_spec.rb
spec/internal_link_spec.rb
spec/line_endings_spec.rb
spec/link_encoding_spec.rb
spec/link_sanitizing_spec.rb
spec/nil_class_spec.rb
spec/nowiki_spec.rb
spec/p_spec.rb
spec/parser_spec.rb
spec/pre_spec.rb
spec/rails_spec.rb
spec/regressions_spec.rb
spec/spec_helper.rb
spec/string_spec.rb
spec/strong_em_spec.rb
spec/strong_spec.rb
spec/tokenizing_spec.rb
spec/tt_spec.rb
spec/ul_spec.rb
spec/version_spec.rb
spec/wikitext_spec.rb