README.md in authtrail-0.4.2 vs README.md in authtrail-0.4.3
- old
+ new
@@ -11,21 +11,21 @@
## Installation
Add this line to your application’s Gemfile:
```ruby
-gem 'authtrail'
+gem "authtrail"
```
To encrypt email and IP addresses with Lockbox, install [Lockbox](https://github.com/ankane/lockbox) and [Blind Index](https://github.com/ankane/blind_index) and run:
```sh
rails generate authtrail:install --encryption=lockbox
rails db:migrate
```
-To use Active Record encryption (Rails 7+, experimental, unreleased), run:
+To use Active Record encryption (Rails 7+, experimental), run:
```sh
rails generate authtrail:install --encryption=activerecord
rails db:migrate
```
@@ -116,11 +116,11 @@
AuthTrail uses [Geocoder](https://github.com/alexreisner/geocoder) for geocoding. We recommend configuring [local geocoding](#local-geocoding) or [load balancer geocoding](#load-balancer-geocoding) so IP addresses are not sent to a 3rd party service. If you do use a 3rd party service and adhere to GDPR, be sure to add it to your subprocessor list.
To enable geocoding, add this line to your application’s Gemfile:
```ruby
-gem 'geocoder'
+gem "geocoder"
```
And update `config/initializers/authtrail.rb`:
```ruby
@@ -136,11 +136,11 @@
### Local Geocoding
For privacy and performance, we recommend geocoding locally. Add this line to your application’s Gemfile:
```ruby
-gem 'maxminddb'
+gem "maxminddb"
```
For city-level geocoding, download the [GeoLite2 City database](https://dev.maxmind.com/geoip/geoip2/geolite2/) and create `config/initializers/geocoder.rb` with:
```ruby
@@ -219,10 +219,10 @@
1. Geocoding is now disabled by default (this was already the case for new installations with 0.3.0+). Check out the instructions for [how to enable it](#geocoding) (you may need to create `config/initializers/authtrail.rb`).
2. The `geocoder` gem is now an optional dependency. To use geocoding, add it to your Gemfile:
```ruby
- gem 'geocoder'
+ gem "geocoder"
```
### 0.2.0
To store latitude and longitude, create a migration with: