Categories: None [Edit]

diffable_yaml

https://rubygems.org/gems/diffable_yaml
https://github.com/nrser/DiffableYAML
this is a little chunck of code i use to dump Ruby objects to YAML with Hash keys in a some-what consistent order. i do this because i often find myself using YAML files as data storage and this makes it a lot easier to compare versions with text-based diff toolspec. this lib is horribly alpha and has no tests what-so-ever. i'm sure it's as full or bugs and bad ideas as 100 lines of code can be. i just put it here so it's easier for me to use across projectspec. but you're welcome to take it for a spin too if you really want. this relies on Psych internals, so it has a dependency on pysch ~> 2.0. it might work fine with other versions; that's just all i've tested it against at the moment.

Total

Ranking: 115,532 of 195,762
Downloads: 6,567

Daily

Ranking: 75,382 of 195,747
Downloads: 2

Depended by

RankDownloadsName
40,91531,376state_mate

Depends on

RankDownloadsName
13,629,697,366bundler
81,384,293,602rake
291,006,320,288rspec
224234,720,658psych
17,131115,336nrser

Owners

#GravatarHandle
1iconnrser