{"id":15566575,"url":"https://github.com/dalpo/carrierwave_globalize","last_synced_at":"2025-04-23T23:47:38.002Z","repository":{"id":56843304,"uuid":"62670556","full_name":"dalpo/carrierwave_globalize","owner":"dalpo","description":"Use Globalize to manage Carrierwave translated fields :gem:","archived":false,"fork":false,"pushed_at":"2018-10-15T09:33:15.000Z","size":32,"stargazers_count":10,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T23:47:31.205Z","etag":null,"topics":["asset","carrierwave","i18n","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","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/dalpo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-05T21:22:50.000Z","updated_at":"2024-04-12T08:38:28.000Z","dependencies_parsed_at":"2022-09-09T02:32:09.577Z","dependency_job_id":null,"html_url":"https://github.com/dalpo/carrierwave_globalize","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/dalpo%2Fcarrierwave_globalize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalpo%2Fcarrierwave_globalize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalpo%2Fcarrierwave_globalize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalpo%2Fcarrierwave_globalize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalpo","download_url":"https://codeload.github.com/dalpo/carrierwave_globalize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535084,"owners_count":21446505,"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":["asset","carrierwave","i18n","rails","ruby","ruby-on-rails"],"created_at":"2024-10-02T17:03:31.425Z","updated_at":"2025-04-23T23:47:37.980Z","avatar_url":"https://github.com/dalpo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carrierwave Globalize\n\n[![Gem Version](https://badge.fury.io/rb/carrierwave_globalize.svg)](https://badge.fury.io/rb/carrierwave_globalize) [![Code Climate](https://codeclimate.com/github/dalpo/carrierwave_globalize/badges/gpa.svg)](https://codeclimate.com/github/dalpo/carrierwave_globalize) [![Test Coverage](https://codeclimate.com/github/dalpo/carrierwave_globalize/badges/coverage.svg)](https://codeclimate.com/github/dalpo/carrierwave_globalize/coverage) [![Build Status](https://travis-ci.org/dalpo/carrierwave_globalize.svg?branch=master)](https://travis-ci.org/dalpo/carrierwave_globalize)\n\nUse Globalize to manage Carrierwave translated fields.\n\n**Disclaimer:** This is an early implementation and could contain some bugs.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'carrierwave_globalize', '~\u003e 0.2.0'\n```\n\nAnd then execute:\n\n    $ bundle install\n\n\n## Usage\n\nAfter the definition of your `Globalize` translated attributes, extend your model with the `CarrierwaveGlobalize` module and use the `mount_translated_uploader` class method to mount your carrierwave uploader.\n\n**Example:** Given an `Asset` model with a translated column `attachment`.\n\n```ruby\nclass Asset \u003c ApplicationRecord\n  extend CarrierwaveGlobalize\n\n  # Globalize translated attributes\n  translates :attachment\n\n  mount_translated_uploader :attachment, AttachmentUploader\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also 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`, which will 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\nBug reports and pull requests are welcome on GitHub at https://github.com/dalpo/carrierwave_globalize. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalpo%2Fcarrierwave_globalize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalpo%2Fcarrierwave_globalize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalpo%2Fcarrierwave_globalize/lists"}