README.md in prosopite-1.0.5 vs README.md in prosopite-1.0.6
- old
+ new
@@ -180,10 +180,16 @@
## Allow list
Ignore notifications for call stacks containing one or more substrings:
```ruby
-Prosopite.allow_list = ['substring_in_call_stack']
+Prosopite.allow_stack_paths = ['substring_in_call_stack']
+```
+
+Ignore notifications matching a specific SQL query:
+
+```ruby
+Prosopite.ignore_queries = [/regex_match/, "SELECT * from EXACT_STRING_MATCH"]
```
## Scanning code outside controllers or tests
All you have to do is to wrap the code with: