{"id":29954997,"url":"https://github.com/foca/transporter","last_synced_at":"2025-09-02T00:39:30.408Z","repository":{"id":631996,"uuid":"272806","full_name":"foca/Transporter","owner":"foca","description":"Deliver packages in multiple ways simultaneously (email, jabber, campfire, irc, etc.)","archived":false,"fork":false,"pushed_at":"2009-08-10T22:21:06.000Z","size":76,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T17:17:59.137Z","etag":null,"topics":[],"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/foca.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-08-08T22:57:17.000Z","updated_at":"2024-02-05T21:14:57.000Z","dependencies_parsed_at":"2022-07-05T04:32:14.111Z","dependency_job_id":null,"html_url":"https://github.com/foca/Transporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foca/Transporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2FTransporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2FTransporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2FTransporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2FTransporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foca","download_url":"https://codeload.github.com/foca/Transporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2FTransporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273213953,"owners_count":25065059,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-03T17:09:08.290Z","updated_at":"2025-09-02T00:39:30.376Z","avatar_url":"https://github.com/foca.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Transporter\n\nDeliver packages in multiple ways simultaneously (email, jabber, campfire, irc,\netc.)\n\n== API\n\n    require \"transporter\"\n\n    module Transporter\n      class Email \u003c Service\n        validate_config do |config|\n          config.has_keys      :from, :to, :host, :user, :password, :port, :auth\n          config.key_is_one_of :auth, %w(plain auth some other)\n          [:to, :from].each do |key|\n            config.key_matches key,   /--some complicated email regexp--/\n          end\n        end\n\n        def deliver(message)\n          # Send your email\n          #\n          # In this method you have available `message.short` (usable for short\n          # messages such as twitter, or email subjects) and `message.full`\n          # usable for longer chunks of text, as an email body.\n          #\n          # And you have access to `config`, where all your pre-validated config\n          # values live (including default values set on the class, this hash is\n          # a merged representations of te two.\n        end\n      end\n\n      register :email, Email\n    end\n\n== How to use\n\nYou probably want one of the child projects of this one, where the different\nimplementations provide you with specific implementations. However, the way to\nuse this is as follows:\n\n    Transporter.deliver(\n      :message =\u003e {\n        :short =\u003e \"cuack!\",\n        :full =\u003e \"double cuack\" \n      },\n      :using =\u003e {\n        :email =\u003e {\n          :to =\u003e \"...\", :from =\u003e \"...\", ...\n        },\n        :jabber =\u003e {\n          :to =\u003e \"...\", :from =\u003e \"...\", ...\n        }\n      }\n\nWhere each key of the `:using` hash depends on what implementations you loaded.\n(`Transporter::Email`, `Transporter::Jabber`, etc). Refer to their specific\ndocumentations for the full list of configuration values in each.\n\nThe `:short` message is used in messages like twitter, IM, or as an email\nsubject. The `:full` message is used \n\n== List of implementations\n\n* Example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Ftransporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoca%2Ftransporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Ftransporter/lists"}