{"id":16808906,"url":"https://github.com/timakin/sprint-rails","last_synced_at":"2025-06-25T02:37:14.552Z","repository":{"id":31104477,"uuid":"34663804","full_name":"timakin/sprint-rails","owner":"timakin","description":"Module to integrate Sprint.js to Ruby on Rails Asset Pipeline.","archived":false,"fork":false,"pushed_at":"2015-04-28T07:08:58.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T17:32:45.239Z","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/timakin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-04-27T11:55:52.000Z","updated_at":"2015-04-28T07:06:35.000Z","dependencies_parsed_at":"2022-09-08T20:52:30.417Z","dependency_job_id":null,"html_url":"https://github.com/timakin/sprint-rails","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/timakin/sprint-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsprint-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsprint-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsprint-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsprint-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timakin","download_url":"https://codeload.github.com/timakin/sprint-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsprint-rails/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261792184,"owners_count":23210270,"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-10-13T10:00:18.209Z","updated_at":"2025-06-25T02:37:14.388Z","avatar_url":"https://github.com/timakin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sprint-rails\n===============\n\nIntegrate [Sprint.js](https://github.com/bendc/sprint), a high-performance, minimal, and simple substitute of jQuery to Asset pipeline of your Rails App.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'sprint-rails'\n```\n\nAnd then execute:\n\n```\n$ bundle install\n```\n\nAfter that, you need to make sprint.js available on your pages. To do that, you can add it to your application.js file, like this:\n\n```\n//= require sprint\n```\n\n## Usage\n\nJust as same as jQuery, you can use like following. If you'd check in detail, visit [the original github repo of Sprint.js](https://github.com/bendc/sprint)\n\n*In original case, Sprint's syntax is like this:\n\n```\n$(\"div\").addClass(\"new\").append(\"\u003cp\u003eHi Sprint\u003c/p\u003e\");\n```\n\nBut if you try to integrate it with Rails or existing jQuery apps, you have to use \"Sprint\" instead of \"$\" like this:\n\n```\nSprint(\"div\").addClass(\"new\").append(\"\u003cp\u003eHi Sprint\u003c/p\u003e\");\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/sprint-rails/fork )\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fsprint-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimakin%2Fsprint-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fsprint-rails/lists"}