You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change WebValve.register to accept a class name instead of class (#35)
* change WebValve.register to accept a class name instead of class
rails 6 autoloading emits a deprecation warning for class loading during
app initialization. webvalve's register call is a culprit here, but it
doesn't have to be. this changeset makes it so that webvalve accepts a
stringified class name instead of a class and makes that all work
properly with the internals.
* update and correct changelog
* fix CI, update version and fix changelog
* add 2.6.1
Copy file name to clipboardexpand all lines: CHANGELOG.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,13 @@ and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/
9
9
### Added
10
10
### Removed
11
11
12
+
## [0.10.0] - 2019-09-23
13
+
### Changed
14
+
-`Webvalve.register` no longer accepts classes; you must provide class names as strings. Fixes a Rails 6 deprecation warning. (https://github.com/Betterment/webvalve/pull/35)
15
+
12
16
## [0.9.10] - 2019-09-09
13
17
### Changed
14
-
- rename `whitelist_url` to `allow_url` (https://github.com/Betterment/retail/pull/4424)
18
+
- rename `whitelist_url` to `allow_url` (https://github.com/Betterment/webvalve/pull/33)
15
19
16
20
## [0.9.9] - 2019-05-24
17
21
### Changed
@@ -34,7 +38,8 @@ and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/
34
38
### Changed
35
39
- WebMock 3+ support from @messanjah (https://github.com/Betterment/webvalve/pull/22)
WebMock::NetConnectNotAllowedError:RealHTTP connections are disabled. Unregisteredrequest:GEThttp://bank.dev/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
45
+
WebMock::NetConnectNotAllowedError:RealHTTP connections are disabled. Unregisteredrequest:GEThttp://bank.test/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
46
46
47
47
You can stub this request with the following snippet:
0 commit comments