request_handler 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +12 -0
- data/lib/request_handler/version.rb +1 -1
- data/lib/request_handler.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b3530f39b336a119b6c37b07c9e4a4cfef1033
|
4
|
+
data.tar.gz: b54120aaaf4c7934d4726b052405e7129a5cb68d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0da96498795ecef95acfa1b4136b580e77155755ed9db531fa5e172ee6a464698a7a9c7c5d496ad361b60d5473cbbdb0a148d4056c4c2ba236baa177a5ad95cc
|
7
|
+
data.tar.gz: 5226d3a8ba5d4dbb3dfff3cc354b644f03d176f3ba7f0084180072fde33a7f912e65ab713c74e8942292f48e1f2d9a8bd653ec53d15abd52b02e7ad7686f3706
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -147,6 +147,18 @@ include_options = [:posts__comments]
|
|
147
147
|
sort_options = SortOption.new(:posts__published_on, :asc)
|
148
148
|
```
|
149
149
|
|
150
|
+
### Configuration
|
151
|
+
|
152
|
+
The default logger and separator can be changed globally by using
|
153
|
+
`RequestHandler.configure {}`.
|
154
|
+
|
155
|
+
```ruby
|
156
|
+
RequestHandler.configure do
|
157
|
+
logger Logger.new(STDERR)
|
158
|
+
separator '____'
|
159
|
+
end
|
160
|
+
```
|
161
|
+
|
150
162
|
### Caveats
|
151
163
|
|
152
164
|
It is currently expected that _url_ parameter are already parsed and included in
|
data/lib/request_handler.rb
CHANGED