mailersend-ruby 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 968822d3ad903e00f17ed9f621a5aef8b44864b8ae978fe0a7add39c90d0b49c
4
- data.tar.gz: af1f6618fea59168f002e35e3dbf1fed804636d98232fa97b1d443573b45f20b
3
+ metadata.gz: 8d2a5a259ed13eecd19d5155d1f855449a03748539e621984630bf3ebc7a6777
4
+ data.tar.gz: ad67464ced57219f06f890506ed84bd20971bf718e50ec747c8a071982cc70b8
5
5
  SHA512:
6
- metadata.gz: 86652332997ef19fb218761ca2b9233442ce3637c031e96786e490d282e2757235ad56231d6450d2cd7a490a88b2cb5bf7e4749522a1f521b98d4060c42f076b
7
- data.tar.gz: 25bc20a08ff764455e0079b9d981752eb55369a0a9328ba1a366945dd3d574ea0f2d36d133ed8fa83d0f8344430bd4c70c0d3ad6c2a4a86e32ff0eb560f788f5
6
+ metadata.gz: d5f71355c8b3e35019be782a786939f5ba17a1b5af48df4e45062e767d5c0e378d2577ee80208969feb252d7024e3568a2f7dde03dc14b748441a9f7081f7335
7
+ data.tar.gz: 03dab0c147d37a97bb5b61c5f02002e0e539a540f24655e1a1e4280646e42f252ccd071b0dcc54c2cab44205539b6e8268010ae4dea36b527e3c55728174b41d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Released]
2
2
 
3
+ ## [2.0.1] - 2023-01-08
4
+
5
+ - Simple personalization removed
6
+
3
7
  ## [2.0.0] - 2023-12-18
4
8
 
5
9
  - *BREAKING CHANGE* - Please check the README file, MailerSend API token is now defined inside your application.
data/README.md CHANGED
@@ -12,7 +12,6 @@ MailerSend Ruby SDK
12
12
  - [Add CC, BCC recipients](#add-cc-bcc-recipients)
13
13
  - [Send a template-based email](#send-a-template-based-email)
14
14
  - [Advanced personalization](#advanced-personalization)
15
- - [Simple personalization](#simple-personalization)
16
15
  - [Bulk Email](#bulk-email)
17
16
  - [Send bulk email](#send-bulk-email)
18
17
  - [Get bulk email status](#get-bulk-email-status)
@@ -224,38 +223,6 @@ ms_email.add_personalization(personalization)
224
223
  ms_email.send
225
224
  ```
226
225
 
227
- ### Simple personalization
228
-
229
- ```ruby
230
- require "mailersend-ruby"
231
-
232
- ms_client = Mailersend::Client.new('your_mailersend_token')
233
-
234
- # Intialize the email class
235
- ms_email = Mailersend::Email.new(ms_client)
236
-
237
- # Add parameters
238
- ms_email.add_recipients("email" => "ron@parksandrec.com", "name" => "Ron")
239
- ms_email.add_from("email" => "april@parksandrec.com", "name" => "April")
240
- ms_email.add_subject("Time {$test}")
241
- ms_email.add_text("{$test} Time is money, money is power, power is pizza, and pizza is knowledge. Let's go.")
242
- ms_email.add_html("<b>{$test} Time is money, money is power, power is pizza, and pizza is knowledge. Let's go.</b>")
243
-
244
- variables = {
245
- email: 'ron@parksandrec.com',
246
- substitutions: [
247
- {
248
- var: 'test',
249
- value: 'Test Value'
250
- }
251
- ]
252
- }
253
-
254
- ms_email.add_variables(variables)
255
-
256
- ms_email.send
257
- ```
258
-
259
226
  ## Bulk Email
260
227
 
261
228
  ### Send bulk email
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailersend
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailersend-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojević
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubygems_version: 3.4.10
131
+ rubygems_version: 3.5.3
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: MailerSend's official Ruby SDK