Skip to content

Commit 478d80c

Browse files
committed
udpate news, cran comments, bump to v0.5 and update codemeta.json
1 parent 4d2930a commit 478d80c

4 files changed

Lines changed: 28 additions & 10 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description: Stubbing and setting expectations on 'HTTP' requests.
66
'HTTP' method, query parameters, request body, headers and
77
more. Can be used for unit tests or outside of a testing
88
context.
9-
Version: 0.4.9.9100
9+
Version: 0.5.0
1010
Authors@R: c(
1111
person("Scott", "Chamberlain", role = c("aut", "cre"), email =
1212
"myrmecocystus+r@gmail.com", comment = c(ORCID="0000-0003-1444-9135")),

NEWS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
webmockr 0.5.0
2+
==============
3+
4+
### NEW FEATURES
5+
6+
* `webmockr` now supports mocking writing to disk. TLDR: see `?mocking-disk-writing` to get started - That is, both of the major high level http clients in R, crul and httr, support writing directly to disk (rather than the user manually getting the http response and writing it to disk). supporting this required quite a bit of work, both in code and in thinking about how to support the various scenarios in which users can find themselves when dealing with writing to disk - Please get in touch if you have problems with this (#57) (#76)
7+
* gains `request_registry_clear()` method to easily clear all requests in the request registry (#75)
8+
9+
### MINOR IMPROVEMENTS
10+
11+
* better docs for R6 classes with R6 support in new roxygen2 version on cran (#77)
12+
* httr simple auth was being ignored - its now supported (simple auth with crul already worked) (#74)
13+
14+
### BUG FIXES
15+
16+
* fix to handle raw responses that can not be converted to character, such as images; needed due to issue https://github.com/ropensci/vcr/issues/112 (#72) (#73)
17+
18+
119
webmockr 0.4.0
220
==============
321

codemeta.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"codeRepository": "https://github.com/ropensci/webmockr",
1111
"issueTracker": "https://github.com/ropensci/webmockr/issues",
1212
"license": "https://spdx.org/licenses/MIT",
13-
"version": "0.4.0",
13+
"version": "0.5.0",
1414
"programmingLanguage": {
1515
"@type": "ComputerLanguage",
1616
"name": "R",
1717
"version": "3.6.1",
1818
"url": "https://r-project.org"
1919
},
20-
"runtimePlatform": "R version 3.6.1 Patched (2019-07-17 r76848)",
20+
"runtimePlatform": "R version 3.6.1 Patched (2019-09-23 r77210)",
2121
"provider": {
2222
"@id": "https://cran.r-project.org",
2323
"@type": "Organization",
@@ -47,7 +47,7 @@
4747
"@type": "SoftwareApplication",
4848
"identifier": "roxygen2",
4949
"name": "roxygen2",
50-
"version": ">= 6.1.1",
50+
"version": ">= 7.0.2",
5151
"provider": {
5252
"@id": "https://cran.r-project.org",
5353
"@type": "Organization",
@@ -198,12 +198,12 @@
198198
"applicationCategory": "Web",
199199
"isPartOf": "https://ropensci.org",
200200
"keywords": ["http", "https", "API", "web-services", "curl", "mock", "mocking", "fakeweb", "http-mocking", "testing", "testing-tools", "tdd", "rstats", "http-mock", "r", "r-package"],
201-
"contIntegration": "https://travis-ci.org/ropensci/webmockr",
202-
"developmentStatus": "active",
201+
"contIntegration": ["https://travis-ci.org/ropensci/webmockr", "https://ci.appveyor.com/project/sckott/webmockr", "https://codecov.io/gh/ropensci/webmockr"],
202+
"developmentStatus": "http://www.repostatus.org/#active",
203203
"releaseNotes": "https://github.com/ropensci/webmockr/blob/master/NEWS.md",
204204
"readme": "https://github.com/ropensci/webmockr/blob/master/README.md",
205-
"fileSize": "48.801KB",
206-
"relatedLink": "https://ropenscilabs.github.io/http-testing-book/",
205+
"fileSize": "58.28KB",
206+
"relatedLink": ["https://ropenscilabs.github.io/http-testing-book/", "https://books.ropensci.org/http-testing"],
207207
"funder": [
208208
{
209209
"@type": "Organization",

cran-comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
## Reverse dependencies
1212

13-
I have checked the 9 reverse dependencies, and the only problems was in a package archived on CRAN (HIBPwned). See (<https://github.com/ropensci/webmockr/tree/master/revdep>).
13+
I have checked the 8 reverse dependencies, and no problems were found. See (<https://github.com/ropensci/webmockr/tree/master/revdep>).
1414

1515
---
1616

17-
This version contains fixes for a few problems, and fixes link to documentation.
17+
This version adds a new function, gains ability to mock writing to disk, and some bug fixes.
1818

1919
Thanks!
2020
Scott Chamberlain

0 commit comments

Comments
 (0)