Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement →
Sign In

sendgrid-ruby

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendgrid-ruby - rubygems Package Compare versions

Comparing version
6.4.0
to
6.5.0
+10
.github/ISSUE_TEMPLATE/config.yml
contact_links:
- name: Twilio SendGrid Support
url: https://support.sendgrid.com
about: Get Support
- name: Stack Overflow
url: https://stackoverflow.com/questions/tagged/sendgrid-ruby+or+sendgrid+ruby
about: Ask questions on Stack Overflow
- name: Documentation
url: https://sendgrid.com/docs/for-developers/
about: View Reference Documentation
+14
-14
language: ruby
env:
- version=ruby:2.7
- version=ruby:2.6
- version=ruby:2.5
- version=ruby:2.4
- version=jruby:9.2
- version=ruby:2.7
- version=ruby:2.6
- version=ruby:2.5
- version=ruby:2.4
- version=jruby:9.2
gemfile:
- gemfiles/Sinatra_1.gemfile
- gemfiles/Sinatra_2.gemfile
script: make test-docker
- gemfiles/Sinatra_1.gemfile
- gemfiles/Sinatra_2.gemfile
script:
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin;
fi
- make test-docker
deploy:
provider: rubygems
api_key: $RUBYGEMS_API_KEY
api_key: "$RUBYGEMS_API_KEY"
gem: sendgrid-ruby

@@ -22,3 +23,2 @@ on:

condition: $version = ruby:2.4 && $BUNDLE_GEMFILE = *"gemfiles/Sinatra_1.gemfile"
notifications:

@@ -31,2 +31,2 @@ slack:

rooms:
- secure: QwoVrGveeA1bo/26fO2A+OQHmUX69NLaC214qd18C1Z8ztYMHkd05/9+k9HFb+PSdPkGLSeYOPWAKJUqJWB7HfGINNGpRGIPFcmfB7vhvvLFnhud/SAdQPRZ+SCeZPdpZcjpVRLYENKv259ucGPBCPFXh1HfJF92R0IrKeW5CII=
secure: oSeohwM+ernyiRYSRLpNlICk0wgj0lku3y5LuouJLRHs45tCAzLZLbgxsor18wCSJkmhfn2vg4Rn969VnskFuj70OhJSLBKL4UXBnR1Ji0ClpfJlGojcbY/5Z8N/eGDrvf5ofA0Jc+L/ut+oSCMXnstEGbx4wBpPTajHuRtvb34=
# Change Log
All notable changes to this project will be documented in this file.
[2021-08-11] Version 6.5.0
--------------------------
**Library - Feature**
- [PR #466](https://github.com/sendgrid/sendgrid-ruby/pull/466): Add From address to personalization. Thanks to [@grin](https://github.com/grin)!
[2021-02-10] Version 6.4.0

@@ -5,0 +11,0 @@ --------------------------

@@ -21,2 +21,3 @@ require 'sendgrid-ruby'

# rubocop:disable Metrics/AbcSize
def kitchen_sink

@@ -33,2 +34,5 @@ mail = SendGrid::Mail.new

personalization.add_bcc(Email.new(email: 'test6@example.com', name: 'Example User'))
# Note, the domain of the from email property specified in any personalization must
# match the domain of the from email property specified at root level
personalization.from = Email.new(email: 'alias@example.com', name: "My alias")
personalization.subject = 'Hello World from the Personalized Twilio SendGrid Ruby Library'

@@ -129,2 +133,3 @@ personalization.add_header(Header.new(key: 'X-Test', value: 'True'))

end
# rubocop:enable Metrics/AbcSize

@@ -131,0 +136,0 @@ def dynamic_template_data_hello_world

@@ -8,6 +8,7 @@ require 'json'

attr_accessor :send_at, :subject
attr_accessor :send_at, :subject, :from
def initialize
@tos = []
@from = nil
@ccs = []

@@ -63,2 +64,3 @@ @bccs = []

'to' => tos,
'from' => from,
'cc' => ccs,

@@ -65,0 +67,0 @@ 'bcc' => bccs,

module SendGrid
VERSION = '6.4.0'.freeze
VERSION = '6.5.0'.freeze
end

@@ -5,3 +5,2 @@ ![Twilio SendGrid Logo](twilio_sendgrid_logo.png)

[![Gem Version](https://badge.fury.io/rb/sendgrid-ruby.svg)](https://badge.fury.io/rb/sendgrid-ruby)
[![Email Notifications Badge](https://dx.sendgrid.com/badge/ruby)](https://dx.sendgrid.com/newsletter/ruby)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

@@ -8,0 +7,0 @@ [![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)

Sorry, the diff of this file is too big to display