hash_syntax icon indicating copy to clipboard operation
hash_syntax copied to clipboard

Converts Ruby files to and from Ruby 1.9's Hash syntax

Results 5 hash_syntax issues
Sort by recently updated
recently updated
newest added

Seeing things like: ``` # encoding: utf-8 - fill_in "Blörg", :with => "hattboll" + fill_in "Blörg", :ith :"hattboll" ```

The specs were broken. This fixes them.

A Ruby file containing `:format =>:json` becomes `format::json`, which is not syntactically invalid but not the expected outcome. Ruby 1.9.3-p0, hash_syntax 1.0.0.

When I run hash_syntax I get somthing as below. Any idea what could be wrong? ``` bash /Users/chytreg/.rvm/rubies/ruby-1.9.2-p290-patched/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:143: warning: loading in progress, circular require considered harmful - /Users/chytreg/.rvm/rubies/ruby-1.9.2-p290-patched/lib/ruby/site_ruby/1.9.1/rubygems/version.rb from /Users/chytreg/.rvm/gems/ruby-1.9.2-p290-patched/bin/hash_syntax:18:in...