-
-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle sample rate type incompatibilities (#2036)
* cast sample rate values to float * valid_sample_rate? soft fail * specs * check the sample rate's type instead of the methods it supports Co-authored-by: Stan Lo <stan001212@gmail.com> * raise ArgumentError unless Numeric/nil * remove context, more cases Co-authored-by: Stan Lo <stan001212@gmail.com> * profiles_sample_rate: more test cases * CHANGELOG entry --------- Co-authored-by: Stan Lo <stan001212@gmail.com>
- Loading branch information
Showing
3 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters