A simple tool to extract or read MessagePack files.
Add this line to your application's Gemfile:
gem 'rat_trap'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rat_trap
You can unpack your message pack file to a text file.
rat up <your_message_pack_file>.bin
It will create a new file called <your_message_pack_file>.bin.unpacked
Add what command you want to run against your message pack file. For example, if I want to use vim to open the unpacked file, I just need to run.
rat r vi <your_message_pack_file>.bin
- Fork it ( https://github.com/[my-github-username]/rat_trap/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request