Sha256: 8865f862dea152acef83defcee74b2070d405ba727d983a1f7fd8a7ab6993dc3

Contents?: true

Size: 1007 Bytes

Versions: 5

Compression:

Stored size: 1007 Bytes

Contents

# getaround_utils

Backend shared utility classes

## Railties

### GetaroundUtils::Railties::Lograge

Enables lograge (http logs) with favored default.
```
# config/application.rb
require 'getaround_utils/railties/lograge'
```

For more details, [read the spec](spec/getaround_utils/railties/lograge_spec.rb)

## Patches

### GetaroundUtils::Patches::KeyValueLogTags

Enables parse-able key-value tags in ActiveRecord::TaggedLogger
```
# config/application.rb
require 'getaround_utils/patches/key_value_log_tags'
GetaroundUtils::Patches::KeyValueLogTags.enable
```

For more details, [read the spec](spec/getaround_utils/patches/key_value_log_tags_spec.rb)

## Misc

### GetaroundUtils::LogFormatters::DeepKeyValue

This log formatter will serialize an object of any depth into a key-value string.
It supports basic scalars (ie: `Hash`,`Array`,`Numeric`,`String`) and will call "#inspect" for any other type.

For more details, [read the spec](spec/getaround_utils/log_formatters/deep_key_value_spec.rb)


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
getaround_utils-0.1.6 README.md
getaround_utils-0.1.5 README.md
getaround_utils-0.1.4 README.md
getaround_utils-0.1.3 README.md
getaround_utils-0.1.2 README.md