NeatJSON icon indicating copy to clipboard operation
NeatJSON copied to clipboard

neatjson Ruby gem does not include JavaScript version

Open synthead opened this issue 9 years ago • 1 comments
trafficstars

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 avatar May 15 '16 21:05 synthead

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

synthead avatar May 15 '16 22:05 synthead