Skip to content

Commit 74614ce

Browse files
authored
Merge pull request #347 from rstudio/v0.3.6-rc
Release blastula v0.3.6
2 parents 344fddb + bbb20b6 commit 74614ce

6 files changed

Lines changed: 25 additions & 4 deletions

File tree

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ man/figures/
1818
tests/testthat/test-add_readable_time.R
1919
tests/testthat/test-utils.R
2020
tests/testthat/test-html_manip.R
21+
tests/testthat/test-mime.R
22+
tests/testthat/test-credentials.R

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Type: Package
22
Package: blastula
3-
Version: 0.3.5.9000
3+
Version: 0.3.6
44
Title: Easily Send HTML Email Messages
55
Description: Compose and send out responsive HTML email messages that render
66
perfectly across a range of email clients and device sizes. Helper functions
@@ -51,7 +51,7 @@ Suggests:
5151
withr
5252
SystemRequirements: pandoc (>= 1.12.3) - http://pandoc.org
5353
Encoding: UTF-8
54-
RoxygenNote: 7.3.1
54+
RoxygenNote: 7.3.2
5555
Roxygen: list(markdown = TRUE)
5656
Config/testthat/edition: 3
5757
Language: en-US

NAMESPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Generated by roxygen2: do not edit by hand
22

33
S3method(format,blastula_creds)
4+
S3method(print,article)
45
S3method(print,blastula_creds)
56
S3method(print,blastula_message)
7+
S3method(write_mime,default)
8+
S3method(write_mime,mime_multipart)
9+
S3method(write_mime,mime_part)
610
export("%>%")
711
export(add_attachment)
812
export(add_cta_button)

NEWS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# blastula (development version)
1+
# blastula 0.3.6
2+
3+
* Fixed erroneous use of `sprintf()`. (#335, thanks @pabecer!)
4+
5+
* Updated full product name of Connect. (#334, thanks @aronatkins!)
6+
7+
* Updated several GHA workflows (#336). (#337)
28

39
# blastula 0.3.5
410

R/block_articles.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ article <- function(
7777
)
7878
}
7979

80-
# To allow articles to be snapshot tested using testthat::verify_output
80+
#' Allow articles to be snapshot tested using testthat::verify_output
81+
#'
82+
#' @noRd
83+
#' @export
8184
print.article <- function(x, ...) {
8285
print(x(NULL))
8386
}

R/mime.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ write_mime <- function(out, x) {
275275
UseMethod("write_mime", x)
276276
}
277277

278+
#' @noRd
279+
#' @export
278280
write_mime.mime_part <- function(out, x) {
279281
write_headers(out, x$headers)
280282

@@ -290,6 +292,8 @@ write_mime.mime_part <- function(out, x) {
290292
out(crlf)
291293
}
292294

295+
#' @noRd
296+
#' @export
293297
write_mime.mime_multipart <- function(out, x) {
294298

295299
# headers, body_parts, boundary, preamble, epilogue
@@ -306,6 +310,8 @@ write_mime.mime_multipart <- function(out, x) {
306310
out(x$epilogue)
307311
}
308312

313+
#' @noRd
314+
#' @export
309315
write_mime.default <- function(out, x) {
310316
stop("Not implemented for ", class(x))
311317
}

0 commit comments

Comments
 (0)