CHANGELOG.md in statsd-instrument-2.9.1 vs CHANGELOG.md in statsd-instrument-2.9.2
- old
+ new
@@ -6,9 +6,20 @@
### Unreleased changes
_Nothing yet_
+## Version 2.9.2
+
+- Allow providing a value as second positional argument to `assert_statsd_*`
+ methods, rather than as keyword argument. This matches the arguments to the
+ StatsD metric call.
+ ``` ruby
+ assert_statsd_increment('batch_size', 10) do
+ StatsD.increment('batch_size', 10)
+ end
+ ```
+
## Version 2.9.1
- The `VOID` object being returned by metric methods (e.g. `StatsD.increment`)
is now a subclass of `Object` rather than `BasicObject`, which means that
common methods will work as expected (`#class`, `#tap`).