{"id":21285495,"url":"https://github.com/takeyuweb/paperclip-atompub","last_synced_at":"2025-06-11T16:07:15.130Z","repository":{"id":56887379,"uuid":"6592932","full_name":"takeyuweb/paperclip-atompub","owner":"takeyuweb","description":"Adds Atompub Media Resource strage support for the Paperclip","archived":false,"fork":false,"pushed_at":"2024-11-01T08:47:44.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T04:46:48.702Z","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/takeyuweb.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-08T07:49:37.000Z","updated_at":"2024-11-01T08:47:48.000Z","dependencies_parsed_at":"2022-08-20T16:00:14.126Z","dependency_job_id":null,"html_url":"https://github.com/takeyuweb/paperclip-atompub","commit_stats":null,"previous_names":["uzuki05/paperclip-atompub"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/takeyuweb/paperclip-atompub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Fpaperclip-atompub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Fpaperclip-atompub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Fpaperclip-atompub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Fpaperclip-atompub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takeyuweb","download_url":"https://codeload.github.com/takeyuweb/paperclip-atompub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Fpaperclip-atompub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259293283,"owners_count":22835575,"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-21T11:20:45.061Z","updated_at":"2025-06-11T16:07:15.111Z","avatar_url":"https://github.com/takeyuweb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Paperclip Atompub Storage\n\n(Atompub Media Resource only.)\n\n== Installation\n\n  gem 'paperclip-atompub', '~\u003e 0.0.1'\n\n  bundle exec rake paperclip_atompub:install:migrations\n  bundle exec rake db:migrate\n\n== Usage\n\n=== Simple\n\n  class User \u003c ActiveRecord::Base\n    attr_accessible :name, :avatar\n    has_attached_file :avatar,\n      :storage =\u003e :atompub,\n      :atompub_config =\u003e {\n        :service_uri =\u003e 'http://atompub.host/atomsvc',\n        :media_collection_uri =\u003e 'http://atompub.host/resources'\n      },\n      :atompub_credentials =\u003e {\n        :username =\u003e 'USERNAME',\n        :password =\u003e 'PASSWORD'\n      },\n      :styles =\u003e { :medium =\u003e \"300x300\u003e\", :thumb =\u003e \"100x100\u003e\" }\n  end\n\n=== Dynamic Credentials\n\n  :atompub_credentials =\u003e lambda { |attachment|\n    user = attachment.instance # =\u003e #\u003cUser id:1\u003e\n    { :username =\u003e user.atompub_username, :password =\u003e user.atompub_password }\n  },\n\n== Contributing to paperclip-atompub\n\nFork, fix, then send me a pull request.\n\n== Copyright\n\nCopyright(c) 2012 Yuichi Takeuchi, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Fpaperclip-atompub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakeyuweb%2Fpaperclip-atompub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Fpaperclip-atompub/lists"}