Skip to content

Commit 7caddda

Browse files
committed
RequestPattern not exported now
1 parent 580b5f1 commit 7caddda

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

‎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: 2.2.1.91
9+
Version: 2.2.1.92
1010
Authors@R: c(
1111
person("Scott", "Chamberlain", role = c("aut", "cre"), email =
1212
"[email protected]", comment = c(ORCID="0000-0003-1444-9135")),

‎NAMESPACE‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export("%>%")
77
export(CrulAdapter)
88
export(Httr2Adapter)
99
export(HttrAdapter)
10-
export(RequestPattern)
1110
export(RequestSignature)
1211
export(Response)
1312
export(build_crul_response)

‎NEWS.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
webmockr (development version)
22
==============
33

4-
* Gains new function `request_registry_filter()` to filter requests that have matched stubs. can be used to introspect requests made during tests, or outside of tests (#145)
4+
* `RequestPattern` is no longer exported (#145)
5+
* Gains new function `request_registry_filter()` to filter requests that have matched stubs. can be used to introspect requests made during tests, or outside of tests (#154)
56

67
webmockr 2.2.0
78
==============

‎R/RequestPattern.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' @title RequestPattern class
22
#' @description Class handling all request matchers
3-
#' @export
3+
#' @keywords internal
44
#' @seealso pattern classes for HTTP method [MethodPattern], headers
55
#' [HeadersPattern], body [BodyPattern], and URI/URL [UriPattern]
66
RequestPattern <- R6::R6Class(

‎_pkgdown.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,3 @@ reference:
4343
contents:
4444
- starts_with("last")
4545
- stub_body_diff
46-
- title: "Deprecated"
47-
contents:
48-
- RequestPattern
49-
50-

‎man/RequestPattern.Rd‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)