Skip to content

Commit 4e8cc16

Browse files
Release blastula 0.3.2 (#210)
* Update DESCRIPTION and NEWS.md * Remove links from NEWS.md * Update test-integration.R * Fix unit test * Update .travis.yml * Update .travis.yml Co-authored-by: Joe Cheng <joe@rstudio.com>
1 parent 23e760e commit 4e8cc16

4 files changed

Lines changed: 18 additions & 16 deletions

File tree

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,16 @@ jobs:
2828
- stage: deploy
2929
name: covr
3030
r: release
31-
r_binary_packages:
32-
- covr
3331
script:
32+
- Rscript -e "remotes::install_cran('covr')"
3433
- Rscript -e "covr::codecov()"
3534

3635
- stage: deploy
3736
name: pkgdown
3837
r: release
3938
if: branch IN (master, travis) AND repo = rich-iannone/blastula AND type = push
4039
script:
41-
- Rscript -e "remotes::install_cran(c('pkgdown', 'devtools'))"
40+
- Rscript -e "remotes::install_cran(c('pkgdown', 'devtools', 'covr')"
4241
- Rscript -e "devtools::install()"
4342
- Rscript -e "Sys.setenv(FULLNAME = 'Richard Iannone'); pkgdown::build_site()"
4443
- Rscript -e "remove.packages(devtools::as.package('.')$package)"

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: blastula
33
Title: Easily Send HTML Email Messages
4-
Version: 0.3.1.9001
4+
Version: 0.3.2
55
Authors@R: c(
66
person("Richard", "Iannone", role = c("aut", "cre"), email = "riannone@me.com",
77
comment = c(ORCID = "0000-0003-3925-190X")),

NEWS.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# blastula (development version)
1+
# blastula 0.3.2
22

3-
* Added the `creds_envvar()` credential helper function, which allows for SMTP password input via an environment variable. [#159](https://github.com/rich-iannone/blastula/pull/159)
3+
* Email content width is now customizable in the `blastula_email()` and `compose_email()` functions. The default width is now increased to 1000px (#178).
44

5-
* Fixed incorrect rendering in Outlook, due to wrong line endings used for quoted-printable encoding. Thanks @jdbarillas for identifying the source of the issue! [#153](https://github.com/rich-iannone/blastula/pull/153)
5+
* Added the `delete_credential_key()` and `delete_all_credential_keys()` functions for better management of credential keys added to the system key-value store by the `create_smtp_creds_key()` function (#173).
66

7-
* Fixed Unicode issues on Windows. [#154](https://github.com/rich-iannone/blastula/pull/154)
7+
* Added the `creds_envvar()` credential helper function, which allows for SMTP password input via an environment variable (#159).
8+
9+
* Fixed incorrect rendering in Outlook, due to wrong line endings used for quoted-printable encoding (thanks @jdbarillas for identifying the source of the issue in #153).
10+
11+
* Fixed Unicode issues on Windows (#154).
812

913
* Fixed buggy internal logic for decoding numeric HTML entities that represent non-ASCII characters.
1014

tests/testthat/test-integration.R

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ test_that("Email that uses all compose features", {
1818
),
1919
# Work around the fact that ggplot2 doesn't render exactly the same
2020
# on different platforms
21-
if (Sys.info()["sysname"] == "Linux") {
22-
# On Linux, actually do the thing, to make sure this logic gets tested
23-
# somewhere at least (and Linux is ideal because it's where we have
24-
# the most CI coverage).
25-
add_ggplot(ggplot(cars, aes(speed, dist)) + geom_point() + ggtitle("A Plot"))
26-
} else {
27-
add_image(test_path("ggplot.png"), alt = "A Plot", width = 500)
28-
}
21+
# 2020-05-08: We can't ever call add_ggplot directly because even on
22+
# Linux-only we were seeing differences between Joe's desktop and travis
23+
# add_ggplot(ggplot(cars, aes(speed, dist)) + geom_point() + ggtitle("A Plot"))
24+
add_image(test_path("ggplot.png"), alt = "A Plot", width = 500)
2925
)
3026
)),
3127
block_text(md(
@@ -94,5 +90,8 @@ test_that("Email that uses all compose features", {
9490
# that contain \r\n
9591
eml_raw <- gsub("\r\n", "\n", eml_raw)
9692

93+
# cat("\n")
94+
# cat(eml_raw)
95+
9796
snapshot(eml_raw, print = cat)
9897
})

0 commit comments

Comments
 (0)