{"id":18793462,"url":"https://github.com/sgerrand/chartjs-rails-gem","last_synced_at":"2025-12-29T00:30:11.760Z","repository":{"id":7517186,"uuid":"8867744","full_name":"sgerrand/chartjs-rails-gem","owner":"sgerrand","description":"A gem to automate using Chart.js with Rails","archived":false,"fork":false,"pushed_at":"2013-03-20T05:19:14.000Z","size":110,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T15:44:57.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgerrand.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-19T00:50:06.000Z","updated_at":"2014-03-03T22:57:28.000Z","dependencies_parsed_at":"2022-09-22T13:23:08.233Z","dependency_job_id":null,"html_url":"https://github.com/sgerrand/chartjs-rails-gem","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fchartjs-rails-gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fchartjs-rails-gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fchartjs-rails-gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgerrand%2Fchartjs-rails-gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgerrand","download_url":"https://codeload.github.com/sgerrand/chartjs-rails-gem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239718425,"owners_count":19685725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T21:25:00.718Z","updated_at":"2025-12-29T00:30:11.663Z","avatar_url":"https://github.com/sgerrand.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chartjs-rails\n\nChart.js! With Rails!\n\nThis gem provides:\n\n* Chart.js \n\n## Versions\n\nThe chartjs-rails gem will follow these version guidelines:\n\n\t\tpatch version bump = updates to chartjs-rails, and patch-level updates to Chart.js\n\t\tminor version bump = minor-level updates to Chart.js\n\t\tmajor version bump = major-level updates to Chart.js and updates to Rails which may be backwards-incompatible\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'chartjs-rails'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install chartjs-rails\n\n## Rails 3.1 or greater (with asset pipeline enabled)\n\nThe Chart.js files will be added to the asset pipeline and available for you to use. Add these lines to app/assets/javascripts/application.js:\n\n    //= require chart\n\n## Rails 3.0 (or greater with asset pipeline disabled)\n\nThis gem adds a single generator: chartjs:install. Running the generator will copy Chart.js to the public/javascripts directory.\n\nThis gem will also hook into the Rails configuration process, adding Chart.js to the javascript files included by the javascript_include_tag(:defaults) call. While this gem contains the minified and un-minified versions of Chart.js, only the minified versions will be included in the :defaults when Rails is run in production or test mode (un-minified versions will be included when Rails is run in development mode).\n\nTo invoke the generator, run:\n\n    rails generate chartjs:install #--ui to enable Chart.js\n\nYou're done!\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Acknowledgements\n\n* Nick Downie, for creating the [Chart.js](http://chartjs.org) library.\n* The [jquery-rails](https://github.com/rails/jquery-rail) gem developers for inspiration.\n\nCopyright [Sasha Gerrand](http://sgerrand.com), released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerrand%2Fchartjs-rails-gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgerrand%2Fchartjs-rails-gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgerrand%2Fchartjs-rails-gem/lists"}