KLADR API JS client for Rails Asset Pipeline
JS client for KLADR API servise as jQuery plugin by @garakh packaged for Ruby on Rails asset pipeline.
Installation
Add this line to your application's Gemfile:
gem 'jquery-kladr-rails'
And then execute:
$ bundle
Add this line to app/assets/stylesheets/application.css
:
*= require jquery.kladr
Add this line to app/assets/javascripts/application.js
:
//= require jquery.kladr
Usage
See the original plugin README and official examples.
Contributing
- Fork it
- 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 new Pull Request
Version policy
This gem version number is in form of X.Y.Z.P, where X.Y.Z is a version of original plugin and P is a gem-specific patch level.