resent 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fbfd1edb4be897f7fe77eaa02c658eb4a5ca083ed976f9bb2082c7789b06da1
4
- data.tar.gz: b385b33d962146ec76a2ba05c8e6be04d9f66d48464fc1c91eb8c0b4d7e1c8cc
3
+ metadata.gz: 55a5ad3f56b77564042e33b59387a42011ccdce16ee8381bcdfaa29b909ab605
4
+ data.tar.gz: b60f8a33b21adbf65a9f7829fd695c3a51f38991cf6b4edff50987cdc7dda813
5
5
  SHA512:
6
- metadata.gz: 16eb3a25f7cb936e6371e3f1c145f338c5ff57fc9f9139293e694a91b7c7ba3bf7090ac8fe79413bc89b4c7da8969852295fe160c7b4b420c1113f78ed13241b
7
- data.tar.gz: 7bac532d26e0f7df65a82b4d9c679d92a6499392a0e5fe90604758d9d5aa289898388f91e4af23f110d8a50d4784b3ac79b24b1ccaf7ae4f8f8933680ffff3a1
6
+ metadata.gz: 68dbe8d75f37d2bd6c33be597a7efff198368e458c10e488188427d916af02230441b8a50b8e9b44d6ce2c771dd6bc4c08eeb707451b802e17f396057b0c6e1c
7
+ data.tar.gz: 430aef6786c993211c853b1544d39b8608e5f78b932899584eb7ddc215dd0127041ee823980150c874b517de64d27ce9ffb8ceba33185424ab2d4131ccf186d7
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p align="center">
2
2
  <img
3
3
  alt="Send emails with Ruby — Resent"
4
- src="https://raw.githubusercontent.com/resentmail/resent-ruby/main/assets/banner.jpg?v=0.1.1"
4
+ src="https://raw.githubusercontent.com/resentmail/resent-ruby/main/assets/banner.jpg?v=0.1.2"
5
5
  width="100%"
6
6
  />
7
7
  </p>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Resent
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resent
@@ -11,12 +11,26 @@ cert_chain: []
11
11
  date: 2026-07-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
- Official Ruby SDK for Resent transactional email.
14
+ Resent is the official Ruby client for resent.one — a transactional email API built for product and platform teams.
15
15
 
16
- gem install resent
17
- Then: Resent.new(ENV["RESENT_API_KEY"]).emails.send(...)
16
+ Install with: gem install resent (or add gem "resent" to your Gemfile).
17
+
18
+ Create an API key in the Resent dashboard, set RESENT_API_KEY, then send mail with a few lines of Ruby:
19
+
20
+ require "resent"
21
+ resent = Resent.new(ENV.fetch("RESENT_API_KEY"))
22
+ resent.emails.send(
23
+ from: "Acme <noreply@yourdomain.com>",
24
+ to: "you@example.com",
25
+ subject: "Hello World",
26
+ html: "<strong>It works!</strong>"
27
+ )
28
+
29
+ Uses only Ruby stdlib (Net::HTTP + JSON) — no extra runtime gems. Supports html and/or text bodies, plus cc, bcc, and reply_to.
18
30
 
19
31
  Docs: https://developers.resent.one/sdks/ruby
32
+ Dashboard: https://resent.one
33
+ Source: https://github.com/resentmail/resent-ruby
20
34
  email:
21
35
  - hello@resent.one
22
36
  executables: []
@@ -25,7 +39,6 @@ extra_rdoc_files: []
25
39
  files:
26
40
  - LICENSE
27
41
  - README.md
28
- - assets/banner-source.png
29
42
  - assets/banner.jpg
30
43
  - lib/resent.rb
31
44
  - lib/resent/client.rb
@@ -57,5 +70,5 @@ requirements: []
57
70
  rubygems_version: 3.0.3.1
58
71
  signing_key:
59
72
  specification_version: 4
60
- summary: Official Ruby SDK for Resent — send transactional email in a few lines
73
+ summary: Official Ruby SDK for Resent transactional email
61
74
  test_files: []
Binary file