From 385b410445aca8138ac90da4afad68f4886f6c66 Mon Sep 17 00:00:00 2001 From: Jarrett Lusso Date: Fri, 3 Jun 2022 08:30:57 -0400 Subject: [PATCH 1/2] Added rubygems version badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fb4e81f..23d279a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Emailable Ruby Library +[![Gem Version](https://badge.fury.io/rb/emailable.svg)](https://rubygems.org/gems/emailable) [![Build Status](https://app.travis-ci.com/emailable/emailable-ruby.svg)](https://app.travis-ci.com/emailable/emailable-ruby) [![Maintainability](https://api.codeclimate.com/v1/badges/e7eef54e491adec95e6d/maintainability)](https://codeclimate.com/github/emailable/emailable-ruby/maintainability) From d49b6d8de7821b818572a9485d80c19b6be5b98a Mon Sep 17 00:00:00 2001 From: evan berquist Date: Tue, 7 Jun 2022 16:34:50 -0400 Subject: [PATCH 2/2] added download_file accessor for batch status. bump version --- Gemfile.lock | 2 +- lib/emailable/resources/batch_status.rb | 2 +- lib/emailable/version.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7e856b6..0cc6a04 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - emailable (4.0.0) + emailable (4.0.1) GEM remote: https://rubygems.org/ diff --git a/lib/emailable/resources/batch_status.rb b/lib/emailable/resources/batch_status.rb index 0fd742a..b63dc4c 100644 --- a/lib/emailable/resources/batch_status.rb +++ b/lib/emailable/resources/batch_status.rb @@ -1,7 +1,7 @@ module Emailable class BatchStatus < APIResource attr_accessor :emails, :id, :message, :reason_counts, :total_counts, - :processed, :total + :processed, :total, :download_file def complete? message.include?('completed') diff --git a/lib/emailable/version.rb b/lib/emailable/version.rb index 9b3914d..930a9f5 100644 --- a/lib/emailable/version.rb +++ b/lib/emailable/version.rb @@ -1,3 +1,3 @@ module Emailable - VERSION = '4.0.0' + VERSION = '4.0.1' end