{"id":19016990,"url":"https://github.com/alchaplinsky/polymer-elements-rails","last_synced_at":"2025-04-23T02:47:39.713Z","repository":{"id":33662804,"uuid":"37315397","full_name":"alchaplinsky/polymer-elements-rails","owner":"alchaplinsky","description":"Polymer elements for Rails","archived":false,"fork":false,"pushed_at":"2017-03-17T02:00:23.000Z","size":3822,"stargazers_count":39,"open_issues_count":11,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-23T02:47:32.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://elements.polymer-project.org/","language":"JavaScript","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/alchaplinsky.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-06-12T10:10:53.000Z","updated_at":"2021-01-02T16:28:49.000Z","dependencies_parsed_at":"2022-07-25T19:02:33.352Z","dependency_job_id":null,"html_url":"https://github.com/alchaplinsky/polymer-elements-rails","commit_stats":null,"previous_names":["alchapone/polymer-elements-rails"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fpolymer-elements-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fpolymer-elements-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fpolymer-elements-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fpolymer-elements-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alchaplinsky","download_url":"https://codeload.github.com/alchaplinsky/polymer-elements-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360251,"owners_count":21417717,"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-08T19:45:26.743Z","updated_at":"2025-04-23T02:47:39.688Z","avatar_url":"https://github.com/alchaplinsky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polymer::Elements::Rails\n\nPolymer elements are a set of webcomponents [https://elements.polymer-project.org/](https://elements.polymer-project.org/) developed to use them with Polymer.\n\nPolymer-elements-rails gem helps you to bring polymer elements into your Rails project.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'polymer-elements-rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install polymer-elements-rails\n\n## Usage\n\nIn order to use Polymer elements you need to have [polymer](https://www.polymer-project.org/1.0/) installed in your project. Use [polymer-rails](https://github.com/alchapone/polymer-rails) gem for adding polymer to your Rails application.\n\nAdd this to your `Gemfile`:\n\n```\n  gem 'polymer-rails'\n  gem 'polymer-elements-rails'\n```\n\nAfter running bundle install require needed paper elements into your `application.html` manifest file.\n\n```\n  //= require polymer/polymer\n  //= require paper-button/paper-button\n```\n\nEach component should be required only once. Thus if you've already required component that has dependencies, you don't need to explicitly require any of dependencies, otherwise it will raise exception.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/polymer-elements-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%2Falchaplinsky%2Fpolymer-elements-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchaplinsky%2Fpolymer-elements-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Fpolymer-elements-rails/lists"}