README.md in search_cop-1.1.0 vs README.md in search_cop-1.2.0
- old
+ new
@@ -1,8 +1,8 @@
# SearchCop
-[](http://travis-ci.org/mrkamel/search_cop)
+[](https://github.com/mrkamel/search_cop/actions?query=workflow%3Atest)
[](https://codeclimate.com/github/mrkamel/search_cop)
[](http://badge.fury.io/rb/search_cop)

@@ -325,9 +325,19 @@
such that SearchCop will omit the left most wildcard.
```ruby
User.search("admin")
# ... WHERE users.username LIKE 'admin%'
+```
+
+Similarly, you can disable the right wildcard as well:
+
+```ruby
+search_scope :search do
+ attributes :username
+
+ options :username, right_wildcard: false
+end
```
## Default operator
When you define multiple fields on a search scope, SearcCop will use