mailersend-ruby 0.2.1 → 0.2.2

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: 98b4051caac7b675422e4a75cbd0c80009568212ce7164bc21df55b91960b79f
4
- data.tar.gz: 97534d566796c7a78be2345c710e555b71a8e31140e7f7c09c500c46674eef4b
3
+ metadata.gz: b1130525f8f2ea4df2038ccb1908e3265acb93a7538482cd4b9b9b78ad90a4a3
4
+ data.tar.gz: e024cab7481bd43dd8af528d582d20dad811e2df7c101b95fc4873cbc97889ce
5
5
  SHA512:
6
- metadata.gz: c07160b40cc910448207d48f6796a6cea6e581ea985611be55e4e8dc11784279f876270be132922d24ef6e20e1a9093a99f6d1b6098344d8f5bec9d843efb016
7
- data.tar.gz: f8cbbb7f0dbc1c20073ba13389bb0cf1d190083f2ee89931421d8e9cd8009d4ed9bfcbb1b15bbd865ba8e38806a93f44607f4584216c3f8a88a689c4a37bb406
6
+ metadata.gz: 275e9f001aab7aa838b1f3bc159887c3d80b83f250dcbc23e564a4b1334f1583aa4f4db7d8841b1335af5e24d10d8b0b768ad19dba7da21e4d2cc52b192b91b1
7
+ data.tar.gz: a1b30ef5befce3517a49cf62891dd46adfacd7c711f1b98815525cc70cd658cfda71150531a441a910c471c9996b5de42bd22b0b6a142422166c4a2ba8f9bf46
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ## [Released]
2
2
 
3
- ## [0.2.0] - 2021-08-04
3
+ ## [0.2.2] - 2021-08-04
4
+
5
+ - Removed leftover debugging stuff
6
+
7
+ ## [0.2.1] - 2021-08-04
4
8
 
5
9
  - Fixed email class so that it omits empty values
6
10
 
@@ -14,7 +14,7 @@ module Mailersend
14
14
 
15
15
  # Inits the client.
16
16
  class Client
17
- def initialize(api_token = ENV['API_TOKEN'])
17
+ def initialize(api_token = ENV['API_TOKEN'])
18
18
  @api_token = api_token
19
19
  end
20
20
 
@@ -111,7 +111,6 @@ module Mailersend
111
111
 
112
112
  response = client.http.post("#{API_URL}/email", json: message.delete_if { |_, value| value.to_s.strip == '' || value == [] || value == {} })
113
113
  puts response
114
- puts message
115
114
  puts response.status.code
116
115
  end
117
116
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailersend
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailersend-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojević