Phrogz / NeatJSON

Pretty-print your JSON in Ruby, JS, or Lua with more power than JSON.stringify or JSON.pretty_generate
http://phrogz.net/JS/NeatJSON
MIT License
108 stars 20 forks source link

neatjson Ruby gem does not include JavaScript version #19

Open synthead opened 8 years ago

synthead commented 8 years ago

In the neatjson gem on rubygems.org, you mention that it includes the JavaScript version, but the JavaScript version is not in the gem:

.
├── lib
│   └── neatjson.rb
├── LICENSE.txt
├── neatjson.gemspec
├── README.md
├── test
│   ├── large.json
│   ├── test_neatjson.js
│   ├── test_neatjson.rb
│   ├── tests.js
│   └── tests.rb
└── .yardopts

It'd probably be appropriate to move the javascript/ directory to vendor/assets/javascripts/ and recursively include the vendor/ directory in your gemspec. Here's an example from highlight_js-rails4 if it helps.

synthead commented 8 years ago

Just sent you a pull request for this :+1: