README.md in unleash-5.1.0 vs README.md in unleash-5.1.1
- old
+ new
@@ -46,11 +46,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'unleash', '~> 5.1.0'
+gem 'unleash', '~> 5.1.1'
```
And then execute:
$ bundle
@@ -424,10 +424,10 @@
Note: `if_enabled` (and `if_disabled`) only support `default_value`, but not `fallback_function`.
#### Variations
-If no variant is found in the server, use the fallback variant.
+If no flag is found in the server, use the fallback variant.
```ruby
fallback_variant = Unleash::Variant.new(name: 'default', enabled: true, payload: {"color" => "blue"})
variant = UNLEASH.get_variant "ColorVariants", @unleash_context, fallback_variant