An open API service indexing awesome lists of open source software.

https://github.com/cldwalker/psycho

Going psycho with syck to psych conversions? Let psycho handle this syck-psych-o-ness!
https://github.com/cldwalker/psycho

Last synced: 14 days ago
JSON representation

Going psycho with syck to psych conversions? Let psycho handle this syck-psych-o-ness!

Awesome Lists containing this project

README

          

Description
===========

Going psycho with syck to psych conversions? Let psycho handle this syck-psych-o-ness!

Usage
=====

# I know, I'm the only one who still uses rip
$ rip install git://github.com/cldwalker/psycho.git

# If somebody actually wants this as a gem, let me know
# $ gem install psycho

# Before
$ ruby-1.9.3-p0 -ryaml -e 'p YAML.load_file "some_file.yaml"'
$*#J$*##*#!!

$ pyscho some_file.yaml

# After
$ ruby-1.9.3-p0 -ryaml -e 'p YAML.load_file "some_file.yaml"'
:)

Limitations
============

* Assumes you're converting from 1.9.2 to 1.9.3
* Assumes you use rvm for ruby versioning
* Assumes you want the last alphabetically sorted ruby version
* Don't like these assumptions? Pull request!

TODO
====
* Fix symbol keys getting converted to strings